From 4c1334fb69d5e9392e65c53e457b6694e5fa4483 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Thu, 9 Nov 2023 08:56:46 +1100 Subject: [PATCH] Record new version of Stripe requests --- .../saves_the_card_locally.yml | 96 ++++++------ ...t_intent_last_payment_error_as_message.yml | 146 +++++++++--------- ...s_payment_intent_id_and_does_not_raise.yml | 130 ++++++++-------- 3 files changed, 187 insertions(+), 185 deletions(-) rename spec/fixtures/vcr_cassettes/{Stripe-v10.0.0 => Stripe-v10.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 (75%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.0.0 => Stripe-v10.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml (81%) rename spec/fixtures/vcr_cassettes/{Stripe-v10.0.0 => Stripe-v10.1.0}/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml (78%) diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.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-v10.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 75% rename from spec/fixtures/vcr_cassettes/Stripe-v10.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-v10.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 47583d6d0e..5878deea2e 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.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-v10.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,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.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: @@ -16,10 +16,10 @@ http_interactions: Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:52:10 GMT + - Wed, 08 Nov 2023 21:53:49 GMT Content-Type: - application/json Content-Length: @@ -52,16 +52,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - 4b36e5b1-ee94-4ecc-8283-cfa0d9c96480 + - c4d99b66-fe74-488e-958e-69eca92c35be Original-Request: - - req_cDbJqfdlYZdbyU + - req_1hXs9SUU8IKjKg Request-Id: - - req_cDbJqfdlYZdbyU + - req_1hXs9SUU8IKjKg Stripe-Should-Retry: - 'false' Stripe-Version: @@ -76,10 +76,10 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "tok_1O9V5yKuuB1fWySnSeAtjOj4", + "id": "tok_1OAJh2KuuB1fWySnFuyE55Xo", "object": "token", "card": { - "id": "card_1O9V5yKuuB1fWySnWYC2TQys", + "id": "card_1OAJh2KuuB1fWySn1bi0QzS0", "object": "card", "address_city": null, "address_country": null, @@ -103,35 +103,35 @@ http_interactions: "tokenization_method": null, "wallet": null }, - "client_ip": "89.153.187.247", - "created": 1699285930, + "client_ip": "220.253.195.13", + "created": 1699480428, "livemode": false, "type": "card", "used": false } - recorded_at: Mon, 06 Nov 2023 15:52:10 GMT + recorded_at: Wed, 08 Nov 2023 21:53:49 GMT - request: method: post uri: https://api.stripe.com/v1/customers body: encoding: UTF-8 - string: email=maranda_kertzmann%40ferrystark.com&source=tok_1O9V5yKuuB1fWySnSeAtjOj4 + string: email=german_jerde%40kubschmeler.ca&source=tok_1OAJh2KuuB1fWySnFuyE55Xo headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cDbJqfdlYZdbyU","request_duration_ms":771}}' + - '{"last_request_metrics":{"request_id":"req_1hXs9SUU8IKjKg","request_duration_ms":747}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -144,11 +144,11 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:52:11 GMT + - Wed, 08 Nov 2023 21:53:50 GMT Content-Type: - application/json Content-Length: - - '671' + - '666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -164,16 +164,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - e0ba0c07-8278-4f20-9740-7c0a1ec6f77f + - e8aa29da-1d01-48db-9ba0-db2df6d51a04 Original-Request: - - req_PRTmtmWClmWQgz + - req_pdc1GBlN0NvenY Request-Id: - - req_PRTmtmWClmWQgz + - req_pdc1GBlN0NvenY Stripe-Should-Retry: - 'false' Stripe-Version: @@ -188,18 +188,18 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "cus_OxPvaW3mvLovLW", + "id": "cus_OyGDSPQMHTtArJ", "object": "customer", "address": null, "balance": 0, - "created": 1699285931, + "created": 1699480429, "currency": null, - "default_source": "card_1O9V5yKuuB1fWySnWYC2TQys", + "default_source": "card_1OAJh2KuuB1fWySn1bi0QzS0", "delinquent": false, "description": null, "discount": null, - "email": "maranda_kertzmann@ferrystark.com", - "invoice_prefix": "4AF66002", + "email": "german_jerde@kubschmeler.ca", + "invoice_prefix": "EE42E7FD", "invoice_settings": { "custom_fields": null, "default_payment_method": null, @@ -216,29 +216,29 @@ http_interactions: "tax_exempt": "none", "test_clock": null } - recorded_at: Mon, 06 Nov 2023 15:52:12 GMT + recorded_at: Wed, 08 Nov 2023 21:53:50 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_OxPvaW3mvLovLW/sources?limit=1&object=card + uri: https://api.stripe.com/v1/customers/cus_OyGDSPQMHTtArJ/sources?limit=1&object=card body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PRTmtmWClmWQgz","request_duration_ms":1057}}' + - '{"last_request_metrics":{"request_id":"req_pdc1GBlN0NvenY","request_duration_ms":1084}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -251,7 +251,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:52:12 GMT + - Wed, 08 Nov 2023 21:53:50 GMT Content-Type: - application/json Content-Length: @@ -271,13 +271,13 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers%2F%3Acustomer%2Fsources; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Request-Id: - - req_6VTyanKbPfjW7u + - req_TC9pbExmRgIvbf Stripe-Version: - '2023-10-16' Vary: @@ -293,7 +293,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1O9V5yKuuB1fWySnWYC2TQys", + "id": "card_1OAJh2KuuB1fWySn1bi0QzS0", "object": "card", "address_city": null, "address_country": null, @@ -305,7 +305,7 @@ http_interactions: "address_zip_check": null, "brand": "Visa", "country": "US", - "customer": "cus_OxPvaW3mvLovLW", + "customer": "cus_OyGDSPQMHTtArJ", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 9, @@ -320,7 +320,7 @@ http_interactions: } ], "has_more": false, - "url": "/v1/customers/cus_OxPvaW3mvLovLW/sources" + "url": "/v1/customers/cus_OyGDSPQMHTtArJ/sources" } - recorded_at: Mon, 06 Nov 2023 15:52:12 GMT + recorded_at: Wed, 08 Nov 2023 21:53:50 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml similarity index 81% rename from spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml index fc6fc8872a..b077322100 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_contains_an_error/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]=2034&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qjDkQl3stKfe1m","request_duration_ms":292}}' + - '{"last_request_metrics":{"request_id":"req_lDPJ62zgG8A9FL","request_duration_ms":372}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' 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, 06 Nov 2023 15:51:25 GMT + - Wed, 08 Nov 2023 21:53:53 GMT Content-Type: - application/json Content-Length: @@ -54,16 +54,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - 4fbac071-d4cb-477e-8790-e8ae12bc5941 + - 75a4ebeb-6038-4dad-b537-211f6f71b7f1 Original-Request: - - req_xooNPVYZPZwVf7 + - req_CXWU1cVDbwleGf Request-Id: - - req_xooNPVYZPZwVf7 + - req_CXWU1cVDbwleGf Stripe-Should-Retry: - 'false' Stripe-Version: @@ -78,7 +78,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1O9V5FKuuB1fWySnjblXM6DN", + "id": "pm_1OAJh7KuuB1fWySnzX7O7p6v", "object": "payment_method", "billing_details": { "address": { @@ -118,35 +118,35 @@ http_interactions: }, "wallet": null }, - "created": 1699285885, + "created": 1699480433, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 06 Nov 2023 15:51:25 GMT + recorded_at: Wed, 08 Nov 2023 21:53: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_1O9V5FKuuB1fWySnjblXM6DN&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OAJh7KuuB1fWySnzX7O7p6v&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xooNPVYZPZwVf7","request_duration_ms":502}}' + - '{"last_request_metrics":{"request_id":"req_CXWU1cVDbwleGf","request_duration_ms":504}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -159,7 +159,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:25 GMT + - Wed, 08 Nov 2023 21:53:54 GMT Content-Type: - application/json Content-Length: @@ -179,16 +179,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - d22ed50d-b847-4eae-9010-9e1e4b76a457 + - 7ce09a3a-1ae3-44bf-a4a1-b4892300bee8 Original-Request: - - req_QqdIxo9PkjL14D + - req_7vL6AMoApGaPOn Request-Id: - - req_QqdIxo9PkjL14D + - req_7vL6AMoApGaPOn Stripe-Should-Retry: - 'false' Stripe-Version: @@ -203,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3O9V5FKuuB1fWySn1NAfVNB3", + "id": "pi_3OAJh8KuuB1fWySn0KV6OR9K", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -217,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ", + "client_secret": "pi_3OAJh8KuuB1fWySn0KV6OR9K_secret_GwjdRrh93OZLch9K7bSGXthZQ", "confirmation_method": "automatic", - "created": 1699285885, + "created": 1699480434, "currency": "eur", "customer": null, "description": null, @@ -230,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1O9V5FKuuB1fWySnjblXM6DN", + "payment_method": "pm_1OAJh7KuuB1fWySnzX7O7p6v", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -255,29 +255,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 06 Nov 2023 15:51:25 GMT + recorded_at: Wed, 08 Nov 2023 21:53:54 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5FKuuB1fWySn1NAfVNB3/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OAJh8KuuB1fWySn0KV6OR9K/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QqdIxo9PkjL14D","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_7vL6AMoApGaPOn","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -290,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:27 GMT + - Wed, 08 Nov 2023 21:53:55 GMT Content-Type: - application/json Content-Length: @@ -310,17 +310,17 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Idempotency-Key: - - d4f5356f-c489-4071-92a0-14da3a986bdf + - f1ac8418-72c6-40a2-83a3-2e43b42f9338 Original-Request: - - req_Rp8e8zwOEKyM5j + - req_T5Mfbcixmq8B95 Request-Id: - - req_Rp8e8zwOEKyM5j + - req_T5Mfbcixmq8B95 Stripe-Should-Retry: - 'false' Stripe-Version: @@ -336,13 +336,13 @@ http_interactions: string: | { "error": { - "charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG", + "charge": "ch_3OAJh8KuuB1fWySn0ZBV99yj", "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_3O9V5FKuuB1fWySn1NAfVNB3", + "id": "pi_3OAJh8KuuB1fWySn0KV6OR9K", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -357,21 +357,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ", + "client_secret": "pi_3OAJh8KuuB1fWySn0KV6OR9K_secret_GwjdRrh93OZLch9K7bSGXthZQ", "confirmation_method": "automatic", - "created": 1699285885, + "created": 1699480434, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG", + "charge": "ch_3OAJh8KuuB1fWySn0ZBV99yj", "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_1O9V5FKuuB1fWySnjblXM6DN", + "id": "pm_1OAJh7KuuB1fWySnzX7O7p6v", "object": "payment_method", "billing_details": { "address": { @@ -411,7 +411,7 @@ http_interactions: }, "wallet": null }, - "created": 1699285885, + "created": 1699480433, "customer": null, "livemode": false, "metadata": { @@ -420,7 +420,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG", + "latest_charge": "ch_3OAJh8KuuB1fWySn0ZBV99yj", "livemode": false, "metadata": { }, @@ -452,7 +452,7 @@ http_interactions: "transfer_group": null }, "payment_method": { - "id": "pm_1O9V5FKuuB1fWySnjblXM6DN", + "id": "pm_1OAJh7KuuB1fWySnzX7O7p6v", "object": "payment_method", "billing_details": { "address": { @@ -492,40 +492,40 @@ http_interactions: }, "wallet": null }, - "created": 1699285885, + "created": 1699480433, "customer": null, "livemode": false, "metadata": { }, "type": "card" }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_Rp8e8zwOEKyM5j?t=1699285886", + "request_log_url": "https://dashboard.stripe.com/test/logs/req_T5Mfbcixmq8B95?t=1699480434", "type": "card_error" } } - recorded_at: Mon, 06 Nov 2023 15:51:27 GMT + recorded_at: Wed, 08 Nov 2023 21:53:55 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5FKuuB1fWySn1NAfVNB3 + uri: https://api.stripe.com/v1/payment_intents/pi_3OAJh8KuuB1fWySn0KV6OR9K body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QqdIxo9PkjL14D","request_duration_ms":406}}' + - '{"last_request_metrics":{"request_id":"req_7vL6AMoApGaPOn","request_duration_ms":481}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -538,7 +538,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:27 GMT + - Wed, 08 Nov 2023 21:53:55 GMT Content-Type: - application/json Content-Length: @@ -558,13 +558,13 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Request-Id: - - req_HAvin8KTnmcqUX + - req_oFg3Mxdsl0kbmA Stripe-Version: - '2023-10-16' Vary: @@ -577,7 +577,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3O9V5FKuuB1fWySn1NAfVNB3", + "id": "pi_3OAJh8KuuB1fWySn0KV6OR9K", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -591,21 +591,21 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ", + "client_secret": "pi_3OAJh8KuuB1fWySn0KV6OR9K_secret_GwjdRrh93OZLch9K7bSGXthZQ", "confirmation_method": "automatic", - "created": 1699285885, + "created": 1699480434, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": { - "charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG", + "charge": "ch_3OAJh8KuuB1fWySn0ZBV99yj", "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_1O9V5FKuuB1fWySnjblXM6DN", + "id": "pm_1OAJh7KuuB1fWySnzX7O7p6v", "object": "payment_method", "billing_details": { "address": { @@ -645,7 +645,7 @@ http_interactions: }, "wallet": null }, - "created": 1699285885, + "created": 1699480433, "customer": null, "livemode": false, "metadata": {}, @@ -653,7 +653,7 @@ http_interactions: }, "type": "card_error" }, - "latest_charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG", + "latest_charge": "ch_3OAJh8KuuB1fWySn0ZBV99yj", "livemode": false, "metadata": {}, "next_action": null, @@ -683,5 +683,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 06 Nov 2023 15:51:27 GMT + recorded_at: Wed, 08 Nov 2023 21:53:56 GMT recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml b/spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml similarity index 78% rename from spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml rename to spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml index 5ed1890197..38458b8c94 100644 --- a/spec/fixtures/vcr_cassettes/Stripe-v10.0.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml +++ b/spec/fixtures/vcr_cassettes/Stripe-v10.1.0/Stripe_PaymentIntentValidator/_call/when_payment_intent_is_valid/returns_payment_intent_id_and_does_not_raise.yml @@ -8,18 +8,20 @@ http_interactions: string: type=card&card[number]=4242424242424242&card[exp_month]=12&card[exp_year]=2034&card[cvc]=314 headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded + X-Stripe-Client-Telemetry: + - '{"last_request_metrics":{"request_id":"req_TC9pbExmRgIvbf","request_duration_ms":286}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -32,7 +34,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:21 GMT + - Wed, 08 Nov 2023 21:53:51 GMT Content-Type: - application/json Content-Length: @@ -52,16 +54,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - a2ef4e72-541e-437f-9f85-581df5c29259 + - 6fc875e5-de6b-4f25-b196-674293d7d70f Original-Request: - - req_lr8vrJIpZhmcYq + - req_DrCawewCGirS4u Request-Id: - - req_lr8vrJIpZhmcYq + - req_DrCawewCGirS4u Stripe-Should-Retry: - 'false' Stripe-Version: @@ -76,7 +78,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pm_1O9V5BKuuB1fWySnlmhXNmd5", + "id": "pm_1OAJh4KuuB1fWySn6Sm53upC", "object": "payment_method", "billing_details": { "address": { @@ -116,35 +118,35 @@ http_interactions: }, "wallet": null }, - "created": 1699285881, + "created": 1699480430, "customer": null, "livemode": false, "metadata": {}, "type": "card" } - recorded_at: Mon, 06 Nov 2023 15:51:21 GMT + recorded_at: Wed, 08 Nov 2023 21:53: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_1O9V5BKuuB1fWySnlmhXNmd5&payment_method_types[0]=card&capture_method=manual + string: amount=100¤cy=eur&payment_method=pm_1OAJh4KuuB1fWySn6Sm53upC&payment_method_types[0]=card&capture_method=manual headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lr8vrJIpZhmcYq","request_duration_ms":918}}' + - '{"last_request_metrics":{"request_id":"req_DrCawewCGirS4u","request_duration_ms":461}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -157,7 +159,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:22 GMT + - Wed, 08 Nov 2023 21:53:51 GMT Content-Type: - application/json Content-Length: @@ -177,16 +179,16 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - 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' Idempotency-Key: - - ad226562-10aa-4ced-a3d3-1d4d134d5dc1 + - 2228abfe-aefe-45da-a235-6b1608f97198 Original-Request: - - req_WlxHtA7WtEeg33 + - req_M77hwHJKl3kOmG Request-Id: - - req_WlxHtA7WtEeg33 + - req_M77hwHJKl3kOmG Stripe-Should-Retry: - 'false' Stripe-Version: @@ -201,7 +203,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3O9V5CKuuB1fWySn1hPtURlb", + "id": "pi_3OAJh5KuuB1fWySn1teF24aw", "object": "payment_intent", "amount": 100, "amount_capturable": 0, @@ -215,9 +217,9 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb", + "client_secret": "pi_3OAJh5KuuB1fWySn1teF24aw_secret_zkEDdwGwOiCRYocuOOF6hlDyl", "confirmation_method": "automatic", - "created": 1699285882, + "created": 1699480431, "currency": "eur", "customer": null, "description": null, @@ -228,7 +230,7 @@ http_interactions: "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5", + "payment_method": "pm_1OAJh4KuuB1fWySn6Sm53upC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -253,29 +255,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 06 Nov 2023 15:51:22 GMT + recorded_at: Wed, 08 Nov 2023 21:53:51 GMT - request: method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5CKuuB1fWySn1hPtURlb/confirm + uri: https://api.stripe.com/v1/payment_intents/pi_3OAJh5KuuB1fWySn1teF24aw/confirm body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WlxHtA7WtEeg33","request_duration_ms":655}}' + - '{"last_request_metrics":{"request_id":"req_M77hwHJKl3kOmG","request_duration_ms":512}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -288,7 +290,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:23 GMT + - Wed, 08 Nov 2023 21:53:52 GMT Content-Type: - application/json Content-Length: @@ -308,17 +310,17 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent%2Fconfirm; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Idempotency-Key: - - 3f02d64f-02e0-4d1a-970a-e8677abb3327 + - e90c558a-5e35-4550-a5d2-b513c1b00819 Original-Request: - - req_YwSK1TvEuzvKWm + - req_DlfzVAQPPatmxi Request-Id: - - req_YwSK1TvEuzvKWm + - req_DlfzVAQPPatmxi Stripe-Should-Retry: - 'false' Stripe-Version: @@ -333,7 +335,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3O9V5CKuuB1fWySn1hPtURlb", + "id": "pi_3OAJh5KuuB1fWySn1teF24aw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -347,20 +349,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb", + "client_secret": "pi_3OAJh5KuuB1fWySn1teF24aw_secret_zkEDdwGwOiCRYocuOOF6hlDyl", "confirmation_method": "automatic", - "created": 1699285882, + "created": 1699480431, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3O9V5CKuuB1fWySn1rAvcdei", + "latest_charge": "ch_3OAJh5KuuB1fWySn1DrvKdoY", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5", + "payment_method": "pm_1OAJh4KuuB1fWySn6Sm53upC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -385,29 +387,29 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 06 Nov 2023 15:51:23 GMT + recorded_at: Wed, 08 Nov 2023 21:53:52 GMT - request: method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5CKuuB1fWySn1hPtURlb + uri: https://api.stripe.com/v1/payment_intents/pi_3OAJh5KuuB1fWySn1teF24aw body: encoding: US-ASCII string: '' headers: User-Agent: - - Stripe/v1 RubyBindings/10.0.0 + - Stripe/v1 RubyBindings/10.1.0 Authorization: - Bearer Content-Type: - application/x-www-form-urlencoded X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_YwSK1TvEuzvKWm","request_duration_ms":1321}}' + - '{"last_request_metrics":{"request_id":"req_DlfzVAQPPatmxi","request_duration_ms":1021}}' Stripe-Version: - '2023-10-16' X-Stripe-Client-User-Agent: - - '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11 - (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) - #37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}' + - '{"bindings_version":"10.1.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) + 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian + 6.1.52-1 (2023-09-07)","hostname":"blackbox"}' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -420,7 +422,7 @@ http_interactions: Server: - nginx Date: - - Mon, 06 Nov 2023 15:51:24 GMT + - Wed, 08 Nov 2023 21:53:53 GMT Content-Type: - application/json Content-Length: @@ -440,13 +442,13 @@ http_interactions: - '300' Cache-Control: - no-cache, no-store - Content-Security-Policy-Report-Only: + Content-Security-Policy: - report-uri https://q.stripe.com/csp-report?p=v1%2Fpayment_intents%2F%3Aintent; block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample'; style-src 'self' Request-Id: - - req_qjDkQl3stKfe1m + - req_lDPJ62zgG8A9FL Stripe-Version: - '2023-10-16' Vary: @@ -459,7 +461,7 @@ http_interactions: encoding: UTF-8 string: |- { - "id": "pi_3O9V5CKuuB1fWySn1hPtURlb", + "id": "pi_3OAJh5KuuB1fWySn1teF24aw", "object": "payment_intent", "amount": 100, "amount_capturable": 100, @@ -473,20 +475,20 @@ http_interactions: "canceled_at": null, "cancellation_reason": null, "capture_method": "manual", - "client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb", + "client_secret": "pi_3OAJh5KuuB1fWySn1teF24aw_secret_zkEDdwGwOiCRYocuOOF6hlDyl", "confirmation_method": "automatic", - "created": 1699285882, + "created": 1699480431, "currency": "eur", "customer": null, "description": null, "invoice": null, "last_payment_error": null, - "latest_charge": "ch_3O9V5CKuuB1fWySn1rAvcdei", + "latest_charge": "ch_3OAJh5KuuB1fWySn1DrvKdoY", "livemode": false, "metadata": {}, "next_action": null, "on_behalf_of": null, - "payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5", + "payment_method": "pm_1OAJh4KuuB1fWySn6Sm53upC", "payment_method_configuration_details": null, "payment_method_options": { "card": { @@ -511,5 +513,5 @@ http_interactions: "transfer_data": null, "transfer_group": null } - recorded_at: Mon, 06 Nov 2023 15:51:24 GMT + recorded_at: Wed, 08 Nov 2023 21:53:53 GMT recorded_with: VCR 6.2.0