From a36b7ce01ac4aa2bcccb2f83ec6eadcb6b7b06fd Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Tue, 4 Nov 2025 15:40:45 +0000 Subject: [PATCH] deletes all old VCR cassettes --- .../redirects_to_unauthorized.yml | 327 -------- ...t_intent_last_payment_error_as_message.yml | 503 ------------ ...t_intent_last_payment_error_as_message.yml | 505 ------------ ...t_intent_last_payment_error_as_message.yml | 501 ------------ ...t_intent_last_payment_error_as_message.yml | 505 ------------ ...t_intent_last_payment_error_as_message.yml | 503 ------------ ...t_intent_last_payment_error_as_message.yml | 503 ------------ ...t_intent_last_payment_error_as_message.yml | 501 ------------ ...t_intent_last_payment_error_as_message.yml | 503 ------------ .../captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../from_Diners_Club/captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../from_Discover/captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../from_JCB/captures_the_payment.yml | 764 ------------------ .../from_JCB/returns_payment_intent_id.yml | 504 ------------ .../from_Mastercard/captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../from_UnionPay/captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ .../from_Visa/captures_the_payment.yml | 764 ------------------ .../from_Visa/returns_payment_intent_id.yml | 504 ------------ .../from_Visa_debit_/captures_the_payment.yml | 764 ------------------ .../returns_payment_intent_id.yml | 504 ------------ ...t_intent_last_payment_error_as_message.yml | 395 --------- ...t_intent_last_payment_error_as_message.yml | 397 --------- ...t_intent_last_payment_error_as_message.yml | 393 --------- ...t_intent_last_payment_error_as_message.yml | 397 --------- ...t_intent_last_payment_error_as_message.yml | 395 --------- ...t_intent_last_payment_error_as_message.yml | 395 --------- ...t_intent_last_payment_error_as_message.yml | 393 --------- ...t_intent_last_payment_error_as_message.yml | 395 --------- .../captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../from_Diners_Club/captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../from_Discover/captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../from_JCB/captures_the_payment.yml | 656 --------------- .../from_JCB/returns_payment_intent_id.yml | 396 --------- .../from_Mastercard/captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../from_UnionPay/captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- .../from_Visa/captures_the_payment.yml | 656 --------------- .../from_Visa/returns_payment_intent_id.yml | 396 --------- .../from_Visa_debit_/captures_the_payment.yml | 656 --------------- .../returns_payment_intent_id.yml | 396 --------- 57 files changed, 30711 deletions(-) delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.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 delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml delete mode 100644 spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.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-v12.6.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 deleted file mode 100644 index 30a2b2c5e9..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.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 +++ /dev/null @@ -1,327 +0,0 @@ ---- -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/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 14 Oct 2025 03:05:13 GMT - Content-Type: - - application/json - Content-Length: - - '3927' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=OM_QID4mkoXt71hL-zi5xW8jqDnQHEWcI3SnK_RU-cLKpURQ0m1ehrNriyw2idgVDNdNJm6WQolrhYkm - Idempotency-Key: - - 0764d9d9-cc86-4f61-bcbf-a4e4059f567a - Original-Request: - - req_Dde6DIJj7rCd5m - Request-Id: - - req_Dde6DIJj7rCd5m - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "acct_1SHyY03FQF0iBkHf", - "object": "account", - "business_profile": { - "annual_revenue": null, - "estimated_worker_count": null, - "mcc": null, - "minority_owned_business_designation": 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": { - "fees": { - "payer": "account" - }, - "is_controller": true, - "losses": { - "payments": "stripe" - }, - "requirement_collection": "stripe", - "stripe_dashboard": { - "type": "full" - }, - "type": "application" - }, - "country": "AU", - "created": 1760411113, - "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_1SHyY03FQF0iBkHf/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": [ - "business_profile.product_description", - "business_profile.support_phone", - "business_profile.url", - "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, - "hosted_payment_method_save": "offer" - }, - "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: Tue, 14 Oct 2025 03:05:13 GMT -- request: - method: delete - uri: https://api.stripe.com/v1/accounts/acct_1SHyY03FQF0iBkHf - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Dde6DIJj7rCd5m","request_duration_ms":2206}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 14 Oct 2025 03:05:17 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=n9RRkJMG-_sT7S00qoMfw6KTpB5HzihwzadWkFxV8oogN02JjXq4yoA4UGN9g2XYgSpjZYI00mhrpmzM - Request-Id: - - req_iRYVWBCGQvkhl2 - Stripe-Account: - - acct_1SHyY03FQF0iBkHf - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "acct_1SHyY03FQF0iBkHf", - "object": "account", - "deleted": true - } - recorded_at: Tue, 14 Oct 2025 03:05:17 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 2db34deed5..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,503 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w0RQWcgZJ1phct","request_duration_ms":477}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:43 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b2b81ef0-f2c4-42e4-84c0-a4fb122bba28 - Original-Request: - - req_myhLzEVmpQVZEd - Request-Id: - - req_myhLzEVmpQVZEd - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4nIi63rqbiZ", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269762, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "ZHCMKZAG", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_visa_chargeDeclinedVelocityLimitExceeded&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4nIi63rqbiZ&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_myhLzEVmpQVZEd","request_duration_ms":443}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:43 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - bfdef10d-eb2f-4404-b2b7-ee45c2d9c8c5 - Original-Request: - - req_xNPz9Ia9hPnqo9 - Request-Id: - - req_xNPz9Ia9hPnqo9 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm4FKuuB1fWySn1Atr9ZoC", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269763, - "currency": "eur", - "customer": "cus_TMV4nIi63rqbiZ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm4FKuuB1fWySnAxE2JPoI", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:43 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm4FKuuB1fWySn1Atr9ZoC/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xNPz9Ia9hPnqo9","request_duration_ms":405}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:44 GMT - Content-Type: - - application/json - Content-Length: - - '5426' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - cd056cea-4433-4f2c-ae4b-ed2bc470af59 - Original-Request: - - req_vVicYIJ3XcQ5YU - Request-Id: - - req_vVicYIJ3XcQ5YU - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm4FKuuB1fWySn1jvUxQbF", - "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.", - "network_advice_code": "02", - "network_decline_code": "61", - "payment_intent": { - "id": "pi_3SPm4FKuuB1fWySn1Atr9ZoC", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269763, - "currency": "eur", - "customer": "cus_TMV4nIi63rqbiZ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm4FKuuB1fWySn1jvUxQbF", - "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.", - "network_advice_code": "02", - "network_decline_code": "61", - "payment_method": { - "id": "pm_1SPm4FKuuB1fWySnAxE2JPoI", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "WoxwxVPUPcg0EjXW", - "funding": "credit", - "generated_from": null, - "last4": "6975", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269763, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm4FKuuB1fWySn1jvUxQbF", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm4FKuuB1fWySnAxE2JPoI", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "WoxwxVPUPcg0EjXW", - "funding": "credit", - "generated_from": null, - "last4": "6975", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269763, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_vVicYIJ3XcQ5YU?t=1762269763", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:44 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 3abe1b696f..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,505 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KhGf4KFUpA1Uax","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:37 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 999378ad-dfe3-405d-9066-14a7b9cf9833 - Original-Request: - - req_0dWd7dIRip6XFH - Request-Id: - - req_0dWd7dIRip6XFH - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4hziIPGGibA", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269757, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "TC8D0QHW", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_chargeDeclinedExpiredCard&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4hziIPGGibA&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0dWd7dIRip6XFH","request_duration_ms":383}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:38 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b8fc4a87-68d0-4cfb-a4fa-82280f5c9f76 - Original-Request: - - req_eAVoZsSUiNZ8qh - Request-Id: - - req_eAVoZsSUiNZ8qh - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm49KuuB1fWySn2D0l2L1r", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269757, - "currency": "eur", - "customer": "cus_TMV4hziIPGGibA", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm49KuuB1fWySnD7Vnfbup", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:38 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm49KuuB1fWySn2D0l2L1r/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eAVoZsSUiNZ8qh","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:38 GMT - Content-Type: - - application/json - Content-Length: - - '5312' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b4bcdeb1-4a4d-4e46-b11e-1bed9e9cb7c3 - Original-Request: - - req_5yS0egNMYXXI2q - Request-Id: - - req_5yS0egNMYXXI2q - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm49KuuB1fWySn2dg0U5ew", - "code": "expired_card", - "decline_code": "expired_card", - "doc_url": "https://stripe.com/docs/error-codes/expired-card", - "message": "Your card has expired.", - "network_advice_code": "03", - "network_decline_code": "54", - "param": "exp_month", - "payment_intent": { - "id": "pi_3SPm49KuuB1fWySn2D0l2L1r", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269757, - "currency": "eur", - "customer": "cus_TMV4hziIPGGibA", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm49KuuB1fWySn2dg0U5ew", - "code": "expired_card", - "decline_code": "expired_card", - "doc_url": "https://stripe.com/docs/error-codes/expired-card", - "message": "Your card has expired.", - "network_advice_code": "03", - "network_decline_code": "54", - "param": "exp_month", - "payment_method": { - "id": "pm_1SPm49KuuB1fWySnD7Vnfbup", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "qpQikrTL7IyNA2rE", - "funding": "credit", - "generated_from": null, - "last4": "0069", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269757, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm49KuuB1fWySn2dg0U5ew", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm49KuuB1fWySnD7Vnfbup", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "qpQikrTL7IyNA2rE", - "funding": "credit", - "generated_from": null, - "last4": "0069", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269757, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_5yS0egNMYXXI2q?t=1762269758", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:39 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index c6919a9f2a..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,501 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3wkReeHnOHSZuD","request_duration_ms":305}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:30 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 04bf021d-fd0c-4b7d-91c8-550565296fa0 - Original-Request: - - req_6TgXb95GmI11j8 - Request-Id: - - req_6TgXb95GmI11j8 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4vdrdlLzoTk", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269750, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "KKLGNYZ9", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_visa_chargeDeclined&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4vdrdlLzoTk&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6TgXb95GmI11j8","request_duration_ms":417}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:30 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c1ef2330-1ec9-4e18-a8c8-51cd9de5f227 - Original-Request: - - req_7abBtsI1MGb67T - Request-Id: - - req_7abBtsI1MGb67T - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm42KuuB1fWySn0W62oO6o", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269750, - "currency": "eur", - "customer": "cus_TMV4vdrdlLzoTk", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm42KuuB1fWySnnrFa9UTk", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:30 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm42KuuB1fWySn0W62oO6o/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7abBtsI1MGb67T","request_duration_ms":513}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:31 GMT - Content-Type: - - application/json - Content-Length: - - '5194' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - eb1d9b8d-bb0a-4603-ae56-3c0af302e80a - Original-Request: - - req_1faIakJqcpSxFY - Request-Id: - - req_1faIakJqcpSxFY - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm42KuuB1fWySn0iKhVvuS", - "code": "card_declined", - "decline_code": "generic_decline", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_decline_code": "01", - "payment_intent": { - "id": "pi_3SPm42KuuB1fWySn0W62oO6o", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269750, - "currency": "eur", - "customer": "cus_TMV4vdrdlLzoTk", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm42KuuB1fWySn0iKhVvuS", - "code": "card_declined", - "decline_code": "generic_decline", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_decline_code": "01", - "payment_method": { - "id": "pm_1SPm42KuuB1fWySnnrFa9UTk", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "IKC2ubfpSLuZKsVs", - "funding": "credit", - "generated_from": null, - "last4": "0002", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269750, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm42KuuB1fWySn0iKhVvuS", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm42KuuB1fWySnnrFa9UTk", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "IKC2ubfpSLuZKsVs", - "funding": "credit", - "generated_from": null, - "last4": "0002", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269750, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_1faIakJqcpSxFY?t=1762269750", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:31 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 5456af3080..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,505 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eAVoZsSUiNZ8qh","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:39 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - eb3c6dd7-f7ce-46f5-aa10-18cc77d67da0 - Original-Request: - - req_vS7iirdzffEIh7 - Request-Id: - - req_vS7iirdzffEIh7 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4TvVnMP3dfq", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269759, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "AW57BQQH", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_chargeDeclinedIncorrectCvc&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4TvVnMP3dfq&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vS7iirdzffEIh7","request_duration_ms":434}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:39 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 27c56df7-1d75-4497-9729-079165b96635 - Original-Request: - - req_OC42idNnVbq4Qm - Request-Id: - - req_OC42idNnVbq4Qm - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm4BKuuB1fWySn0VrJMT5l", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269759, - "currency": "eur", - "customer": "cus_TMV4TvVnMP3dfq", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm4BKuuB1fWySnDq7Lnofb", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:39 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm4BKuuB1fWySn0VrJMT5l/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OC42idNnVbq4Qm","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:40 GMT - Content-Type: - - application/json - Content-Length: - - '5340' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e7f60f00-e1aa-49cd-b3ea-c6e3c4b4a5dc - Original-Request: - - req_fpmAaHoc6Rz3Es - Request-Id: - - req_fpmAaHoc6Rz3Es - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm4BKuuB1fWySn0tOxZCn3", - "code": "incorrect_cvc", - "decline_code": "incorrect_cvc", - "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", - "message": "Your card's security code is incorrect.", - "network_advice_code": "03", - "network_decline_code": "N7", - "param": "cvc", - "payment_intent": { - "id": "pi_3SPm4BKuuB1fWySn0VrJMT5l", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269759, - "currency": "eur", - "customer": "cus_TMV4TvVnMP3dfq", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm4BKuuB1fWySn0tOxZCn3", - "code": "incorrect_cvc", - "decline_code": "incorrect_cvc", - "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", - "message": "Your card's security code is incorrect.", - "network_advice_code": "03", - "network_decline_code": "N7", - "param": "cvc", - "payment_method": { - "id": "pm_1SPm4BKuuB1fWySnDq7Lnofb", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "eWmxEL5j3bNdPnK5", - "funding": "credit", - "generated_from": null, - "last4": "0127", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269759, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm4BKuuB1fWySn0tOxZCn3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm4BKuuB1fWySnDq7Lnofb", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "eWmxEL5j3bNdPnK5", - "funding": "credit", - "generated_from": null, - "last4": "0127", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269759, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_fpmAaHoc6Rz3Es?t=1762269760", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:41 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 22959a7766..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,503 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7abBtsI1MGb67T","request_duration_ms":513}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:32 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 8d13ce20-2dab-4e93-acba-31ccd3c33778 - Original-Request: - - req_hwo5ZUgCJNmD3G - Request-Id: - - req_hwo5ZUgCJNmD3G - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4WOjJM7ilSW", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269752, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "Z3PGQRPG", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_visa_chargeDeclinedInsufficientFunds&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4WOjJM7ilSW&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hwo5ZUgCJNmD3G","request_duration_ms":364}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:32 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d74ca273-3ca2-4f92-b1c8-38307c691bc6 - Original-Request: - - req_J9beLk0yvWEMjn - Request-Id: - - req_J9beLk0yvWEMjn - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm44KuuB1fWySn0K3xdJbo", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269752, - "currency": "eur", - "customer": "cus_TMV4WOjJM7ilSW", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm44KuuB1fWySnrnXIuRSY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:32 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm44KuuB1fWySn0K3xdJbo/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J9beLk0yvWEMjn","request_duration_ms":382}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:33 GMT - Content-Type: - - application/json - Content-Length: - - '5290' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 0eed6758-fcdd-480e-ae81-194551e4d5bf - Original-Request: - - req_w4eyZelCrWiJuq - Request-Id: - - req_w4eyZelCrWiJuq - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm44KuuB1fWySn04gaEm39", - "code": "card_declined", - "decline_code": "insufficient_funds", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card has insufficient funds.", - "network_advice_code": "02", - "network_decline_code": "51", - "payment_intent": { - "id": "pi_3SPm44KuuB1fWySn0K3xdJbo", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269752, - "currency": "eur", - "customer": "cus_TMV4WOjJM7ilSW", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm44KuuB1fWySn04gaEm39", - "code": "card_declined", - "decline_code": "insufficient_funds", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card has insufficient funds.", - "network_advice_code": "02", - "network_decline_code": "51", - "payment_method": { - "id": "pm_1SPm44KuuB1fWySnrnXIuRSY", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "O0I0muUGQBJy3p73", - "funding": "credit", - "generated_from": null, - "last4": "9995", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269752, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm44KuuB1fWySn04gaEm39", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm44KuuB1fWySnrnXIuRSY", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "O0I0muUGQBJy3p73", - "funding": "credit", - "generated_from": null, - "last4": "9995", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269752, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_w4eyZelCrWiJuq?t=1762269752", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:33 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 316d9109d2..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,503 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_J9beLk0yvWEMjn","request_duration_ms":382}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:34 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 3d5906aa-40fa-498d-8fa1-eba7164f1565 - Original-Request: - - req_of9q74EqYEZivC - Request-Id: - - req_of9q74EqYEZivC - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV40HBp5Fi6dE", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269753, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "2PY9DFXS", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_visa_chargeDeclinedLostCard&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV40HBp5Fi6dE&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_of9q74EqYEZivC","request_duration_ms":366}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:34 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c22ac5f5-44a4-4fdb-856f-63ecc21b2a78 - Original-Request: - - req_S2nDdXAVWEEwst - Request-Id: - - req_S2nDdXAVWEEwst - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm46KuuB1fWySn2xUVAXVz", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269754, - "currency": "eur", - "customer": "cus_TMV40HBp5Fi6dE", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm46KuuB1fWySn1umrTNg3", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:34 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm46KuuB1fWySn2xUVAXVz/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S2nDdXAVWEEwst","request_duration_ms":483}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:35 GMT - Content-Type: - - application/json - Content-Length: - - '5254' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e478b737-cbce-411e-a057-758e98a84b70 - Original-Request: - - req_UX3YYVfa9stSfu - Request-Id: - - req_UX3YYVfa9stSfu - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm46KuuB1fWySn2W2X1Pig", - "code": "card_declined", - "decline_code": "lost_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "41", - "payment_intent": { - "id": "pi_3SPm46KuuB1fWySn2xUVAXVz", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269754, - "currency": "eur", - "customer": "cus_TMV40HBp5Fi6dE", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm46KuuB1fWySn2W2X1Pig", - "code": "card_declined", - "decline_code": "lost_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "41", - "payment_method": { - "id": "pm_1SPm46KuuB1fWySn1umrTNg3", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "hMDekBwrnWL1oLxe", - "funding": "credit", - "generated_from": null, - "last4": "9987", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269754, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm46KuuB1fWySn2W2X1Pig", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm46KuuB1fWySn1umrTNg3", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "hMDekBwrnWL1oLxe", - "funding": "credit", - "generated_from": null, - "last4": "9987", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269754, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_UX3YYVfa9stSfu?t=1762269754", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:35 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 2f743f3937..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,501 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OC42idNnVbq4Qm","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:41 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - afeffd87-fc85-4691-b2d9-56fa19008f51 - Original-Request: - - req_MBqYdKfNZJgaMp - Request-Id: - - req_MBqYdKfNZJgaMp - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4UOvJZyL0c0", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269761, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "HVUB1TC1", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_chargeDeclinedProcessingError&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4UOvJZyL0c0&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MBqYdKfNZJgaMp","request_duration_ms":364}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:41 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 6f8874d7-5ea6-40c7-92b8-339990fac97e - Original-Request: - - req_w0RQWcgZJ1phct - Request-Id: - - req_w0RQWcgZJ1phct - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm4DKuuB1fWySn2fRibziX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269761, - "currency": "eur", - "customer": "cus_TMV4UOvJZyL0c0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm4DKuuB1fWySnJzhJDQM4", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:41 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm4DKuuB1fWySn2fRibziX/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_w0RQWcgZJ1phct","request_duration_ms":477}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:42 GMT - Content-Type: - - application/json - Content-Length: - - '5306' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 9be4fa51-f6d2-49c8-ba09-2cf3b24756e7 - Original-Request: - - req_R9TEQ2xmc44bB0 - Request-Id: - - req_R9TEQ2xmc44bB0 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm4DKuuB1fWySn2IOw1GXJ", - "code": "processing_error", - "decline_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.", - "network_decline_code": "06", - "payment_intent": { - "id": "pi_3SPm4DKuuB1fWySn2fRibziX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269761, - "currency": "eur", - "customer": "cus_TMV4UOvJZyL0c0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm4DKuuB1fWySn2IOw1GXJ", - "code": "processing_error", - "decline_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.", - "network_decline_code": "06", - "payment_method": { - "id": "pm_1SPm4DKuuB1fWySnJzhJDQM4", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "9HWWxe4EyniQy61z", - "funding": "credit", - "generated_from": null, - "last4": "0119", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269761, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm4DKuuB1fWySn2IOw1GXJ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm4DKuuB1fWySnJzhJDQM4", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "9HWWxe4EyniQy61z", - "funding": "credit", - "generated_from": null, - "last4": "0119", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269761, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_R9TEQ2xmc44bB0?t=1762269762", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:42 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 9569fead5e..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,503 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_S2nDdXAVWEEwst","request_duration_ms":483}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:35 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ed18d263-06c8-467d-9ba4-f68811f2b81b - Original-Request: - - req_1HG4Y6zrr60nEP - Request-Id: - - req_1HG4Y6zrr60nEP - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4uVA9roXDmz", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269755, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "BXQCS0LZ", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_visa_chargeDeclinedStolenCard&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4uVA9roXDmz&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1HG4Y6zrr60nEP","request_duration_ms":437}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:36 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - bc0f302b-1143-4467-ab5f-343c445c53be - Original-Request: - - req_KhGf4KFUpA1Uax - Request-Id: - - req_KhGf4KFUpA1Uax - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm48KuuB1fWySn1l5XtE4p", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269756, - "currency": "eur", - "customer": "cus_TMV4uVA9roXDmz", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm48KuuB1fWySn2Wt9BCEm", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:36 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm48KuuB1fWySn1l5XtE4p/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KhGf4KFUpA1Uax","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:22:37 GMT - Content-Type: - - application/json - Content-Length: - - '5258' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - fbbb04db-1d19-433b-8960-a86a275702cf - Original-Request: - - req_0HNAdrNGYuZ6jw - Request-Id: - - req_0HNAdrNGYuZ6jw - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm48KuuB1fWySn1YeechbE", - "code": "card_declined", - "decline_code": "stolen_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "43", - "payment_intent": { - "id": "pi_3SPm48KuuB1fWySn1l5XtE4p", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269756, - "currency": "eur", - "customer": "cus_TMV4uVA9roXDmz", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm48KuuB1fWySn1YeechbE", - "code": "card_declined", - "decline_code": "stolen_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "43", - "payment_method": { - "id": "pm_1SPm48KuuB1fWySn2Wt9BCEm", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "1pjhEFFOW1eCi1AB", - "funding": "credit", - "generated_from": null, - "last4": "9979", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269756, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm48KuuB1fWySn1YeechbE", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm48KuuB1fWySn2Wt9BCEm", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "1pjhEFFOW1eCi1AB", - "funding": "credit", - "generated_from": null, - "last4": "9979", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269756, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_0HNAdrNGYuZ6jw?t=1762269756", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:22:37 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml deleted file mode 100644 index 83acf3149a..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1ThscKrhchrB4F","request_duration_ms":237}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:01 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c9c90391-cdc6-477a-8c3e-67e91951aae0 - Original-Request: - - req_iJBFCEFBOLXwBv - Request-Id: - - req_iJBFCEFBOLXwBv - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3VYo8OXkkg1", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269721, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "71B2AWGR", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_amex&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3VYo8OXkkg1&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iJBFCEFBOLXwBv","request_duration_ms":386}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:02 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e943de6f-8871-4c14-ba39-60f825e7e3c8 - Original-Request: - - req_osu9VJjBxWzSgM - Request-Id: - - req_osu9VJjBxWzSgM - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3ZKuuB1fWySn2X9YdIZX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269721, - "currency": "eur", - "customer": "cus_TMV3VYo8OXkkg1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3ZKuuB1fWySnINQUkCki", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:02 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3ZKuuB1fWySn2X9YdIZX/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_osu9VJjBxWzSgM","request_duration_ms":447}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:02 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1384b0b5-e128-482b-a640-a918734e8674 - Original-Request: - - req_0Ba0om2HvVZjki - Request-Id: - - req_0Ba0om2HvVZjki - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3ZKuuB1fWySn2X9YdIZX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269721, - "currency": "eur", - "customer": "cus_TMV3VYo8OXkkg1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3ZKuuB1fWySn2qrAB0z3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3ZKuuB1fWySnINQUkCki", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:03 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3ZKuuB1fWySn2X9YdIZX - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0Ba0om2HvVZjki","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:03 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_a98ee2UH905MX5 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3ZKuuB1fWySn2X9YdIZX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269721, - "currency": "eur", - "customer": "cus_TMV3VYo8OXkkg1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3ZKuuB1fWySn2qrAB0z3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3ZKuuB1fWySnINQUkCki", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:03 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3ZKuuB1fWySn2X9YdIZX/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a98ee2UH905MX5","request_duration_ms":307}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:04 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ac27cf7f-2851-4ea9-a849-bc2d7446bc6a - Original-Request: - - req_Y1xQqnIXXVgqgR - Request-Id: - - req_Y1xQqnIXXVgqgR - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3ZKuuB1fWySn2X9YdIZX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269721, - "currency": "eur", - "customer": "cus_TMV3VYo8OXkkg1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3ZKuuB1fWySn2qrAB0z3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3ZKuuB1fWySnINQUkCki", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:04 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3ZKuuB1fWySn2X9YdIZX - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Y1xQqnIXXVgqgR","request_duration_ms":1123}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:04 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_wCTcpdyaYpwlsv - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3ZKuuB1fWySn2X9YdIZX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269721, - "currency": "eur", - "customer": "cus_TMV3VYo8OXkkg1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3ZKuuB1fWySn2qrAB0z3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3ZKuuB1fWySnINQUkCki", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:04 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml deleted file mode 100644 index 1b04bf3e3e..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t2X4MR0htSQgPM","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:58 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b2528b1b-3f96-4ef3-9ced-00bafd273bdb - Original-Request: - - req_iqKWKl8KTvCZIG - Request-Id: - - req_iqKWKl8KTvCZIG - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3epr7OXvfyj", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269718, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "MEADNLR0", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_amex&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3epr7OXvfyj&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iqKWKl8KTvCZIG","request_duration_ms":534}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:59 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2815a759-cb45-43e3-867f-4c81f706d51f - Original-Request: - - req_pX2kMZU3ItKvhr - Request-Id: - - req_pX2kMZU3ItKvhr - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3XKuuB1fWySn1NycZpLO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269719, - "currency": "eur", - "customer": "cus_TMV3epr7OXvfyj", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3XKuuB1fWySnwpzo4fhX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:59 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3XKuuB1fWySn1NycZpLO/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pX2kMZU3ItKvhr","request_duration_ms":440}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:00 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - aac45be6-1e29-49dd-be77-2fe80629c83c - Original-Request: - - req_6efbwVskZsSmgl - Request-Id: - - req_6efbwVskZsSmgl - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3XKuuB1fWySn1NycZpLO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269719, - "currency": "eur", - "customer": "cus_TMV3epr7OXvfyj", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3XKuuB1fWySn1SaHhT3j", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3XKuuB1fWySnwpzo4fhX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:00 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3XKuuB1fWySn1NycZpLO - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6efbwVskZsSmgl","request_duration_ms":882}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:01 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_1ThscKrhchrB4F - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3XKuuB1fWySn1NycZpLO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269719, - "currency": "eur", - "customer": "cus_TMV3epr7OXvfyj", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3XKuuB1fWySn1SaHhT3j", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3XKuuB1fWySnwpzo4fhX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:01 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml deleted file mode 100644 index 6c53acc5e1..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_blvKsQryC7P3eA","request_duration_ms":305}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:14 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - aeeb9665-a164-403d-99d4-b84d654cefb8 - Original-Request: - - req_7lIHzWTVs3T7KB - Request-Id: - - req_7lIHzWTVs3T7KB - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3ZP33Bsl2T0", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269733, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "QDNPHSFA", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_diners&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3ZP33Bsl2T0&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_7lIHzWTVs3T7KB","request_duration_ms":360}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:14 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ecb9f70b-82a9-428f-8f26-fea5333c1d65 - Original-Request: - - req_bdpg2yejMQzADH - Request-Id: - - req_bdpg2yejMQzADH - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3mKuuB1fWySn2tIC62ut", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269734, - "currency": "eur", - "customer": "cus_TMV3ZP33Bsl2T0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3mKuuB1fWySn2gn6KtZL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:14 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3mKuuB1fWySn2tIC62ut/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bdpg2yejMQzADH","request_duration_ms":394}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:15 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b57e5082-b709-447c-938b-7ea51c6ab859 - Original-Request: - - req_1vkZB7g4AcFurl - Request-Id: - - req_1vkZB7g4AcFurl - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3mKuuB1fWySn2tIC62ut", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269734, - "currency": "eur", - "customer": "cus_TMV3ZP33Bsl2T0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3mKuuB1fWySn2JTxj9ii", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3mKuuB1fWySn2gn6KtZL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:15 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3mKuuB1fWySn2tIC62ut - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1vkZB7g4AcFurl","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:15 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_Vjkv9KeoQeGAFe - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3mKuuB1fWySn2tIC62ut", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269734, - "currency": "eur", - "customer": "cus_TMV3ZP33Bsl2T0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3mKuuB1fWySn2JTxj9ii", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3mKuuB1fWySn2gn6KtZL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:15 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3mKuuB1fWySn2tIC62ut/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Vjkv9KeoQeGAFe","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:17 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 6fb1ad3b-28fe-4807-a884-ff3338ca2850 - Original-Request: - - req_RktpaIFx33v7QT - Request-Id: - - req_RktpaIFx33v7QT - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3mKuuB1fWySn2tIC62ut", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269734, - "currency": "eur", - "customer": "cus_TMV3ZP33Bsl2T0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3mKuuB1fWySn2JTxj9ii", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3mKuuB1fWySn2gn6KtZL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:17 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3mKuuB1fWySn2tIC62ut - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RktpaIFx33v7QT","request_duration_ms":1328}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:17 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_kcZHf1S28DkNAD - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3mKuuB1fWySn2tIC62ut", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269734, - "currency": "eur", - "customer": "cus_TMV3ZP33Bsl2T0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3mKuuB1fWySn2JTxj9ii", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3mKuuB1fWySn2gn6KtZL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:17 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml deleted file mode 100644 index 3baf4320d2..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yJovmyD1t15om2","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:11 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 0cfe2dc4-703e-405e-bc13-cf4ebe3ee242 - Original-Request: - - req_Y53VlZ3k1hhRXX - Request-Id: - - req_Y53VlZ3k1hhRXX - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV343jU7lqsu9", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269731, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "BRXQO4VC", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_diners&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV343jU7lqsu9&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Y53VlZ3k1hhRXX","request_duration_ms":420}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:11 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1f63aa1c-c044-4d95-aa64-e6ccae4e29df - Original-Request: - - req_ZenuiGkJPrt3Wp - Request-Id: - - req_ZenuiGkJPrt3Wp - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3jKuuB1fWySn1K6Kpp1P", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269731, - "currency": "eur", - "customer": "cus_TMV343jU7lqsu9", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3jKuuB1fWySnbbXH4zGr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:11 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3jKuuB1fWySn1K6Kpp1P/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZenuiGkJPrt3Wp","request_duration_ms":425}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:12 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b6864751-6030-479f-bc53-b2f77e74702c - Original-Request: - - req_GGM5Bh4Xm3blP9 - Request-Id: - - req_GGM5Bh4Xm3blP9 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3jKuuB1fWySn1K6Kpp1P", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269731, - "currency": "eur", - "customer": "cus_TMV343jU7lqsu9", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3jKuuB1fWySn1WxMRWBP", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3jKuuB1fWySnbbXH4zGr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:12 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3jKuuB1fWySn1K6Kpp1P - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GGM5Bh4Xm3blP9","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:13 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_blvKsQryC7P3eA - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3jKuuB1fWySn1K6Kpp1P", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269731, - "currency": "eur", - "customer": "cus_TMV343jU7lqsu9", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3jKuuB1fWySn1WxMRWBP", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3jKuuB1fWySnbbXH4zGr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:13 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml deleted file mode 100644 index 57bb746ae6..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_P1BMGqKS0d89yD","request_duration_ms":313}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:07 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - cdcad57b-c97f-4b67-8d68-c75268b1ca50 - Original-Request: - - req_oqj2L8kvYIutW6 - Request-Id: - - req_oqj2L8kvYIutW6 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3JiR0mDq9Ub", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269727, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "TLUI3GSJ", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_discover&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3JiR0mDq9Ub&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oqj2L8kvYIutW6","request_duration_ms":445}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:08 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 80b71c03-573b-437e-b313-ce11150a5941 - Original-Request: - - req_ogW3ZcfAWiG4N5 - Request-Id: - - req_ogW3ZcfAWiG4N5 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3gKuuB1fWySn1b7lgajG", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269728, - "currency": "eur", - "customer": "cus_TMV3JiR0mDq9Ub", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3fKuuB1fWySn3YwkTpOA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:08 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3gKuuB1fWySn1b7lgajG/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ogW3ZcfAWiG4N5","request_duration_ms":509}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:09 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 49a05336-7b89-4a4c-8555-0b08eb0d462a - Original-Request: - - req_dGNG5e9TeuzRBR - Request-Id: - - req_dGNG5e9TeuzRBR - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3gKuuB1fWySn1b7lgajG", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269728, - "currency": "eur", - "customer": "cus_TMV3JiR0mDq9Ub", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3gKuuB1fWySn1kUZncSy", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3fKuuB1fWySn3YwkTpOA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:09 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3gKuuB1fWySn1b7lgajG - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dGNG5e9TeuzRBR","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:09 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_aIRko6oHN4C0xf - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3gKuuB1fWySn1b7lgajG", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269728, - "currency": "eur", - "customer": "cus_TMV3JiR0mDq9Ub", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3gKuuB1fWySn1kUZncSy", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3fKuuB1fWySn3YwkTpOA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:09 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3gKuuB1fWySn1b7lgajG/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aIRko6oHN4C0xf","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:10 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 68229758-e0ec-4a64-8dc5-c7f41905b407 - Original-Request: - - req_V2CUHr4rEozBZl - Request-Id: - - req_V2CUHr4rEozBZl - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3gKuuB1fWySn1b7lgajG", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269728, - "currency": "eur", - "customer": "cus_TMV3JiR0mDq9Ub", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3gKuuB1fWySn1kUZncSy", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3fKuuB1fWySn3YwkTpOA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:10 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3gKuuB1fWySn1b7lgajG - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V2CUHr4rEozBZl","request_duration_ms":1124}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:10 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_yJovmyD1t15om2 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3gKuuB1fWySn1b7lgajG", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269728, - "currency": "eur", - "customer": "cus_TMV3JiR0mDq9Ub", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3gKuuB1fWySn1kUZncSy", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3fKuuB1fWySn3YwkTpOA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:11 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml deleted file mode 100644 index ae21fefbb1..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wCTcpdyaYpwlsv","request_duration_ms":299}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:05 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a6d177fb-90e1-4159-97a0-150f6b3d85ea - Original-Request: - - req_j1oOoPTjpR5jNI - Request-Id: - - req_j1oOoPTjpR5jNI - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3gjUu39jNV1", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269724, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "ZJOPNZ64", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_discover&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3gjUu39jNV1&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_j1oOoPTjpR5jNI","request_duration_ms":429}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:05 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 11d996b9-628d-49ea-a9d5-4a62bb09c4c5 - Original-Request: - - req_lx7kF49ZLhujcK - Request-Id: - - req_lx7kF49ZLhujcK - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3dKuuB1fWySn2bqaKC81", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269725, - "currency": "eur", - "customer": "cus_TMV3gjUu39jNV1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3dKuuB1fWySnsar8Nj1m", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:05 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3dKuuB1fWySn2bqaKC81/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_lx7kF49ZLhujcK","request_duration_ms":362}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:06 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 20b76362-9ef2-437e-9c93-06d0a620d365 - Original-Request: - - req_MmDshjsTxX6jec - Request-Id: - - req_MmDshjsTxX6jec - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3dKuuB1fWySn2bqaKC81", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269725, - "currency": "eur", - "customer": "cus_TMV3gjUu39jNV1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3dKuuB1fWySn2TBMZ3qO", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3dKuuB1fWySnsar8Nj1m", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:06 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3dKuuB1fWySn2bqaKC81 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MmDshjsTxX6jec","request_duration_ms":857}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:07 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_P1BMGqKS0d89yD - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3dKuuB1fWySn2bqaKC81", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269725, - "currency": "eur", - "customer": "cus_TMV3gjUu39jNV1", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3dKuuB1fWySn2TBMZ3qO", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3dKuuB1fWySnsar8Nj1m", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:07 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml deleted file mode 100644 index 5fbd4bf98c..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ggGpIwgqAzKPbJ","request_duration_ms":259}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:20 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a161abe8-a161-4dfe-beb2-a9c80b3500bb - Original-Request: - - req_KL3BCBk0EaJQAS - Request-Id: - - req_KL3BCBk0EaJQAS - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV43WkuYWNsOH", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269740, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "UJP0OT2H", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_jcb&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV43WkuYWNsOH&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KL3BCBk0EaJQAS","request_duration_ms":414}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:20 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d9a6b8cc-bfe5-4ea8-8d0e-9c3d9f9774ce - Original-Request: - - req_Cac45yFGD3tE8L - Request-Id: - - req_Cac45yFGD3tE8L - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3sKuuB1fWySn2L0IUI8k", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269740, - "currency": "eur", - "customer": "cus_TMV43WkuYWNsOH", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3sKuuB1fWySnpptk5eSr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:20 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3sKuuB1fWySn2L0IUI8k/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Cac45yFGD3tE8L","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:21 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 688c83a3-2b8d-4432-ad7b-13bf46256198 - Original-Request: - - req_OrkS3TGCAIQje3 - Request-Id: - - req_OrkS3TGCAIQje3 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3sKuuB1fWySn2L0IUI8k", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269740, - "currency": "eur", - "customer": "cus_TMV43WkuYWNsOH", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3sKuuB1fWySn2Bya5ANY", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3sKuuB1fWySnpptk5eSr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:21 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3sKuuB1fWySn2L0IUI8k - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OrkS3TGCAIQje3","request_duration_ms":820}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:21 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_40DXIQMa3T2lDH - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3sKuuB1fWySn2L0IUI8k", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269740, - "currency": "eur", - "customer": "cus_TMV43WkuYWNsOH", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3sKuuB1fWySn2Bya5ANY", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3sKuuB1fWySnpptk5eSr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:21 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3sKuuB1fWySn2L0IUI8k/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_40DXIQMa3T2lDH","request_duration_ms":297}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:23 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - bcc06ea2-76d4-4cb9-bdd8-f36854be3d80 - Original-Request: - - req_jFbmAwtwLT2fcT - Request-Id: - - req_jFbmAwtwLT2fcT - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3sKuuB1fWySn2L0IUI8k", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269740, - "currency": "eur", - "customer": "cus_TMV43WkuYWNsOH", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3sKuuB1fWySn2Bya5ANY", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3sKuuB1fWySnpptk5eSr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:23 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3sKuuB1fWySn2L0IUI8k - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jFbmAwtwLT2fcT","request_duration_ms":1256}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:23 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_RZIZc1v4Yls5Wd - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3sKuuB1fWySn2L0IUI8k", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269740, - "currency": "eur", - "customer": "cus_TMV43WkuYWNsOH", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3sKuuB1fWySn2Bya5ANY", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3sKuuB1fWySnpptk5eSr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:23 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml deleted file mode 100644 index b91d2bd314..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kcZHf1S28DkNAD","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:17 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - da26bd86-c3c8-404c-ad5e-250055d53c00 - Original-Request: - - req_wRTLUCC23XIWtW - Request-Id: - - req_wRTLUCC23XIWtW - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3TK5q8Ka8DV", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269737, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "QVUFOUOF", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_jcb&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3TK5q8Ka8DV&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wRTLUCC23XIWtW","request_duration_ms":432}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:18 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a089a32a-96a2-4736-ae8a-075ebd7a4295 - Original-Request: - - req_0fo4dL36ODkUJg - Request-Id: - - req_0fo4dL36ODkUJg - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3qKuuB1fWySn1d5hFkMx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269738, - "currency": "eur", - "customer": "cus_TMV3TK5q8Ka8DV", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3qKuuB1fWySnjGJEeBUN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:18 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3qKuuB1fWySn1d5hFkMx/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0fo4dL36ODkUJg","request_duration_ms":404}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:19 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 5906041c-1a4a-49a4-9c95-0a2f6ff59d77 - Original-Request: - - req_KZPgCn8VSQOuGn - Request-Id: - - req_KZPgCn8VSQOuGn - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3qKuuB1fWySn1d5hFkMx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269738, - "currency": "eur", - "customer": "cus_TMV3TK5q8Ka8DV", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3qKuuB1fWySn1J3cWZyx", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3qKuuB1fWySnjGJEeBUN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:19 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3qKuuB1fWySn1d5hFkMx - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KZPgCn8VSQOuGn","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:19 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_ggGpIwgqAzKPbJ - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3qKuuB1fWySn1d5hFkMx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269738, - "currency": "eur", - "customer": "cus_TMV3TK5q8Ka8DV", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3qKuuB1fWySn1J3cWZyx", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3qKuuB1fWySnjGJEeBUN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:19 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml deleted file mode 100644 index f8ed5e18d5..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AHV4WLFUu2iyhq","request_duration_ms":248}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:42 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1ae5a8db-6510-487f-a42d-057174075b0b - Original-Request: - - req_mjUfrrsi6wJigD - Request-Id: - - req_mjUfrrsi6wJigD - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3O1JWV05GgJ", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269702, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "BTPYPUET", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3O1JWV05GgJ&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mjUfrrsi6wJigD","request_duration_ms":429}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:43 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e7273c1a-4ab5-44b1-9565-b2ff6c8499a5 - Original-Request: - - req_MMjiFtlnqLIuQm - Request-Id: - - req_MMjiFtlnqLIuQm - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3GKuuB1fWySn0J5KWy2R", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269702, - "currency": "eur", - "customer": "cus_TMV3O1JWV05GgJ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3GKuuB1fWySnkZKmuaJy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:43 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3GKuuB1fWySn0J5KWy2R/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MMjiFtlnqLIuQm","request_duration_ms":508}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:43 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 85a19acf-37cb-4aef-814c-3de64916171d - Original-Request: - - req_ERbH9BSQ8n5Gsg - Request-Id: - - req_ERbH9BSQ8n5Gsg - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3GKuuB1fWySn0J5KWy2R", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269702, - "currency": "eur", - "customer": "cus_TMV3O1JWV05GgJ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3GKuuB1fWySn0LkBwpnj", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3GKuuB1fWySnkZKmuaJy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:44 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3GKuuB1fWySn0J5KWy2R - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ERbH9BSQ8n5Gsg","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:44 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_RivIRdFyOpL14V - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3GKuuB1fWySn0J5KWy2R", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269702, - "currency": "eur", - "customer": "cus_TMV3O1JWV05GgJ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3GKuuB1fWySn0LkBwpnj", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3GKuuB1fWySnkZKmuaJy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:44 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3GKuuB1fWySn0J5KWy2R/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RivIRdFyOpL14V","request_duration_ms":301}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:45 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b1445ab3-4f85-4a4d-8672-9c508cf295a8 - Original-Request: - - req_rFd49RgEpGc6Ug - Request-Id: - - req_rFd49RgEpGc6Ug - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3GKuuB1fWySn0J5KWy2R", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269702, - "currency": "eur", - "customer": "cus_TMV3O1JWV05GgJ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3GKuuB1fWySn0LkBwpnj", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3GKuuB1fWySnkZKmuaJy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:45 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3GKuuB1fWySn0J5KWy2R - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rFd49RgEpGc6Ug","request_duration_ms":1124}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:45 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_RUmJo8QySMaptb - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3GKuuB1fWySn0J5KWy2R", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269702, - "currency": "eur", - "customer": "cus_TMV3O1JWV05GgJ", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3GKuuB1fWySn0LkBwpnj", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3GKuuB1fWySnkZKmuaJy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:45 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml deleted file mode 100644 index 21891036f5..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_v2fHXZ7VGVHgdS","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:40 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ee0cbeb7-7016-4049-a070-d0fde159cd93 - Original-Request: - - req_OwidgtpYyvNxYW - Request-Id: - - req_OwidgtpYyvNxYW - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3QUICu9c6FD", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269700, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "MDQMYVIL", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3QUICu9c6FD&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OwidgtpYyvNxYW","request_duration_ms":426}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:40 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 90e1d22f-d87c-4215-b06d-d09b940e4e0e - Original-Request: - - req_faVqL9YaZAHptW - Request-Id: - - req_faVqL9YaZAHptW - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3EKuuB1fWySn0KzntwQp", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269700, - "currency": "eur", - "customer": "cus_TMV3QUICu9c6FD", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3EKuuB1fWySnskvlu89r", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:40 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3EKuuB1fWySn0KzntwQp/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_faVqL9YaZAHptW","request_duration_ms":408}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:41 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 15e06833-2c00-4494-9be7-996af5e16c6a - Original-Request: - - req_vBELYJ6y5ECVLm - Request-Id: - - req_vBELYJ6y5ECVLm - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3EKuuB1fWySn0KzntwQp", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269700, - "currency": "eur", - "customer": "cus_TMV3QUICu9c6FD", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3EKuuB1fWySn0kIs2oXF", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3EKuuB1fWySnskvlu89r", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:41 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3EKuuB1fWySn0KzntwQp - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vBELYJ6y5ECVLm","request_duration_ms":796}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:42 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_AHV4WLFUu2iyhq - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3EKuuB1fWySn0KzntwQp", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269700, - "currency": "eur", - "customer": "cus_TMV3QUICu9c6FD", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3EKuuB1fWySn0kIs2oXF", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3EKuuB1fWySnskvlu89r", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:42 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml deleted file mode 100644 index d3c098024f..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5X9CLAVcyVcDum","request_duration_ms":293}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:48 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e8135c81-d577-417c-bc0d-2fc3327e136b - Original-Request: - - req_GjTOv5lt1rY9JN - Request-Id: - - req_GjTOv5lt1rY9JN - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3unJMfcRjF0", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269708, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "P8HWIZL0", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard_debit&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3unJMfcRjF0&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_GjTOv5lt1rY9JN","request_duration_ms":446}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:49 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1fb366e6-ed0d-4ae3-acaa-37b204b52cbd - Original-Request: - - req_AQvoXZwIgyUyn8 - Request-Id: - - req_AQvoXZwIgyUyn8 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3NKuuB1fWySn2zsStQan", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269709, - "currency": "eur", - "customer": "cus_TMV3unJMfcRjF0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3NKuuB1fWySn5vQlYumP", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:49 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3NKuuB1fWySn2zsStQan/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AQvoXZwIgyUyn8","request_duration_ms":408}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:50 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 5f73f94a-1304-4940-b48e-3e5968d51df9 - Original-Request: - - req_FMmaUEcPrUnE8e - Request-Id: - - req_FMmaUEcPrUnE8e - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3NKuuB1fWySn2zsStQan", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269709, - "currency": "eur", - "customer": "cus_TMV3unJMfcRjF0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3NKuuB1fWySn2Q7uFWVr", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3NKuuB1fWySn5vQlYumP", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:50 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3NKuuB1fWySn2zsStQan - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FMmaUEcPrUnE8e","request_duration_ms":914}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:50 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_3ZRRtxHq5GfZ3N - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3NKuuB1fWySn2zsStQan", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269709, - "currency": "eur", - "customer": "cus_TMV3unJMfcRjF0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3NKuuB1fWySn2Q7uFWVr", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3NKuuB1fWySn5vQlYumP", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:50 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3NKuuB1fWySn2zsStQan/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_3ZRRtxHq5GfZ3N","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:51 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - fd3adf65-f0db-4223-bb15-fe11ac358ce5 - Original-Request: - - req_549soajShvzYla - Request-Id: - - req_549soajShvzYla - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3NKuuB1fWySn2zsStQan", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269709, - "currency": "eur", - "customer": "cus_TMV3unJMfcRjF0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3NKuuB1fWySn2Q7uFWVr", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3NKuuB1fWySn5vQlYumP", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:51 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3NKuuB1fWySn2zsStQan - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_549soajShvzYla","request_duration_ms":1328}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:52 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_9wW10ldMpBQMz2 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3NKuuB1fWySn2zsStQan", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269709, - "currency": "eur", - "customer": "cus_TMV3unJMfcRjF0", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3NKuuB1fWySn2Q7uFWVr", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3NKuuB1fWySn5vQlYumP", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:52 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml deleted file mode 100644 index e9377333eb..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RUmJo8QySMaptb","request_duration_ms":302}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:46 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a725e32e-ac5e-468e-b83f-503d82de9cad - Original-Request: - - req_oVoBRNIpclIkdz - Request-Id: - - req_oVoBRNIpclIkdz - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3ZEtoxH2lnO", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269706, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "ZXHCNBAR", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard_debit&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3ZEtoxH2lnO&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_oVoBRNIpclIkdz","request_duration_ms":421}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:46 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f4c689d1-3e79-467f-9f74-cd087e1325a5 - Original-Request: - - req_9No8Uy1AHexJgG - Request-Id: - - req_9No8Uy1AHexJgG - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3KKuuB1fWySn1mF1mYrN", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269706, - "currency": "eur", - "customer": "cus_TMV3ZEtoxH2lnO", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3KKuuB1fWySnJtDEUcXJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:46 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3KKuuB1fWySn1mF1mYrN/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9No8Uy1AHexJgG","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:47 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - dabd0a31-6ee3-413f-9a4c-00b246dbb673 - Original-Request: - - req_jqtcO682PFwtQ4 - Request-Id: - - req_jqtcO682PFwtQ4 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3KKuuB1fWySn1mF1mYrN", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269706, - "currency": "eur", - "customer": "cus_TMV3ZEtoxH2lnO", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3KKuuB1fWySn1F0liGG2", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3KKuuB1fWySnJtDEUcXJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:47 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3KKuuB1fWySn1mF1mYrN - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jqtcO682PFwtQ4","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:48 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_5X9CLAVcyVcDum - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3KKuuB1fWySn1mF1mYrN", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269706, - "currency": "eur", - "customer": "cus_TMV3ZEtoxH2lnO", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3KKuuB1fWySn1F0liGG2", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3KKuuB1fWySnJtDEUcXJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:48 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml deleted file mode 100644 index f1ca3a481b..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HwCKry1h7qndb6","request_duration_ms":236}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:54 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - dbb52998-e415-4579-bc67-5bad6bdf62ce - Original-Request: - - req_nseSuNQai8wxZ9 - Request-Id: - - req_nseSuNQai8wxZ9 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3A1DQsFtGag", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269714, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "TFUYBX7S", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard_prepaid&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3A1DQsFtGag&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nseSuNQai8wxZ9","request_duration_ms":380}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:55 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c0483a69-8f03-41c8-881d-19cb04f037c5 - Original-Request: - - req_Hyu9et8z2RnJcz - Request-Id: - - req_Hyu9et8z2RnJcz - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3TKuuB1fWySn1lvS1zos", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269715, - "currency": "eur", - "customer": "cus_TMV3A1DQsFtGag", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3TKuuB1fWySn3sJGHYHl", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:55 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3TKuuB1fWySn1lvS1zos/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Hyu9et8z2RnJcz","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:56 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 7ef44519-fb77-40c0-8c6f-5375b75201c2 - Original-Request: - - req_0dNEBCdgjQGbPC - Request-Id: - - req_0dNEBCdgjQGbPC - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3TKuuB1fWySn1lvS1zos", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269715, - "currency": "eur", - "customer": "cus_TMV3A1DQsFtGag", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3TKuuB1fWySn1jhbbmiw", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3TKuuB1fWySn3sJGHYHl", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:56 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3TKuuB1fWySn1lvS1zos - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_0dNEBCdgjQGbPC","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:56 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_vH1RQ9Qf3QswJI - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3TKuuB1fWySn1lvS1zos", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269715, - "currency": "eur", - "customer": "cus_TMV3A1DQsFtGag", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3TKuuB1fWySn1jhbbmiw", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3TKuuB1fWySn3sJGHYHl", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:56 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3TKuuB1fWySn1lvS1zos/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_vH1RQ9Qf3QswJI","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:58 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - '08d8014f-9269-404d-b1f7-c48bdae157a4' - Original-Request: - - req_tCRd8T3tGXGTNP - Request-Id: - - req_tCRd8T3tGXGTNP - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3TKuuB1fWySn1lvS1zos", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269715, - "currency": "eur", - "customer": "cus_TMV3A1DQsFtGag", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3TKuuB1fWySn1jhbbmiw", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3TKuuB1fWySn3sJGHYHl", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:58 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3TKuuB1fWySn1lvS1zos - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tCRd8T3tGXGTNP","request_duration_ms":1532}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:58 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_t2X4MR0htSQgPM - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3TKuuB1fWySn1lvS1zos", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269715, - "currency": "eur", - "customer": "cus_TMV3A1DQsFtGag", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3TKuuB1fWySn1jhbbmiw", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3TKuuB1fWySn3sJGHYHl", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:58 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml deleted file mode 100644 index aa8bc5e65b..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9wW10ldMpBQMz2","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:52 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c88155df-a294-4d0b-8c13-ac16787d2bd2 - Original-Request: - - req_6t9FQOGsGAOImI - Request-Id: - - req_6t9FQOGsGAOImI - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3WBrZX2I5IT", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269712, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "TZEZ1QS8", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_mastercard_prepaid&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3WBrZX2I5IT&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6t9FQOGsGAOImI","request_duration_ms":433}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:53 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e6058f3c-10c4-4031-b84e-43c345c3fea2 - Original-Request: - - req_TTerYC2jrvwaW4 - Request-Id: - - req_TTerYC2jrvwaW4 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3QKuuB1fWySn2OOKgLKY", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269712, - "currency": "eur", - "customer": "cus_TMV3WBrZX2I5IT", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3QKuuB1fWySnFcP6mK8G", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:53 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3QKuuB1fWySn2OOKgLKY/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_TTerYC2jrvwaW4","request_duration_ms":405}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:53 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2b764bb5-6d6d-48cf-b9d2-87837c839ce4 - Original-Request: - - req_NShp7YQCQRNlwn - Request-Id: - - req_NShp7YQCQRNlwn - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3QKuuB1fWySn2OOKgLKY", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269712, - "currency": "eur", - "customer": "cus_TMV3WBrZX2I5IT", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3QKuuB1fWySn2GRr5fqs", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3QKuuB1fWySnFcP6mK8G", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:53 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3QKuuB1fWySn2OOKgLKY - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NShp7YQCQRNlwn","request_duration_ms":800}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:54 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_HwCKry1h7qndb6 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3QKuuB1fWySn2OOKgLKY", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269712, - "currency": "eur", - "customer": "cus_TMV3WBrZX2I5IT", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3QKuuB1fWySn2GRr5fqs", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3QKuuB1fWySnFcP6mK8G", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:54 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml deleted file mode 100644 index b26f095edd..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fVITaF82gVfhPH","request_duration_ms":306}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:26 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 36b0cf45-ae17-44cc-96f9-dc656dec10de - Original-Request: - - req_xb9uXfrz93xhyz - Request-Id: - - req_xb9uXfrz93xhyz - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4cHLyUv6m1I", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269746, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "D3B5P39F", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_unionpay&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4cHLyUv6m1I&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xb9uXfrz93xhyz","request_duration_ms":431}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:27 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d75e1327-eb40-450c-bab8-5b3968d5c355 - Original-Request: - - req_pAjo25mWJG3oMu - Request-Id: - - req_pAjo25mWJG3oMu - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3zKuuB1fWySn1BpK6wK3", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269747, - "currency": "eur", - "customer": "cus_TMV4cHLyUv6m1I", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3yKuuB1fWySnF8eWtfbv", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:27 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3zKuuB1fWySn1BpK6wK3/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_pAjo25mWJG3oMu","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:28 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 51e474b5-bec8-4df7-932a-7d4b98937d6e - Original-Request: - - req_xrMFzG0VHtH71p - Request-Id: - - req_xrMFzG0VHtH71p - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3zKuuB1fWySn1BpK6wK3", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269747, - "currency": "eur", - "customer": "cus_TMV4cHLyUv6m1I", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3zKuuB1fWySn1BDciiVi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3yKuuB1fWySnF8eWtfbv", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:28 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3zKuuB1fWySn1BpK6wK3 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xrMFzG0VHtH71p","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:28 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_HnrpBgoNu6YX05 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3zKuuB1fWySn1BpK6wK3", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269747, - "currency": "eur", - "customer": "cus_TMV4cHLyUv6m1I", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3zKuuB1fWySn1BDciiVi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3yKuuB1fWySnF8eWtfbv", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:28 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3zKuuB1fWySn1BpK6wK3/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_HnrpBgoNu6YX05","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:29 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c701ba56-bb6e-4b85-a16e-fefd9e9a2baa - Original-Request: - - req_AvHp3NcPfcqkoX - Request-Id: - - req_AvHp3NcPfcqkoX - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3zKuuB1fWySn1BpK6wK3", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269747, - "currency": "eur", - "customer": "cus_TMV4cHLyUv6m1I", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3zKuuB1fWySn1BDciiVi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3yKuuB1fWySnF8eWtfbv", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:29 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3zKuuB1fWySn1BpK6wK3 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_AvHp3NcPfcqkoX","request_duration_ms":1123}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:29 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_3wkReeHnOHSZuD - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3zKuuB1fWySn1BpK6wK3", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269747, - "currency": "eur", - "customer": "cus_TMV4cHLyUv6m1I", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3zKuuB1fWySn1BDciiVi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3yKuuB1fWySnF8eWtfbv", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:29 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml deleted file mode 100644 index 475e5ae17c..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RZIZc1v4Yls5Wd","request_duration_ms":271}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:23 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e41758f5-4917-45b5-add2-2c50d13a18e0 - Original-Request: - - req_9EwJtgXOBZfwQj - Request-Id: - - req_9EwJtgXOBZfwQj - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV4dHnFeh0cKk", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269743, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "2UQXN0VD", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:22: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_card_unionpay&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV4dHnFeh0cKk&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9EwJtgXOBZfwQj","request_duration_ms":361}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:24 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 62783b1e-6870-4285-aa9b-4fa742a0c695 - Original-Request: - - req_dVLbhkibs8go0H - Request-Id: - - req_dVLbhkibs8go0H - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3wKuuB1fWySn05iSP7iq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269744, - "currency": "eur", - "customer": "cus_TMV4dHnFeh0cKk", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3wKuuB1fWySnfgF4FMuW", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:24 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3wKuuB1fWySn05iSP7iq/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dVLbhkibs8go0H","request_duration_ms":478}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:25 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d9a32096-5fff-470d-be33-993034d33293 - Original-Request: - - req_1bHgHV9vDcAjPY - Request-Id: - - req_1bHgHV9vDcAjPY - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3wKuuB1fWySn05iSP7iq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269744, - "currency": "eur", - "customer": "cus_TMV4dHnFeh0cKk", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3wKuuB1fWySn05U5v4NI", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3wKuuB1fWySnfgF4FMuW", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:25 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3wKuuB1fWySn05iSP7iq - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1bHgHV9vDcAjPY","request_duration_ms":1021}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:22:26 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_fVITaF82gVfhPH - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3wKuuB1fWySn05iSP7iq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269744, - "currency": "eur", - "customer": "cus_TMV4dHnFeh0cKk", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3wKuuB1fWySn05U5v4NI", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3wKuuB1fWySnfgF4FMuW", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:22:26 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml deleted file mode 100644 index b5507d87ec..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ssKjMkNLINPML5","request_duration_ms":323}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:30 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 15611e3b-5d3c-4827-b02a-3faeea0f536c - Original-Request: - - req_fIGBwASYQuGMSS - Request-Id: - - req_fIGBwASYQuGMSS - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3ZjjmefXqUC", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269690, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "ST63YJLF", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_visa&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3ZjjmefXqUC&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_fIGBwASYQuGMSS","request_duration_ms":448}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:31 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c41c61da-65eb-4724-91c4-65c8200d0064 - Original-Request: - - req_NMZg6DL0Vp37wp - Request-Id: - - req_NMZg6DL0Vp37wp - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm35KuuB1fWySn0WkLvEQg", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269691, - "currency": "eur", - "customer": "cus_TMV3ZjjmefXqUC", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm34KuuB1fWySn93wwKowN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:31 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm35KuuB1fWySn0WkLvEQg/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NMZg6DL0Vp37wp","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:31 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 7e987720-6484-4415-b908-e4a89ab2ca82 - Original-Request: - - req_eptoxXoiZxdqsM - Request-Id: - - req_eptoxXoiZxdqsM - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm35KuuB1fWySn0WkLvEQg", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269691, - "currency": "eur", - "customer": "cus_TMV3ZjjmefXqUC", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm35KuuB1fWySn0dSeGO74", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm34KuuB1fWySn93wwKowN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:31 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm35KuuB1fWySn0WkLvEQg - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eptoxXoiZxdqsM","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:32 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_eOq4wZthLAUeO1 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm35KuuB1fWySn0WkLvEQg", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269691, - "currency": "eur", - "customer": "cus_TMV3ZjjmefXqUC", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm35KuuB1fWySn0dSeGO74", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm34KuuB1fWySn93wwKowN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:32 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm35KuuB1fWySn0WkLvEQg/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eOq4wZthLAUeO1","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:33 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - bea96520-84fc-4fe7-b0b6-23fe3c39e051 - Original-Request: - - req_ZJcMQfRaJCveFD - Request-Id: - - req_ZJcMQfRaJCveFD - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm35KuuB1fWySn0WkLvEQg", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269691, - "currency": "eur", - "customer": "cus_TMV3ZjjmefXqUC", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm35KuuB1fWySn0dSeGO74", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm34KuuB1fWySn93wwKowN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:33 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm35KuuB1fWySn0WkLvEQg - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ZJcMQfRaJCveFD","request_duration_ms":1226}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:33 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_JtpdUOxT20R7dj - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm35KuuB1fWySn0WkLvEQg", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269691, - "currency": "eur", - "customer": "cus_TMV3ZjjmefXqUC", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm35KuuB1fWySn0dSeGO74", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm34KuuB1fWySn93wwKowN", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:33 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml deleted file mode 100644 index 289ccd8efd..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6fTBz29JVpeUDh","request_duration_ms":454}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:28 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 909ed895-5f4b-4bc1-bab3-20ba5581a79a - Original-Request: - - req_x8BbOEGaySR4K1 - Request-Id: - - req_x8BbOEGaySR4K1 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3sIulxMqiLr", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269688, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "ODBV65LY", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_visa&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3sIulxMqiLr&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_x8BbOEGaySR4K1","request_duration_ms":446}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:28 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 36fa8e94-7006-4aaf-81a1-bd76b5cc50bc - Original-Request: - - req_nx6EXRtMo3Dbgb - Request-Id: - - req_nx6EXRtMo3Dbgb - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm32KuuB1fWySn0QSgiUfT", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269688, - "currency": "eur", - "customer": "cus_TMV3sIulxMqiLr", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm32KuuB1fWySnEWgvJZWD", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:28 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm32KuuB1fWySn0QSgiUfT/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nx6EXRtMo3Dbgb","request_duration_ms":367}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:29 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 5a20a245-4f07-4e1e-8438-04d5c662e2dc - Original-Request: - - req_OFG2mTuIGWOcdk - Request-Id: - - req_OFG2mTuIGWOcdk - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm32KuuB1fWySn0QSgiUfT", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269688, - "currency": "eur", - "customer": "cus_TMV3sIulxMqiLr", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm32KuuB1fWySn0IDWU7TO", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm32KuuB1fWySnEWgvJZWD", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:29 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm32KuuB1fWySn0QSgiUfT - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OFG2mTuIGWOcdk","request_duration_ms":856}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:30 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_ssKjMkNLINPML5 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm32KuuB1fWySn0QSgiUfT", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269688, - "currency": "eur", - "customer": "cus_TMV3sIulxMqiLr", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm32KuuB1fWySn0IDWU7TO", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm32KuuB1fWySnEWgvJZWD", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:30 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml deleted file mode 100644 index 47399bbcdb..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml +++ /dev/null @@ -1,764 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FkDzRbUOeYS8VU","request_duration_ms":318}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:36 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f848ea3c-c148-4108-923d-03e975e2cbb0 - Original-Request: - - req_L1Jr4kmmWEqu2z - Request-Id: - - req_L1Jr4kmmWEqu2z - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3ohaEJQyLeF", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269696, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "6A7PVXIL", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_visa_debit&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3ohaEJQyLeF&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L1Jr4kmmWEqu2z","request_duration_ms":440}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:37 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 27a9e903-8dc0-43ca-9282-ed5680825a86 - Original-Request: - - req_1DP1AuUDIAaA2E - Request-Id: - - req_1DP1AuUDIAaA2E - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3BKuuB1fWySn0Z0IUxAL", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269697, - "currency": "eur", - "customer": "cus_TMV3ohaEJQyLeF", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3AKuuB1fWySn5mf362tZ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:37 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3BKuuB1fWySn0Z0IUxAL/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1DP1AuUDIAaA2E","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:38 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - edfc03be-6018-4905-ba76-a9148b0366cf - Original-Request: - - req_SUCrw6bUJV5riz - Request-Id: - - req_SUCrw6bUJV5riz - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3BKuuB1fWySn0Z0IUxAL", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269697, - "currency": "eur", - "customer": "cus_TMV3ohaEJQyLeF", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3BKuuB1fWySn0iyUIF8t", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3AKuuB1fWySn5mf362tZ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:38 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3BKuuB1fWySn0Z0IUxAL - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_SUCrw6bUJV5riz","request_duration_ms":917}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:38 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_x5AY1bhlH9ncm0 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3BKuuB1fWySn0Z0IUxAL", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269697, - "currency": "eur", - "customer": "cus_TMV3ohaEJQyLeF", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3BKuuB1fWySn0iyUIF8t", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3AKuuB1fWySn5mf362tZ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:38 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3BKuuB1fWySn0Z0IUxAL/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_x5AY1bhlH9ncm0","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:39 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 16906498-5293-43b7-87ab-9415c3f293ac - Original-Request: - - req_1gFgOmSuCTOnt6 - Request-Id: - - req_1gFgOmSuCTOnt6 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3BKuuB1fWySn0Z0IUxAL", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269697, - "currency": "eur", - "customer": "cus_TMV3ohaEJQyLeF", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3BKuuB1fWySn0iyUIF8t", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3AKuuB1fWySn5mf362tZ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:39 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm3BKuuB1fWySn0Z0IUxAL - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_1gFgOmSuCTOnt6","request_duration_ms":1123}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:39 GMT - Content-Type: - - application/json - Content-Length: - - '1424' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_v2fHXZ7VGVHgdS - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm3BKuuB1fWySn0Z0IUxAL", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269697, - "currency": "eur", - "customer": "cus_TMV3ohaEJQyLeF", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm3BKuuB1fWySn0iyUIF8t", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm3AKuuB1fWySn5mf362tZ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:39 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml deleted file mode 100644 index cbb54b816a..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_Stripe_customer/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml +++ /dev/null @@ -1,504 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/customers - body: - encoding: UTF-8 - string: name=Apple+Customer&email=applecustomer%40example.com - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JtpdUOxT20R7dj","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:34 GMT - Content-Type: - - application/json - Content-Length: - - '649' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 3ddb168c-bc02-459f-92c9-652c91c6024c - Original-Request: - - req_imSVbYo7xHwP68 - Request-Id: - - req_imSVbYo7xHwP68 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "cus_TMV3HliSyh7d9Z", - "object": "customer", - "address": null, - "balance": 0, - "created": 1762269694, - "currency": null, - "default_source": null, - "delinquent": false, - "description": null, - "discount": null, - "email": "applecustomer@example.com", - "invoice_prefix": "KE8IMXYR", - "invoice_settings": { - "custom_fields": null, - "default_payment_method": null, - "footer": null, - "rendering_options": null - }, - "livemode": false, - "metadata": {}, - "name": "Apple Customer", - "next_invoice_sequence": 1, - "phone": null, - "preferred_locales": [], - "shipping": null, - "tax_exempt": "none", - "test_clock": null - } - recorded_at: Tue, 04 Nov 2025 15:21: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_card_visa_debit&payment_method_types[0]=card&capture_method=manual&customer=cus_TMV3HliSyh7d9Z&setup_future_usage=off_session - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_imSVbYo7xHwP68","request_duration_ms":414}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:34 GMT - Content-Type: - - application/json - Content-Length: - - '1409' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 0fe1175f-2e37-4106-ad25-3ed695a8bfbb - Original-Request: - - req_a0XwsquFFWf8SG - Request-Id: - - req_a0XwsquFFWf8SG - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm38KuuB1fWySn2YWeA2Xy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269694, - "currency": "eur", - "customer": "cus_TMV3HliSyh7d9Z", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm38KuuB1fWySnkeFffFVu", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:34 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm38KuuB1fWySn2YWeA2Xy/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_a0XwsquFFWf8SG","request_duration_ms":403}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:35 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 4bc0834e-9eaf-4369-9d5c-52c340a1efbd - Original-Request: - - req_Ny7gTY65VbENYG - Request-Id: - - req_Ny7gTY65VbENYG - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm38KuuB1fWySn2YWeA2Xy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269694, - "currency": "eur", - "customer": "cus_TMV3HliSyh7d9Z", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm38KuuB1fWySn2pvgwmTi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm38KuuB1fWySnkeFffFVu", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:35 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm38KuuB1fWySn2YWeA2Xy - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ny7gTY65VbENYG","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:36 GMT - Content-Type: - - application/json - Content-Length: - - '1431' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_FkDzRbUOeYS8VU - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm38KuuB1fWySn2YWeA2Xy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269694, - "currency": "eur", - "customer": "cus_TMV3HliSyh7d9Z", - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm38KuuB1fWySn2pvgwmTi", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm38KuuB1fWySnkeFffFVu", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": "off_session", - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:36 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 408f4147ab..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Exceeding_velocity_limit_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,395 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_chargeDeclinedVelocityLimitExceeded&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ozbqhh8eUJOEbQ","request_duration_ms":431}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:26 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 0cc5f888-d853-4e41-9166-13f254e06b88 - Original-Request: - - req_6fTBz29JVpeUDh - Request-Id: - - req_6fTBz29JVpeUDh - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm30KuuB1fWySn0DHwuZ78", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269686, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm30KuuB1fWySnUyf0SV2b", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:26 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm30KuuB1fWySn0DHwuZ78/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6fTBz29JVpeUDh","request_duration_ms":454}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:27 GMT - Content-Type: - - application/json - Content-Length: - - '5401' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1261e85b-82a8-4b4c-9905-3c4631d384fa - Original-Request: - - req_9kF6NbrJU4MDGC - Request-Id: - - req_9kF6NbrJU4MDGC - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm30KuuB1fWySn0tFyp3FO", - "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.", - "network_advice_code": "02", - "network_decline_code": "61", - "payment_intent": { - "id": "pi_3SPm30KuuB1fWySn0DHwuZ78", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269686, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm30KuuB1fWySn0tFyp3FO", - "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.", - "network_advice_code": "02", - "network_decline_code": "61", - "payment_method": { - "id": "pm_1SPm30KuuB1fWySnUyf0SV2b", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "WoxwxVPUPcg0EjXW", - "funding": "credit", - "generated_from": null, - "last4": "6975", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269686, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm30KuuB1fWySn0tFyp3FO", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm30KuuB1fWySnUyf0SV2b", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "WoxwxVPUPcg0EjXW", - "funding": "credit", - "generated_from": null, - "last4": "6975", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269686, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_9kF6NbrJU4MDGC?t=1762269687", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:27 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index ff07c7270e..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Expired_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,397 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_chargeDeclinedExpiredCard&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hgVqPqP0kQeX7L","request_duration_ms":365}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:22 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 9a30b742-3549-4c6c-b461-5da7e6d4f64a - Original-Request: - - req_CuALRo8pOOhOph - Request-Id: - - req_CuALRo8pOOhOph - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2wKuuB1fWySn0GM35R9L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269682, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2wKuuB1fWySnpvwUEWLQ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:22 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2wKuuB1fWySn0GM35R9L/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CuALRo8pOOhOph","request_duration_ms":486}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:23 GMT - Content-Type: - - application/json - Content-Length: - - '5287' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f5a6f8c0-4b47-4ad9-a98f-a7777748e8b3 - Original-Request: - - req_ZrcIQE9sa0p9xP - Request-Id: - - req_ZrcIQE9sa0p9xP - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm2wKuuB1fWySn0hXXkGqf", - "code": "expired_card", - "decline_code": "expired_card", - "doc_url": "https://stripe.com/docs/error-codes/expired-card", - "message": "Your card has expired.", - "network_advice_code": "03", - "network_decline_code": "54", - "param": "exp_month", - "payment_intent": { - "id": "pi_3SPm2wKuuB1fWySn0GM35R9L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269682, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm2wKuuB1fWySn0hXXkGqf", - "code": "expired_card", - "decline_code": "expired_card", - "doc_url": "https://stripe.com/docs/error-codes/expired-card", - "message": "Your card has expired.", - "network_advice_code": "03", - "network_decline_code": "54", - "param": "exp_month", - "payment_method": { - "id": "pm_1SPm2wKuuB1fWySnpvwUEWLQ", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "qpQikrTL7IyNA2rE", - "funding": "credit", - "generated_from": null, - "last4": "0069", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269682, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2wKuuB1fWySn0hXXkGqf", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2wKuuB1fWySnpvwUEWLQ", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "qpQikrTL7IyNA2rE", - "funding": "credit", - "generated_from": null, - "last4": "0069", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269682, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_ZrcIQE9sa0p9xP?t=1762269682", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:23 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index e5ca252f5f..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Generic_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,393 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_chargeDeclined&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5CIpvnDhDIarDL","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:17 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d0444456-b687-4f5c-8faa-1a2d60c8bed9 - Original-Request: - - req_PQHkSOq660eMoX - Request-Id: - - req_PQHkSOq660eMoX - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2rKuuB1fWySn2VoeQmcZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269677, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2rKuuB1fWySnfL2NbT7r", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:17 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2rKuuB1fWySn2VoeQmcZ/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PQHkSOq660eMoX","request_duration_ms":433}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:18 GMT - Content-Type: - - application/json - Content-Length: - - '5169' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 97c3d572-ad4a-43f6-a48c-c151f900c0c9 - Original-Request: - - req_1nuW9Wk7sFx2FL - Request-Id: - - req_1nuW9Wk7sFx2FL - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2rKuuB1fWySn2Ls2JIR2", - "code": "card_declined", - "decline_code": "generic_decline", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_decline_code": "01", - "payment_intent": { - "id": "pi_3SPm2rKuuB1fWySn2VoeQmcZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269677, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2rKuuB1fWySn2Ls2JIR2", - "code": "card_declined", - "decline_code": "generic_decline", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_decline_code": "01", - "payment_method": { - "id": "pm_1SPm2rKuuB1fWySnfL2NbT7r", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "IKC2ubfpSLuZKsVs", - "funding": "credit", - "generated_from": null, - "last4": "0002", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269677, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2rKuuB1fWySn2Ls2JIR2", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2rKuuB1fWySnfL2NbT7r", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "IKC2ubfpSLuZKsVs", - "funding": "credit", - "generated_from": null, - "last4": "0002", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269677, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_1nuW9Wk7sFx2FL?t=1762269677", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:18 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index e4a32998bf..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Incorrect_CVC_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,397 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_chargeDeclinedIncorrectCvc&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_CuALRo8pOOhOph","request_duration_ms":486}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:24 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ea94cab2-851b-496f-9ccd-d799a6fa7d23 - Original-Request: - - req_idKAdtspY0JRr0 - Request-Id: - - req_idKAdtspY0JRr0 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2yKuuB1fWySn0ER90hy4", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269684, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2xKuuB1fWySn8IBrPLl3", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:24 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2yKuuB1fWySn0ER90hy4/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_idKAdtspY0JRr0","request_duration_ms":496}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:25 GMT - Content-Type: - - application/json - Content-Length: - - '5315' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 313161c8-49bd-4f3f-ba91-8983910b8c1c - Original-Request: - - req_hyonSi2U6XY4PF - Request-Id: - - req_hyonSi2U6XY4PF - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm2yKuuB1fWySn0NnDqz87", - "code": "incorrect_cvc", - "decline_code": "incorrect_cvc", - "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", - "message": "Your card's security code is incorrect.", - "network_advice_code": "03", - "network_decline_code": "N7", - "param": "cvc", - "payment_intent": { - "id": "pi_3SPm2yKuuB1fWySn0ER90hy4", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269684, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "confirm_card_data", - "charge": "ch_3SPm2yKuuB1fWySn0NnDqz87", - "code": "incorrect_cvc", - "decline_code": "incorrect_cvc", - "doc_url": "https://stripe.com/docs/error-codes/incorrect-cvc", - "message": "Your card's security code is incorrect.", - "network_advice_code": "03", - "network_decline_code": "N7", - "param": "cvc", - "payment_method": { - "id": "pm_1SPm2xKuuB1fWySn8IBrPLl3", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "eWmxEL5j3bNdPnK5", - "funding": "credit", - "generated_from": null, - "last4": "0127", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269684, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2yKuuB1fWySn0NnDqz87", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2xKuuB1fWySn8IBrPLl3", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "eWmxEL5j3bNdPnK5", - "funding": "credit", - "generated_from": null, - "last4": "0127", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269684, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_hyonSi2U6XY4PF?t=1762269684", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:25 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 75885e1082..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Insufficient_funds_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,395 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_chargeDeclinedInsufficientFunds&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PQHkSOq660eMoX","request_duration_ms":433}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:18 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 130025a7-8427-4129-a0ec-fc614a543958 - Original-Request: - - req_L7EOub6EqMkI80 - Request-Id: - - req_L7EOub6EqMkI80 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2sKuuB1fWySn0wLL02g2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269678, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2sKuuB1fWySnoKOJk1QW", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:18 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2sKuuB1fWySn0wLL02g2/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L7EOub6EqMkI80","request_duration_ms":452}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:19 GMT - Content-Type: - - application/json - Content-Length: - - '5265' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - eec775cd-7c69-43d6-b4b2-5f1fa0d2836c - Original-Request: - - req_SQIf4LlwlcYsNE - Request-Id: - - req_SQIf4LlwlcYsNE - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2sKuuB1fWySn06wIMGz3", - "code": "card_declined", - "decline_code": "insufficient_funds", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card has insufficient funds.", - "network_advice_code": "02", - "network_decline_code": "51", - "payment_intent": { - "id": "pi_3SPm2sKuuB1fWySn0wLL02g2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269678, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2sKuuB1fWySn06wIMGz3", - "code": "card_declined", - "decline_code": "insufficient_funds", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card has insufficient funds.", - "network_advice_code": "02", - "network_decline_code": "51", - "payment_method": { - "id": "pm_1SPm2sKuuB1fWySnoKOJk1QW", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "O0I0muUGQBJy3p73", - "funding": "credit", - "generated_from": null, - "last4": "9995", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269678, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2sKuuB1fWySn06wIMGz3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2sKuuB1fWySnoKOJk1QW", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "O0I0muUGQBJy3p73", - "funding": "credit", - "generated_from": null, - "last4": "9995", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269678, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_SQIf4LlwlcYsNE?t=1762269678", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:19 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 3b7e659645..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Lost_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,395 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_chargeDeclinedLostCard&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_L7EOub6EqMkI80","request_duration_ms":452}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:20 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1045790d-7d60-43c4-8bd5-43c5e7bf0e65 - Original-Request: - - req_kPI8zCbkURteAy - Request-Id: - - req_kPI8zCbkURteAy - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2uKuuB1fWySn2ehmeG2A", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269680, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2tKuuB1fWySnKDXop5HV", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:20 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2uKuuB1fWySn2ehmeG2A/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kPI8zCbkURteAy","request_duration_ms":444}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:20 GMT - Content-Type: - - application/json - Content-Length: - - '5229' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1eac00d1-8994-4f39-b087-e7b52ff46ce4 - Original-Request: - - req_79FlNaVVDA55xU - Request-Id: - - req_79FlNaVVDA55xU - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm2uKuuB1fWySn2JzPtRdI", - "code": "card_declined", - "decline_code": "lost_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "41", - "payment_intent": { - "id": "pi_3SPm2uKuuB1fWySn2ehmeG2A", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269680, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm2uKuuB1fWySn2JzPtRdI", - "code": "card_declined", - "decline_code": "lost_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "41", - "payment_method": { - "id": "pm_1SPm2tKuuB1fWySnKDXop5HV", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "hMDekBwrnWL1oLxe", - "funding": "credit", - "generated_from": null, - "last4": "9987", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269679, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2uKuuB1fWySn2JzPtRdI", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2tKuuB1fWySnKDXop5HV", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "hMDekBwrnWL1oLxe", - "funding": "credit", - "generated_from": null, - "last4": "9987", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269679, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_79FlNaVVDA55xU?t=1762269680", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:20 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 4a5c8d01a7..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Processing_error_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,393 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_chargeDeclinedProcessingError&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_idKAdtspY0JRr0","request_duration_ms":496}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:25 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 50f2600e-2350-408b-8987-d4960217c63b - Original-Request: - - req_Ozbqhh8eUJOEbQ - Request-Id: - - req_Ozbqhh8eUJOEbQ - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2zKuuB1fWySn2Vq2ASvB", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269685, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2zKuuB1fWySnSgTDu2NI", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:25 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2zKuuB1fWySn2Vq2ASvB/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Ozbqhh8eUJOEbQ","request_duration_ms":431}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:26 GMT - Content-Type: - - application/json - Content-Length: - - '5281' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ee7e7694-6d83-445c-a9ed-436b54b45ec5 - Original-Request: - - req_UppubEIdI4Dmt1 - Request-Id: - - req_UppubEIdI4Dmt1 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2zKuuB1fWySn2VANflfs", - "code": "processing_error", - "decline_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.", - "network_decline_code": "06", - "payment_intent": { - "id": "pi_3SPm2zKuuB1fWySn2Vq2ASvB", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269685, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "try_again_later", - "charge": "ch_3SPm2zKuuB1fWySn2VANflfs", - "code": "processing_error", - "decline_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.", - "network_decline_code": "06", - "payment_method": { - "id": "pm_1SPm2zKuuB1fWySnSgTDu2NI", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "9HWWxe4EyniQy61z", - "funding": "credit", - "generated_from": null, - "last4": "0119", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269685, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2zKuuB1fWySn2VANflfs", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2zKuuB1fWySnSgTDu2NI", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "9HWWxe4EyniQy61z", - "funding": "credit", - "generated_from": null, - "last4": "0119", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269685, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_UppubEIdI4Dmt1?t=1762269685", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:26 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml deleted file mode 100644 index 5d6d9b6275..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_invalid/from_Stolen_card_decline/raises_Stripe_error_with_payment_intent_last_payment_error_as_message.yml +++ /dev/null @@ -1,395 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_chargeDeclinedStolenCard&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kPI8zCbkURteAy","request_duration_ms":444}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:21 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 112eb4ea-1509-4487-b2dc-ba7afbb87171 - Original-Request: - - req_hgVqPqP0kQeX7L - Request-Id: - - req_hgVqPqP0kQeX7L - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2vKuuB1fWySn0hX8fTtQ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269681, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2vKuuB1fWySnKdBITLa0", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:21 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2vKuuB1fWySn0hX8fTtQ/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hgVqPqP0kQeX7L","request_duration_ms":365}}' - Stripe-Version: - - '2024-06-20' - X-Stripe-Client-User-Agent: - - "" - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 402 - message: Payment Required - headers: - Server: - - nginx - Date: - - Tue, 04 Nov 2025 15:21:22 GMT - Content-Type: - - application/json - Content-Length: - - '5233' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 617b2682-b821-4ab8-9857-c3c33d068fdf - Original-Request: - - req_yR57mJtDCX5Nsn - Request-Id: - - req_yR57mJtDCX5Nsn - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm2vKuuB1fWySn0xzfbG2m", - "code": "card_declined", - "decline_code": "stolen_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "43", - "payment_intent": { - "id": "pi_3SPm2vKuuB1fWySn0hX8fTtQ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269681, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": { - "advice_code": "do_not_try_again", - "charge": "ch_3SPm2vKuuB1fWySn0xzfbG2m", - "code": "card_declined", - "decline_code": "stolen_card", - "doc_url": "https://stripe.com/docs/error-codes/card-declined", - "message": "Your card was declined.", - "network_advice_code": "01", - "network_decline_code": "43", - "payment_method": { - "id": "pm_1SPm2vKuuB1fWySnKdBITLa0", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "1pjhEFFOW1eCi1AB", - "funding": "credit", - "generated_from": null, - "last4": "9979", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269681, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "type": "card_error" - }, - "latest_charge": "ch_3SPm2vKuuB1fWySn0xzfbG2m", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": null, - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_payment_method", - "transfer_data": null, - "transfer_group": null - }, - "payment_method": { - "id": "pm_1SPm2vKuuB1fWySnKdBITLa0", - "object": "payment_method", - "allow_redisplay": "unspecified", - "billing_details": { - "address": { - "city": null, - "country": null, - "line1": null, - "line2": null, - "postal_code": null, - "state": null - }, - "email": null, - "name": null, - "phone": null, - "tax_id": null - }, - "card": { - "brand": "visa", - "checks": { - "address_line1_check": null, - "address_postal_code_check": null, - "cvc_check": "pass" - }, - "country": "US", - "display_brand": "visa", - "exp_month": 11, - "exp_year": 2026, - "fingerprint": "1pjhEFFOW1eCi1AB", - "funding": "credit", - "generated_from": null, - "last4": "9979", - "networks": { - "available": [ - "visa" - ], - "preferred": null - }, - "regulated_status": "unregulated", - "three_d_secure_usage": { - "supported": true - }, - "wallet": null - }, - "created": 1762269681, - "customer": null, - "livemode": false, - "metadata": {}, - "type": "card" - }, - "request_log_url": "https://dashboard.stripe.com/test/logs/req_yR57mJtDCX5Nsn?t=1762269681", - "type": "card_error" - } - } - recorded_at: Tue, 04 Nov 2025 15:21:22 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml deleted file mode 100644 index 15a09259e8..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_amex&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_xKsMfe0QOD6Jlm","request_duration_ms":357}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:55 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ec8fac6e-7e7e-4e6c-af68-e815ba981368 - Original-Request: - - req_IHsPJSS3ufHy2V - Request-Id: - - req_IHsPJSS3ufHy2V - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2UKuuB1fWySn2uWU7iDX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269654, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2UKuuB1fWySnE7AXXpoy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:55 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2UKuuB1fWySn2uWU7iDX/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IHsPJSS3ufHy2V","request_duration_ms":432}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:55 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 3564ff0a-f42d-48bd-b2bb-e57c21be7e42 - Original-Request: - - req_I54oPucZFI40zn - Request-Id: - - req_I54oPucZFI40zn - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2UKuuB1fWySn2uWU7iDX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269654, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2UKuuB1fWySn23oHweLh", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2UKuuB1fWySnE7AXXpoy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:55 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2UKuuB1fWySn2uWU7iDX - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_I54oPucZFI40zn","request_duration_ms":728}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:56 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_5bDjgpWI5cAyuE - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2UKuuB1fWySn2uWU7iDX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269654, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2UKuuB1fWySn23oHweLh", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2UKuuB1fWySnE7AXXpoy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:56 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2UKuuB1fWySn2uWU7iDX/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5bDjgpWI5cAyuE","request_duration_ms":290}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:57 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - d72fc589-f318-460e-8b0f-7514bb2ff4e3 - Original-Request: - - req_hqVcefJrK8y71G - Request-Id: - - req_hqVcefJrK8y71G - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2UKuuB1fWySn2uWU7iDX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269654, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2UKuuB1fWySn23oHweLh", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2UKuuB1fWySnE7AXXpoy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:57 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2UKuuB1fWySn2uWU7iDX - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_hqVcefJrK8y71G","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:57 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_ffLSU0WFFGDxcm - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2UKuuB1fWySn2uWU7iDX", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269654, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2UKuuB1fWySn23oHweLh", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2UKuuB1fWySnE7AXXpoy", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:57 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml deleted file mode 100644 index a9d198878d..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_American_Express/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_amex&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dKXW8nIMyrACah","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:52 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ed97ebc5-cee1-492e-9838-52bfad2abdeb - Original-Request: - - req_yK9wtkr7LYh2ft - Request-Id: - - req_yK9wtkr7LYh2ft - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2SKuuB1fWySn22eEAkp6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269652, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2SKuuB1fWySnZqxX5agY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:52 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2SKuuB1fWySn22eEAkp6/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yK9wtkr7LYh2ft","request_duration_ms":419}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:53 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2617014b-59b1-47e7-9e03-0110cd368583 - Original-Request: - - req_FDAJhiZhsnz8vX - Request-Id: - - req_FDAJhiZhsnz8vX - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2SKuuB1fWySn22eEAkp6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269652, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2SKuuB1fWySn2SQA3wNs", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2SKuuB1fWySnZqxX5agY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:53 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2SKuuB1fWySn22eEAkp6 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_FDAJhiZhsnz8vX","request_duration_ms":745}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:54 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_xKsMfe0QOD6Jlm - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2SKuuB1fWySn22eEAkp6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269652, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2SKuuB1fWySn2SQA3wNs", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2SKuuB1fWySnZqxX5agY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:54 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml deleted file mode 100644 index 616b25d766..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_diners&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yh9Ec1XUENZcqI","request_duration_ms":311}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:04 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - db8528e8-e2d3-4b0b-ba0a-dbf13fbbbe40 - Original-Request: - - req_T7nKrsu4EEdY0B - Request-Id: - - req_T7nKrsu4EEdY0B - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2eKuuB1fWySn13MCco1e", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269664, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2eKuuB1fWySnT8UfTO7e", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:04 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2eKuuB1fWySn13MCco1e/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T7nKrsu4EEdY0B","request_duration_ms":448}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:05 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f88393ae-19f3-4c96-9dc7-7480f07513d6 - Original-Request: - - req_emI6gL3NGqvKqo - Request-Id: - - req_emI6gL3NGqvKqo - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2eKuuB1fWySn13MCco1e", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269664, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2eKuuB1fWySn1Mchi2SQ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2eKuuB1fWySnT8UfTO7e", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:05 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2eKuuB1fWySn13MCco1e - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_emI6gL3NGqvKqo","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:05 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_2EnUqJWy9aSe5G - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2eKuuB1fWySn13MCco1e", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269664, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2eKuuB1fWySn1Mchi2SQ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2eKuuB1fWySnT8UfTO7e", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:05 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2eKuuB1fWySn13MCco1e/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_2EnUqJWy9aSe5G","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:06 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c104c1da-fe47-42b8-99b0-acb41b1f8a37 - Original-Request: - - req_bC9H51KEHI4FGD - Request-Id: - - req_bC9H51KEHI4FGD - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2eKuuB1fWySn13MCco1e", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269664, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2eKuuB1fWySn1Mchi2SQ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2eKuuB1fWySnT8UfTO7e", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:06 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2eKuuB1fWySn13MCco1e - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bC9H51KEHI4FGD","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:07 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_MC506VUZNwHhm9 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2eKuuB1fWySn13MCco1e", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269664, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2eKuuB1fWySn1Mchi2SQ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2eKuuB1fWySnT8UfTO7e", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:07 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml deleted file mode 100644 index 42671cee33..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Diners_Club/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_diners&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9IevU2yM14pyGk","request_duration_ms":238}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:02 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c979eb1c-d66e-4bac-a759-0d9c9525ac52 - Original-Request: - - req_zvC9oMUqhUY5Ct - Request-Id: - - req_zvC9oMUqhUY5Ct - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2cKuuB1fWySn0Y88ESEC", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269662, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2cKuuB1fWySn4FgMXZEh", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:02 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2cKuuB1fWySn0Y88ESEC/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zvC9oMUqhUY5Ct","request_duration_ms":356}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:03 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2237918f-0657-440f-b6d9-8ff7319c19ce - Original-Request: - - req_VoKav4r5Ro40qc - Request-Id: - - req_VoKav4r5Ro40qc - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2cKuuB1fWySn0Y88ESEC", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269662, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2cKuuB1fWySn0tmQLp7O", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2cKuuB1fWySn4FgMXZEh", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:03 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2cKuuB1fWySn0Y88ESEC - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VoKav4r5Ro40qc","request_duration_ms":750}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:04 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_yh9Ec1XUENZcqI - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2cKuuB1fWySn0Y88ESEC", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269662, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2cKuuB1fWySn0tmQLp7O", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2cKuuB1fWySn4FgMXZEh", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:04 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml deleted file mode 100644 index d46414cfbf..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_discover&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_9Y81zFVCUdw7NP","request_duration_ms":312}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:59 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2717ef30-b857-4dd7-a89a-9c4b70e37bca - Original-Request: - - req_tPUGMtil0Yu6xp - Request-Id: - - req_tPUGMtil0Yu6xp - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2ZKuuB1fWySn2WmGMnMO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269659, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2ZKuuB1fWySny7pRv2k8", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:59 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2ZKuuB1fWySn2WmGMnMO/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_tPUGMtil0Yu6xp","request_duration_ms":454}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:00 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 1d1adad0-3153-4389-bd61-59c99e09670e - Original-Request: - - req_k33heidZCxlc3v - Request-Id: - - req_k33heidZCxlc3v - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2ZKuuB1fWySn2WmGMnMO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269659, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2ZKuuB1fWySn29FuJA0R", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2ZKuuB1fWySny7pRv2k8", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:00 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2ZKuuB1fWySn2WmGMnMO - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_k33heidZCxlc3v","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:00 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_RSkhNEZtdWkqSn - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2ZKuuB1fWySn2WmGMnMO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269659, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2ZKuuB1fWySn29FuJA0R", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2ZKuuB1fWySny7pRv2k8", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:01 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2ZKuuB1fWySn2WmGMnMO/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RSkhNEZtdWkqSn","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:02 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 67b7e003-50e9-4224-8097-a615a995ff89 - Original-Request: - - req_E5x6uhn4zBB3ao - Request-Id: - - req_E5x6uhn4zBB3ao - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2ZKuuB1fWySn2WmGMnMO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269659, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2ZKuuB1fWySn29FuJA0R", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2ZKuuB1fWySny7pRv2k8", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:02 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2ZKuuB1fWySn2WmGMnMO - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_E5x6uhn4zBB3ao","request_duration_ms":1021}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:02 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_9IevU2yM14pyGk - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2ZKuuB1fWySn2WmGMnMO", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269659, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2ZKuuB1fWySn29FuJA0R", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2ZKuuB1fWySny7pRv2k8", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:02 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml deleted file mode 100644 index fbf56660b4..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Discover/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_discover&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ffLSU0WFFGDxcm","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:57 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f4dc4d6d-329b-4a11-b4ce-a55e7de4d61f - Original-Request: - - req_zNdHOBx7cDtD2B - Request-Id: - - req_zNdHOBx7cDtD2B - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2XKuuB1fWySn0cJFxUV6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269657, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2XKuuB1fWySnmTGCLBmp", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:57 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2XKuuB1fWySn0cJFxUV6/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_zNdHOBx7cDtD2B","request_duration_ms":439}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:58 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ed603887-9a82-4419-86c3-4628ba6edd95 - Original-Request: - - req_JX56I4N3zpjoRU - Request-Id: - - req_JX56I4N3zpjoRU - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2XKuuB1fWySn0cJFxUV6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269657, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2XKuuB1fWySn07Thz841", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2XKuuB1fWySnmTGCLBmp", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:58 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2XKuuB1fWySn0cJFxUV6 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_JX56I4N3zpjoRU","request_duration_ms":708}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:59 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_9Y81zFVCUdw7NP - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2XKuuB1fWySn0cJFxUV6", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269657, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2XKuuB1fWySn07Thz841", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2XKuuB1fWySnmTGCLBmp", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:59 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml deleted file mode 100644 index ba8773e534..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_jcb&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_8aw7zk6CZwwJ2j","request_duration_ms":299}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:09 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a2ffed3e-1975-4926-aed8-4d538399bb9e - Original-Request: - - req_OXZHnAV8d0Ljig - Request-Id: - - req_OXZHnAV8d0Ljig - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2jKuuB1fWySn1FSbN0xm", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269669, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2jKuuB1fWySnLp58bcAJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:09 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2jKuuB1fWySn1FSbN0xm/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_OXZHnAV8d0Ljig","request_duration_ms":450}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:10 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b3d14745-aabc-4a99-a677-006e72232e1d - Original-Request: - - req_ICg23Y9fsqmzOU - Request-Id: - - req_ICg23Y9fsqmzOU - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2jKuuB1fWySn1FSbN0xm", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269669, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2jKuuB1fWySn1rkkU5rU", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2jKuuB1fWySnLp58bcAJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:10 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2jKuuB1fWySn1FSbN0xm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_ICg23Y9fsqmzOU","request_duration_ms":723}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:10 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_dQZcHWb9UFp7im - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2jKuuB1fWySn1FSbN0xm", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269669, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2jKuuB1fWySn1rkkU5rU", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2jKuuB1fWySnLp58bcAJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:10 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2jKuuB1fWySn1FSbN0xm/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_dQZcHWb9UFp7im","request_duration_ms":293}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:11 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - c7b21697-b7cb-4027-bbe2-27578eacd8ff - Original-Request: - - req_Wi4Zq8sHjrkLl9 - Request-Id: - - req_Wi4Zq8sHjrkLl9 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2jKuuB1fWySn1FSbN0xm", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269669, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2jKuuB1fWySn1rkkU5rU", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2jKuuB1fWySnLp58bcAJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:11 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2jKuuB1fWySn1FSbN0xm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Wi4Zq8sHjrkLl9","request_duration_ms":919}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:12 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_Q8iFAurAYxxCiO - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2jKuuB1fWySn1FSbN0xm", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269669, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2jKuuB1fWySn1rkkU5rU", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2jKuuB1fWySnLp58bcAJ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:12 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml deleted file mode 100644 index 991c97d6ef..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_JCB/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_jcb&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MC506VUZNwHhm9","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:07 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 3b5e1043-172b-4dc7-9037-301c78ec541c - Original-Request: - - req_PANvhMvoMtWWrS - Request-Id: - - req_PANvhMvoMtWWrS - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2hKuuB1fWySn1i5dBl38", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269667, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2hKuuB1fWySnID4iPOZb", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:07 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2hKuuB1fWySn1i5dBl38/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_PANvhMvoMtWWrS","request_duration_ms":432}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:08 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 8f32d252-05bd-4df3-a123-f95ebd793e69 - Original-Request: - - req_X7M55Qj97dabkJ - Request-Id: - - req_X7M55Qj97dabkJ - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2hKuuB1fWySn1i5dBl38", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269667, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2hKuuB1fWySn1M4yriYt", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2hKuuB1fWySnID4iPOZb", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:08 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2hKuuB1fWySn1i5dBl38 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X7M55Qj97dabkJ","request_duration_ms":814}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:09 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_8aw7zk6CZwwJ2j - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2hKuuB1fWySn1i5dBl38", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269667, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2hKuuB1fWySn1M4yriYt", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2hKuuB1fWySnID4iPOZb", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:09 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml deleted file mode 100644 index a45f46a041..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wJhph823oJj7xh","request_duration_ms":324}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:39 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 16f0c79d-8993-48e4-ae7d-43b36bda8f7e - Original-Request: - - req_RcRCg2P8Vz1pZu - Request-Id: - - req_RcRCg2P8Vz1pZu - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2FKuuB1fWySn20pZlZFZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269639, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2FKuuB1fWySnXpJbXRLj", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:39 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2FKuuB1fWySn20pZlZFZ/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_RcRCg2P8Vz1pZu","request_duration_ms":390}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:40 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 6e76bfa6-1f45-4225-93e6-b5dad14310a4 - Original-Request: - - req_VYxzu232GzDWKM - Request-Id: - - req_VYxzu232GzDWKM - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2FKuuB1fWySn20pZlZFZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269639, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2FKuuB1fWySn2elcXbX1", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2FKuuB1fWySnXpJbXRLj", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:40 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2FKuuB1fWySn20pZlZFZ - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_VYxzu232GzDWKM","request_duration_ms":868}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:40 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_LZBhaaJwVHdhnU - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2FKuuB1fWySn20pZlZFZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269639, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2FKuuB1fWySn2elcXbX1", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2FKuuB1fWySnXpJbXRLj", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:40 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2FKuuB1fWySn20pZlZFZ/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LZBhaaJwVHdhnU","request_duration_ms":302}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:41 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 86f790ca-0a24-4c0a-97ec-0f755cc58b1a - Original-Request: - - req_iAxUOhCPn5eWDZ - Request-Id: - - req_iAxUOhCPn5eWDZ - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2FKuuB1fWySn20pZlZFZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269639, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2FKuuB1fWySn2elcXbX1", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2FKuuB1fWySnXpJbXRLj", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:41 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2FKuuB1fWySn20pZlZFZ - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_iAxUOhCPn5eWDZ","request_duration_ms":896}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:41 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_Z9YO07au85lnkr - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2FKuuB1fWySn20pZlZFZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269639, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2FKuuB1fWySn2elcXbX1", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2FKuuB1fWySnXpJbXRLj", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:42 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml deleted file mode 100644 index 3dedaa07d0..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_NztpdN2oFV7a5E","request_duration_ms":304}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:37 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 20437453-79ec-4ab9-b75b-e2a135f10ec1 - Original-Request: - - req_KNKqbdtcI6Re3W - Request-Id: - - req_KNKqbdtcI6Re3W - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2DKuuB1fWySn1kein5Mc", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269637, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2DKuuB1fWySnVdzZLztC", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:37 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2DKuuB1fWySn1kein5Mc/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_KNKqbdtcI6Re3W","request_duration_ms":434}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:38 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 022a1c5e-2cef-4039-bd5f-3c584cec5bb7 - Original-Request: - - req_168iI6ZnxT9VL3 - Request-Id: - - req_168iI6ZnxT9VL3 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2DKuuB1fWySn1kein5Mc", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269637, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2DKuuB1fWySn1ymL4bGm", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2DKuuB1fWySnVdzZLztC", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:38 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2DKuuB1fWySn1kein5Mc - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_168iI6ZnxT9VL3","request_duration_ms":815}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:39 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_wJhph823oJj7xh - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2DKuuB1fWySn1kein5Mc", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269637, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2DKuuB1fWySn1ymL4bGm", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2DKuuB1fWySnVdzZLztC", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:39 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml deleted file mode 100644 index 5478075aed..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard_debit&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_g9KjF248c7KHEi","request_duration_ms":274}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:44 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 0b2e620b-6d51-4bc3-9e40-8b2b96a7623d - Original-Request: - - req_43k68ti576araU - Request-Id: - - req_43k68ti576araU - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2KKuuB1fWySn0T94a99L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269644, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2KKuuB1fWySnOmscrzc5", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:44 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2KKuuB1fWySn0T94a99L/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_43k68ti576araU","request_duration_ms":545}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:45 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - fa0d0920-2900-420c-8c08-d8a0525743a5 - Original-Request: - - req_BAd52hujEgqd6r - Request-Id: - - req_BAd52hujEgqd6r - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2KKuuB1fWySn0T94a99L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269644, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2KKuuB1fWySn0F3GPNve", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2KKuuB1fWySnOmscrzc5", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:45 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2KKuuB1fWySn0T94a99L - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BAd52hujEgqd6r","request_duration_ms":815}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:45 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_nkfInFTQyUOsAf - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2KKuuB1fWySn0T94a99L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269644, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2KKuuB1fWySn0F3GPNve", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2KKuuB1fWySnOmscrzc5", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:46 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2KKuuB1fWySn0T94a99L/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_nkfInFTQyUOsAf","request_duration_ms":406}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:46 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b4ea0317-fbb6-4c75-aa2d-b8c7caed9148 - Original-Request: - - req_t4b2LPvehTyBMY - Request-Id: - - req_t4b2LPvehTyBMY - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2KKuuB1fWySn0T94a99L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269644, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2KKuuB1fWySn0F3GPNve", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2KKuuB1fWySnOmscrzc5", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:47 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2KKuuB1fWySn0T94a99L - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_t4b2LPvehTyBMY","request_duration_ms":1021}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:47 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_X81bqafSgPlckf - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2KKuuB1fWySn0T94a99L", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269644, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2KKuuB1fWySn0F3GPNve", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2KKuuB1fWySnOmscrzc5", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:47 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml deleted file mode 100644 index abb5460d58..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_debit_/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard_debit&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Z9YO07au85lnkr","request_duration_ms":327}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:42 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 7b229886-4c37-480b-911b-51428a26d819 - Original-Request: - - req_aBSZigjmLVkk0s - Request-Id: - - req_aBSZigjmLVkk0s - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2IKuuB1fWySn0Ml1GEsq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269642, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2IKuuB1fWySnsL8MjKsA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:42 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2IKuuB1fWySn0Ml1GEsq/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_aBSZigjmLVkk0s","request_duration_ms":429}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:43 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - ce1512c6-d28e-407d-802b-d3b256db4c64 - Original-Request: - - req_B6qZzOV6CdQ82L - Request-Id: - - req_B6qZzOV6CdQ82L - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2IKuuB1fWySn0Ml1GEsq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269642, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2IKuuB1fWySn0Cd9gJoJ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2IKuuB1fWySnsL8MjKsA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:43 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2IKuuB1fWySn0Ml1GEsq - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_B6qZzOV6CdQ82L","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:44 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_g9KjF248c7KHEi - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2IKuuB1fWySn0Ml1GEsq", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269642, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2IKuuB1fWySn0Cd9gJoJ", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2IKuuB1fWySnsL8MjKsA", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:44 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml deleted file mode 100644 index 199dbb0583..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard_prepaid&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bdt06ROFFluCu2","request_duration_ms":315}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:49 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 49f9908d-3682-4a35-b1db-d87e13322da4 - Original-Request: - - req_T7FisSPHOj1q4r - Request-Id: - - req_T7FisSPHOj1q4r - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2PKuuB1fWySn0r618YGx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269649, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2PKuuB1fWySnMcXsOje1", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:50 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2PKuuB1fWySn0r618YGx/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_T7FisSPHOj1q4r","request_duration_ms":432}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:50 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - f524423d-3502-454d-a0b3-a61da66f257c - Original-Request: - - req_WsrPBQyFzf0G6F - Request-Id: - - req_WsrPBQyFzf0G6F - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2PKuuB1fWySn0r618YGx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269649, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2PKuuB1fWySn0ZikIg95", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2PKuuB1fWySnMcXsOje1", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:50 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2PKuuB1fWySn0r618YGx - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_WsrPBQyFzf0G6F","request_duration_ms":918}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:51 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_yFb7rdWpDxKpGJ - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2PKuuB1fWySn0r618YGx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269649, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2PKuuB1fWySn0ZikIg95", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2PKuuB1fWySnMcXsOje1", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:51 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2PKuuB1fWySn0r618YGx/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_yFb7rdWpDxKpGJ","request_duration_ms":249}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:52 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 58abe319-21f6-4861-887b-7537cd4e3d9b - Original-Request: - - req_MImvnckLVcf7Jx - Request-Id: - - req_MImvnckLVcf7Jx - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2PKuuB1fWySn0r618YGx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269649, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2PKuuB1fWySn0ZikIg95", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2PKuuB1fWySnMcXsOje1", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:52 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2PKuuB1fWySn0r618YGx - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_MImvnckLVcf7Jx","request_duration_ms":967}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:52 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_dKXW8nIMyrACah - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2PKuuB1fWySn0r618YGx", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269649, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2PKuuB1fWySn0ZikIg95", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2PKuuB1fWySnMcXsOje1", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:52 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml deleted file mode 100644 index 2adcb62b09..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Mastercard_prepaid_/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_mastercard_prepaid&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_X81bqafSgPlckf","request_duration_ms":305}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:47 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 873206d8-1039-4275-9d3c-d309bd3dcb3a - Original-Request: - - req_rxG5zElfWDbsen - Request-Id: - - req_rxG5zElfWDbsen - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2NKuuB1fWySn1mR7FXG5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269647, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2NKuuB1fWySnBmn5Xcnr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:47 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2NKuuB1fWySn1mR7FXG5/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_rxG5zElfWDbsen","request_duration_ms":437}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:48 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2d971170-8eef-465e-a71d-e2b7a5e53d1f - Original-Request: - - req_QMTIkAuX0KPBY9 - Request-Id: - - req_QMTIkAuX0KPBY9 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2NKuuB1fWySn1mR7FXG5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269647, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2NKuuB1fWySn12zKvPZG", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2NKuuB1fWySnBmn5Xcnr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:48 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2NKuuB1fWySn1mR7FXG5 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_QMTIkAuX0KPBY9","request_duration_ms":715}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:49 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_bdt06ROFFluCu2 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2NKuuB1fWySn1mR7FXG5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269647, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2NKuuB1fWySn12zKvPZG", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2NKuuB1fWySnBmn5Xcnr", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:49 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml deleted file mode 100644 index 03405331ac..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_unionpay&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_h58FGMAuIpKD3H","request_duration_ms":230}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:14 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b6237a78-702c-4adf-a153-cff7da89b2e1 - Original-Request: - - req_wIyU3X7CNnkkxz - Request-Id: - - req_wIyU3X7CNnkkxz - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2oKuuB1fWySn2AFA4Qgy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269674, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2oKuuB1fWySnA0c9gGPL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:14 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2oKuuB1fWySn2AFA4Qgy/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_wIyU3X7CNnkkxz","request_duration_ms":409}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:15 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 04f29703-1df0-47eb-9afb-774d1c47443f - Original-Request: - - req_eBHCc7dm9tROQy - Request-Id: - - req_eBHCc7dm9tROQy - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2oKuuB1fWySn2AFA4Qgy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269674, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2oKuuB1fWySn2udXORGu", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2oKuuB1fWySnA0c9gGPL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:15 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2oKuuB1fWySn2AFA4Qgy - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_eBHCc7dm9tROQy","request_duration_ms":816}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:15 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_cDF9H8Tk5PH8D3 - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2oKuuB1fWySn2AFA4Qgy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269674, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2oKuuB1fWySn2udXORGu", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2oKuuB1fWySnA0c9gGPL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:15 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2oKuuB1fWySn2AFA4Qgy/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_cDF9H8Tk5PH8D3","request_duration_ms":303}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:16 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - e850bdb5-e66e-4077-92eb-4869c5a594c7 - Original-Request: - - req_BurgThcRHAbEU8 - Request-Id: - - req_BurgThcRHAbEU8 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2oKuuB1fWySn2AFA4Qgy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269674, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2oKuuB1fWySn2udXORGu", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2oKuuB1fWySnA0c9gGPL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:16 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2oKuuB1fWySn2AFA4Qgy - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_BurgThcRHAbEU8","request_duration_ms":1021}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:16 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_5CIpvnDhDIarDL - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2oKuuB1fWySn2AFA4Qgy", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269674, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2oKuuB1fWySn2udXORGu", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2oKuuB1fWySnA0c9gGPL", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:17 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml deleted file mode 100644 index 563e132496..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_UnionPay/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_unionpay&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Q8iFAurAYxxCiO","request_duration_ms":306}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:12 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 47d5b80c-489d-4dcc-86c6-748ddc36cb8c - Original-Request: - - req_jujCDI0VqL37Nl - Request-Id: - - req_jujCDI0VqL37Nl - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2mKuuB1fWySn1F42LVi5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269672, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2mKuuB1fWySn086WRKfY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:12 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2mKuuB1fWySn1F42LVi5/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_jujCDI0VqL37Nl","request_duration_ms":381}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:13 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - b947b3a0-d6e2-4477-9e57-daf9bf2581c3 - Original-Request: - - req_IxCeRj7nGyGnEV - Request-Id: - - req_IxCeRj7nGyGnEV - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2mKuuB1fWySn1F42LVi5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269672, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2mKuuB1fWySn18QtSHm2", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2mKuuB1fWySn086WRKfY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:13 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2mKuuB1fWySn1F42LVi5 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_IxCeRj7nGyGnEV","request_duration_ms":770}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:21:14 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_h58FGMAuIpKD3H - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2mKuuB1fWySn1F42LVi5", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269672, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2mKuuB1fWySn18QtSHm2", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm2mKuuB1fWySn086WRKfY", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:21:14 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml deleted file mode 100644 index e6beed9bcc..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_mpHj7sm5L1Chnt","request_duration_ms":243}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:29 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 2800ef75-ee19-42b1-981e-98d31802570d - Original-Request: - - req_gbxNkrspneuYct - Request-Id: - - req_gbxNkrspneuYct - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm25KuuB1fWySn16i61S1E", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269629, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm24KuuB1fWySnAYtG7Qot", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:29 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm25KuuB1fWySn16i61S1E/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gbxNkrspneuYct","request_duration_ms":407}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:29 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - fac5debe-846f-4867-8420-63d0ca372b77 - Original-Request: - - req_EoHkxhRlrBMGas - Request-Id: - - req_EoHkxhRlrBMGas - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm25KuuB1fWySn16i61S1E", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269629, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm25KuuB1fWySn1UQsdOH5", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm24KuuB1fWySnAYtG7Qot", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:29 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm25KuuB1fWySn16i61S1E - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_EoHkxhRlrBMGas","request_duration_ms":714}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:30 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_O4OIyeloT9Ygro - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm25KuuB1fWySn16i61S1E", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269629, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm25KuuB1fWySn1UQsdOH5", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm24KuuB1fWySnAYtG7Qot", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:30 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm25KuuB1fWySn16i61S1E/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_O4OIyeloT9Ygro","request_duration_ms":305}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:31 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 816a588a-139d-4eb3-a7bf-240ba342e7e0 - Original-Request: - - req_LsNIE4v4j56ufZ - Request-Id: - - req_LsNIE4v4j56ufZ - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm25KuuB1fWySn16i61S1E", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269629, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm25KuuB1fWySn1UQsdOH5", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm24KuuB1fWySnAYtG7Qot", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:31 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm25KuuB1fWySn16i61S1E - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LsNIE4v4j56ufZ","request_duration_ms":939}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:31 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_DFsiKNPIVPL6Av - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm25KuuB1fWySn16i61S1E", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269629, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm25KuuB1fWySn1UQsdOH5", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm24KuuB1fWySnAYtG7Qot", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:31 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml deleted file mode 100644 index 3269a34f2f..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fdxqf58eDedlT4","request_duration_ms":1}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:26 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a0132b63-08ee-4355-bc74-593d1c7e4a2f - Original-Request: - - req_bxL2C9Btcm2xwp - Request-Id: - - req_bxL2C9Btcm2xwp - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm22KuuB1fWySn0TMD7R7s", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269626, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm22KuuB1fWySn5Y0ccELQ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:26 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm22KuuB1fWySn0TMD7R7s/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_bxL2C9Btcm2xwp","request_duration_ms":514}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:27 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 3cbfca12-2d2d-4e50-9b33-bf93ae799823 - Original-Request: - - req_V3A0LOOwQtMR5K - Request-Id: - - req_V3A0LOOwQtMR5K - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm22KuuB1fWySn0TMD7R7s", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269626, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm22KuuB1fWySn0hyDgN54", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm22KuuB1fWySn5Y0ccELQ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:27 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm22KuuB1fWySn0TMD7R7s - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_V3A0LOOwQtMR5K","request_duration_ms":815}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:28 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_mpHj7sm5L1Chnt - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm22KuuB1fWySn0TMD7R7s", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269626, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm22KuuB1fWySn0hyDgN54", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm22KuuB1fWySn5Y0ccELQ", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:28 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml deleted file mode 100644 index 65a756cd35..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/captures_the_payment.yml +++ /dev/null @@ -1,656 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_debit&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_gTosmNYrXaXNNh","request_duration_ms":414}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:34 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 77eeb2d0-e41e-499f-8b3f-7aeaba376d67 - Original-Request: - - req_6Y64aLpgZSJqor - Request-Id: - - req_6Y64aLpgZSJqor - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2AKuuB1fWySn02ajyUS2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269634, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm29KuuB1fWySnEkC9yfBX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:34 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2AKuuB1fWySn02ajyUS2/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_6Y64aLpgZSJqor","request_duration_ms":378}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:34 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 4b6ea3da-5c79-4737-a490-45b2c583784c - Original-Request: - - req_Fe5WyzaqNIE5zq - Request-Id: - - req_Fe5WyzaqNIE5zq - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2AKuuB1fWySn02ajyUS2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269634, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2AKuuB1fWySn03IQEEv3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm29KuuB1fWySnEkC9yfBX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:34 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2AKuuB1fWySn02ajyUS2 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_Fe5WyzaqNIE5zq","request_duration_ms":782}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:35 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_5r2b9FdukNEw3f - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2AKuuB1fWySn02ajyUS2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269634, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2AKuuB1fWySn03IQEEv3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm29KuuB1fWySnEkC9yfBX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:35 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2AKuuB1fWySn02ajyUS2/capture - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_5r2b9FdukNEw3f","request_duration_ms":305}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:36 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - 616f261e-1023-4db1-a8a8-a719aa5987e7 - Original-Request: - - req_kxOkLIXUrgswsK - Request-Id: - - req_kxOkLIXUrgswsK - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2AKuuB1fWySn02ajyUS2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269634, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2AKuuB1fWySn03IQEEv3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm29KuuB1fWySnEkC9yfBX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:36 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm2AKuuB1fWySn02ajyUS2 - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_kxOkLIXUrgswsK","request_duration_ms":1429}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:36 GMT - Content-Type: - - application/json - Content-Length: - - '1399' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_NztpdN2oFV7a5E - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm2AKuuB1fWySn02ajyUS2", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 100, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269634, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm2AKuuB1fWySn03IQEEv3", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm29KuuB1fWySnEkC9yfBX", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "succeeded", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:37 GMT -recorded_with: VCR 6.2.0 diff --git a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml b/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml deleted file mode 100644 index c128f7e2d0..0000000000 --- a/spec/fixtures/vcr_cassettes/Stripe-v12.6.0/Stripe_PaymentIntentValidator/_call/as_a_guest/when_payment_intent_is_valid/from_Visa_debit_/returns_payment_intent_id.yml +++ /dev/null @@ -1,396 +0,0 @@ ---- -http_interactions: -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents - body: - encoding: UTF-8 - string: amount=100¤cy=eur&payment_method=pm_card_visa_debit&payment_method_types[0]=card&capture_method=manual - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_DFsiKNPIVPL6Av","request_duration_ms":233}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:31 GMT - Content-Type: - - application/json - Content-Length: - - '1384' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a9230e59-c094-44c2-a371-577a7512efb0 - Original-Request: - - req_LUpSzU3E6OauBK - Request-Id: - - req_LUpSzU3E6OauBK - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm27KuuB1fWySn02ij6JaZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 0, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269631, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": null, - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm27KuuB1fWySnLYFAjJBc", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_confirmation", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:31 GMT -- request: - method: post - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm27KuuB1fWySn02ij6JaZ/confirm - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_LUpSzU3E6OauBK","request_duration_ms":498}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:32 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Idempotency-Key: - - a890efa1-e2ff-4138-93fa-b23d2153dbf4 - Original-Request: - - req_qLHk1ykNVACkF8 - Request-Id: - - req_qLHk1ykNVACkF8 - Stripe-Should-Retry: - - 'false' - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm27KuuB1fWySn02ij6JaZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269631, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm27KuuB1fWySn09lBssrV", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm27KuuB1fWySnLYFAjJBc", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:32 GMT -- request: - method: get - uri: https://api.stripe.com/v1/payment_intents/pi_3SPm27KuuB1fWySn02ij6JaZ - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Stripe/v1 RubyBindings/12.6.0 - Authorization: - - "" - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-Telemetry: - - '{"last_request_metrics":{"request_id":"req_qLHk1ykNVACkF8","request_duration_ms":810}}' - Stripe-Version: - - '2024-06-20' - 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: - - Tue, 04 Nov 2025 15:20:33 GMT - Content-Type: - - application/json - Content-Length: - - '1406' - 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: - - base-uri 'none'; default-src 'none'; form-action 'none'; frame-ancestors 'none'; - img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'; worker-src - 'none'; upgrade-insecure-requests; report-uri https://q.stripe.com/csp-violation?q=uoFYHcUNrG9jl3S9SP3btBSeMve4gQ86JGm3oBWZcYV-yRrbY3-QbprhDGRSz8uF8TcumXkvIo4QT8vc - Request-Id: - - req_gTosmNYrXaXNNh - Stripe-Version: - - '2024-06-20' - Vary: - - Origin - X-Stripe-Priority-Routing-Enabled: - - 'true' - X-Stripe-Routing-Context-Priority-Tier: - - api-testmode - X-Wc: - - ABGHIJ - Strict-Transport-Security: - - max-age=63072000; includeSubDomains; preload - body: - encoding: UTF-8 - string: |- - { - "id": "pi_3SPm27KuuB1fWySn02ij6JaZ", - "object": "payment_intent", - "amount": 100, - "amount_capturable": 100, - "amount_details": { - "tip": {} - }, - "amount_received": 0, - "application": null, - "application_fee_amount": null, - "automatic_payment_methods": null, - "canceled_at": null, - "cancellation_reason": null, - "capture_method": "manual", - "client_secret": "", - "confirmation_method": "automatic", - "created": 1762269631, - "currency": "eur", - "customer": null, - "description": null, - "excluded_payment_method_types": null, - "invoice": null, - "last_payment_error": null, - "latest_charge": "ch_3SPm27KuuB1fWySn09lBssrV", - "livemode": false, - "metadata": {}, - "next_action": null, - "on_behalf_of": null, - "payment_method": "pm_1SPm27KuuB1fWySnLYFAjJBc", - "payment_method_configuration_details": null, - "payment_method_options": { - "card": { - "installments": null, - "mandate_options": null, - "network": null, - "request_three_d_secure": "automatic" - } - }, - "payment_method_types": [ - "card" - ], - "processing": null, - "receipt_email": null, - "review": null, - "setup_future_usage": null, - "shipping": null, - "source": null, - "statement_descriptor": null, - "statement_descriptor_suffix": null, - "status": "requires_capture", - "transfer_data": null, - "transfer_group": null - } - recorded_at: Tue, 04 Nov 2025 15:20:33 GMT -recorded_with: VCR 6.2.0