Adds re-recorded Stripe cassettes within Stripe gem folder name

This commit is contained in:
filipefurtad0
2023-11-06 15:55:16 +00:00
committed by Maikel Linke
parent 7dac08a0be
commit 9d50b11090
5 changed files with 202 additions and 216 deletions

View File

@@ -3,7 +3,7 @@
require 'spec_helper'
describe Spree::CreditCardsController, type: :controller do
describe "using VCR", :vcr do
describe "using VCR", :vcr, :stripe_version do
let(:user) { create(:user) }
let(:secret) { ENV.fetch('STRIPE_SECRET_TEST_API_KEY', nil) }

View File

@@ -8,16 +8,18 @@ http_interactions:
string: card[number]=4242424242424242&card[exp_month]=9&card[exp_year]=2024&card[cvc]=314
headers:
User-Agent:
- Stripe/v1 RubyBindings/7.1.0
- Stripe/v1 RubyBindings/10.0.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"7.1.0","lang":"ruby","lang_version":"3.0.3 p157 (2021-11-24)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.15.0-48-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 11.2.0-19ubuntu1)
11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #54-Ubuntu SMP Fri Aug 26 13:26:29
UTC 2022","hostname":"ff-LAT"}'
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -30,45 +32,54 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 27 Sep 2022 06:15:03 GMT
- Mon, 06 Nov 2023 15:52:10 GMT
Content-Type:
- application/json
Content-Length:
- '781'
- '800'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy-Report-Only:
- report-uri https://q.stripe.com/csp-report?p=v1%2Ftokens; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 8a2c6373-a053-4674-8f35-5e5b8d9cf8fb
- 4b36e5b1-ee94-4ecc-8283-cfa0d9c96480
Original-Request:
- req_4XXW0nwQlmbWiH
- req_cDbJqfdlYZdbyU
Request-Id:
- req_4XXW0nwQlmbWiH
- req_cDbJqfdlYZdbyU
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-11-05'
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "tok_1LmX4NKuuB1fWySnNTd7lIuK",
"id": "tok_1O9V5yKuuB1fWySnSeAtjOj4",
"object": "token",
"card": {
"id": "card_1LmX4MKuuB1fWySn6nKumo1M",
"id": "card_1O9V5yKuuB1fWySnWYC2TQys",
"object": "card",
"address_city": null,
"address_country": null,
@@ -89,35 +100,38 @@ http_interactions:
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
"tokenization_method": null,
"wallet": null
},
"client_ip": "188.251.215.147",
"created": 1664259303,
"client_ip": "89.153.187.247",
"created": 1699285930,
"livemode": false,
"type": "card",
"used": false
}
recorded_at: Tue, 27 Sep 2022 06:15:03 GMT
recorded_at: Mon, 06 Nov 2023 15:52:10 GMT
- request:
method: post
uri: https://api.stripe.com/v1/customers
body:
encoding: UTF-8
string: email=emerita_stroman%40gusikowski.ca&source=tok_1LmX4NKuuB1fWySnNTd7lIuK
string: email=maranda_kertzmann%40ferrystark.com&source=tok_1O9V5yKuuB1fWySnSeAtjOj4
headers:
User-Agent:
- Stripe/v1 RubyBindings/7.1.0
- Stripe/v1 RubyBindings/10.0.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_4XXW0nwQlmbWiH","request_duration_ms":725}}'
- '{"last_request_metrics":{"request_id":"req_cDbJqfdlYZdbyU","request_duration_ms":771}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"7.1.0","lang":"ruby","lang_version":"3.0.3 p157 (2021-11-24)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.15.0-48-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 11.2.0-19ubuntu1)
11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #54-Ubuntu SMP Fri Aug 26 13:26:29
UTC 2022","hostname":"ff-LAT"}'
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -130,54 +144,62 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 27 Sep 2022 06:15:04 GMT
- Mon, 06 Nov 2023 15:52:11 GMT
Content-Type:
- application/json
Content-Length:
- '1964'
- '671'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy-Report-Only:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers; block-all-mixed-content;
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- a9c15df5-51a9-4aa3-9a98-89346ac4220f
- e0ba0c07-8278-4f20-9740-7c0a1ec6f77f
Original-Request:
- req_Bv2J8ejL6FSWwT
- req_PRTmtmWClmWQgz
Request-Id:
- req_Bv2J8ejL6FSWwT
- req_PRTmtmWClmWQgz
Stripe-Should-Retry:
- 'false'
Stripe-Version:
- '2019-11-05'
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
encoding: UTF-8
string: |-
{
"id": "cus_MVYAeGp44F6wS3",
"id": "cus_OxPvaW3mvLovLW",
"object": "customer",
"address": null,
"balance": 0,
"created": 1664259304,
"created": 1699285931,
"currency": null,
"default_currency": null,
"default_source": "card_1LmX4MKuuB1fWySn6nKumo1M",
"default_source": "card_1O9V5yKuuB1fWySnWYC2TQys",
"delinquent": false,
"description": null,
"discount": null,
"email": "emerita_stroman@gusikowski.ca",
"invoice_prefix": "D81408D1",
"email": "maranda_kertzmann@ferrystark.com",
"invoice_prefix": "4AF66002",
"invoice_settings": {
"custom_fields": null,
"default_payment_method": null,
@@ -191,79 +213,32 @@ http_interactions:
"phone": null,
"preferred_locales": [],
"shipping": null,
"sources": {
"object": "list",
"data": [
{
"id": "card_1LmX4MKuuB1fWySn6nKumo1M",
"object": "card",
"address_city": null,
"address_country": null,
"address_line1": null,
"address_line1_check": null,
"address_line2": null,
"address_state": null,
"address_zip": null,
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_MVYAeGp44F6wS3",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 9,
"exp_year": 2024,
"fingerprint": "6E6tgVjx6U65iHFV",
"funding": "credit",
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/customers/cus_MVYAeGp44F6wS3/sources"
},
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_MVYAeGp44F6wS3/subscriptions"
},
"tax_exempt": "none",
"tax_ids": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_MVYAeGp44F6wS3/tax_ids"
},
"tax_info": null,
"tax_info_verification": null,
"test_clock": null
}
recorded_at: Tue, 27 Sep 2022 06:15:04 GMT
recorded_at: Mon, 06 Nov 2023 15:52:12 GMT
- request:
method: get
uri: https://api.stripe.com/v1/customers/cus_MVYAeGp44F6wS3/sources?limit=1&object=card
uri: https://api.stripe.com/v1/customers/cus_OxPvaW3mvLovLW/sources?limit=1&object=card
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- Stripe/v1 RubyBindings/7.1.0
- Stripe/v1 RubyBindings/10.0.0
Authorization:
- Bearer <HIDDEN_KEY>
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Bv2J8ejL6FSWwT","request_duration_ms":1037}}'
- '{"last_request_metrics":{"request_id":"req_PRTmtmWClmWQgz","request_duration_ms":1057}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"7.1.0","lang":"ruby","lang_version":"3.0.3 p157 (2021-11-24)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 5.15.0-48-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 11.2.0-19ubuntu1)
11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #54-Ubuntu SMP Fri Aug 26 13:26:29
UTC 2022","hostname":"ff-LAT"}'
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -276,29 +251,39 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 27 Sep 2022 06:15:05 GMT
- Mon, 06 Nov 2023 15:52:12 GMT
Content-Type:
- application/json
Content-Length:
- '790'
- '812'
Connection:
- keep-alive
Access-Control-Allow-Credentials:
- 'true'
Access-Control-Allow-Methods:
- GET, POST, HEAD, OPTIONS, DELETE
- GET,HEAD,PUT,PATCH,POST,DELETE
Access-Control-Allow-Origin:
- "*"
Access-Control-Expose-Headers:
- Request-Id, Stripe-Manage-Version, X-Stripe-External-Auth-Required, X-Stripe-Privileged-Session-Required
- Request-Id, Stripe-Manage-Version, Stripe-Should-Retry, X-Stripe-External-Auth-Required,
X-Stripe-Privileged-Session-Required
Access-Control-Max-Age:
- '300'
Cache-Control:
- no-cache, no-store
Content-Security-Policy-Report-Only:
- report-uri https://q.stripe.com/csp-report?p=v1%2Fcustomers%2F%3Acustomer%2Fsources;
block-all-mixed-content; default-src 'none'; base-uri 'none'; form-action
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_4NyryTpY3ov7vf
- req_6VTyanKbPfjW7u
Stripe-Version:
- '2019-11-05'
- '2023-10-16'
Vary:
- Origin
X-Stripe-Routing-Context-Priority-Tier:
- api-testmode
Strict-Transport-Security:
- max-age=63072000; includeSubDomains; preload
body:
@@ -308,7 +293,7 @@ http_interactions:
"object": "list",
"data": [
{
"id": "card_1LmX4MKuuB1fWySn6nKumo1M",
"id": "card_1O9V5yKuuB1fWySnWYC2TQys",
"object": "card",
"address_city": null,
"address_country": null,
@@ -320,7 +305,7 @@ http_interactions:
"address_zip_check": null,
"brand": "Visa",
"country": "US",
"customer": "cus_MVYAeGp44F6wS3",
"customer": "cus_OxPvaW3mvLovLW",
"cvc_check": "pass",
"dynamic_last4": null,
"exp_month": 9,
@@ -330,11 +315,12 @@ http_interactions:
"last4": "4242",
"metadata": {},
"name": null,
"tokenization_method": null
"tokenization_method": null,
"wallet": null
}
],
"has_more": false,
"url": "/v1/customers/cus_MVYAeGp44F6wS3/sources"
"url": "/v1/customers/cus_OxPvaW3mvLovLW/sources"
}
recorded_at: Tue, 27 Sep 2022 06:15:05 GMT
recorded_with: VCR 6.1.0
recorded_at: Mon, 06 Nov 2023 15:52:12 GMT
recorded_with: VCR 6.2.0

View File

@@ -14,14 +14,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_MhJwK3bCx1nUCV","request_duration_ms":399}}'
- '{"last_request_metrics":{"request_id":"req_qjDkQl3stKfe1m","request_duration_ms":292}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -34,7 +34,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:51 GMT
- Mon, 06 Nov 2023 15:51:25 GMT
Content-Type:
- application/json
Content-Length:
@@ -59,11 +59,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- cae4cabe-d698-4d9a-a559-c7adee3b5919
- 4fbac071-d4cb-477e-8790-e8ae12bc5941
Original-Request:
- req_4u0uONl4HDoqTP
- req_xooNPVYZPZwVf7
Request-Id:
- req_4u0uONl4HDoqTP
- req_xooNPVYZPZwVf7
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -78,7 +78,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1O7NDDKuuB1fWySnK7zLU5xt",
"id": "pm_1O9V5FKuuB1fWySnjblXM6DN",
"object": "payment_method",
"billing_details": {
"address": {
@@ -118,19 +118,19 @@ http_interactions:
},
"wallet": null
},
"created": 1698778971,
"created": 1699285885,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 31 Oct 2023 19:02:51 GMT
recorded_at: Mon, 06 Nov 2023 15:51:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1O7NDDKuuB1fWySnK7zLU5xt&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1O9V5FKuuB1fWySnjblXM6DN&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.0.0
@@ -139,14 +139,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_4u0uONl4HDoqTP","request_duration_ms":467}}'
- '{"last_request_metrics":{"request_id":"req_xooNPVYZPZwVf7","request_duration_ms":502}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -159,7 +159,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:52 GMT
- Mon, 06 Nov 2023 15:51:25 GMT
Content-Type:
- application/json
Content-Length:
@@ -184,11 +184,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 2aa0ddf3-7314-4037-b01b-94d35ccd0468
- d22ed50d-b847-4eae-9010-9e1e4b76a457
Original-Request:
- req_Tce1DG0Fz2T18d
- req_QqdIxo9PkjL14D
Request-Id:
- req_Tce1DG0Fz2T18d
- req_QqdIxo9PkjL14D
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -203,7 +203,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3O7NDDKuuB1fWySn0NkcMDXT",
"id": "pi_3O9V5FKuuB1fWySn1NAfVNB3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -217,9 +217,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDDKuuB1fWySn0NkcMDXT_secret_x4X665Kf2HS7eo6jcMjtLrmcO",
"client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ",
"confirmation_method": "automatic",
"created": 1698778971,
"created": 1699285885,
"currency": "eur",
"customer": null,
"description": null,
@@ -230,7 +230,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1O7NDDKuuB1fWySnK7zLU5xt",
"payment_method": "pm_1O9V5FKuuB1fWySnjblXM6DN",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -255,10 +255,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 31 Oct 2023 19:02:52 GMT
recorded_at: Mon, 06 Nov 2023 15:51:25 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3O7NDDKuuB1fWySn0NkcMDXT/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5FKuuB1fWySn1NAfVNB3/confirm
body:
encoding: US-ASCII
string: ''
@@ -270,14 +270,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Tce1DG0Fz2T18d","request_duration_ms":403}}'
- '{"last_request_metrics":{"request_id":"req_QqdIxo9PkjL14D","request_duration_ms":406}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -290,7 +290,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:53 GMT
- Mon, 06 Nov 2023 15:51:27 GMT
Content-Type:
- application/json
Content-Length:
@@ -316,11 +316,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 8eef3458-d952-4f5f-be7d-51a1ba26ea4e
- d4f5356f-c489-4071-92a0-14da3a986bdf
Original-Request:
- req_4PX7kfhZVXH2V1
- req_Rp8e8zwOEKyM5j
Request-Id:
- req_4PX7kfhZVXH2V1
- req_Rp8e8zwOEKyM5j
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -336,13 +336,13 @@ http_interactions:
string: |
{
"error": {
"charge": "ch_3O7NDDKuuB1fWySn0iydIyVy",
"charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG",
"code": "card_declined",
"decline_code": "insufficient_funds",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card has insufficient funds.",
"payment_intent": {
"id": "pi_3O7NDDKuuB1fWySn0NkcMDXT",
"id": "pi_3O9V5FKuuB1fWySn1NAfVNB3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -357,21 +357,21 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDDKuuB1fWySn0NkcMDXT_secret_x4X665Kf2HS7eo6jcMjtLrmcO",
"client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ",
"confirmation_method": "automatic",
"created": 1698778971,
"created": 1699285885,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": {
"charge": "ch_3O7NDDKuuB1fWySn0iydIyVy",
"charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG",
"code": "card_declined",
"decline_code": "insufficient_funds",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card has insufficient funds.",
"payment_method": {
"id": "pm_1O7NDDKuuB1fWySnK7zLU5xt",
"id": "pm_1O9V5FKuuB1fWySnjblXM6DN",
"object": "payment_method",
"billing_details": {
"address": {
@@ -411,7 +411,7 @@ http_interactions:
},
"wallet": null
},
"created": 1698778971,
"created": 1699285885,
"customer": null,
"livemode": false,
"metadata": {
@@ -420,7 +420,7 @@ http_interactions:
},
"type": "card_error"
},
"latest_charge": "ch_3O7NDDKuuB1fWySn0iydIyVy",
"latest_charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG",
"livemode": false,
"metadata": {
},
@@ -452,7 +452,7 @@ http_interactions:
"transfer_group": null
},
"payment_method": {
"id": "pm_1O7NDDKuuB1fWySnK7zLU5xt",
"id": "pm_1O9V5FKuuB1fWySnjblXM6DN",
"object": "payment_method",
"billing_details": {
"address": {
@@ -492,21 +492,21 @@ http_interactions:
},
"wallet": null
},
"created": 1698778971,
"created": 1699285885,
"customer": null,
"livemode": false,
"metadata": {
},
"type": "card"
},
"request_log_url": "https://dashboard.stripe.com/test/logs/req_4PX7kfhZVXH2V1?t=1698778972",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_Rp8e8zwOEKyM5j?t=1699285886",
"type": "card_error"
}
}
recorded_at: Tue, 31 Oct 2023 19:02:53 GMT
recorded_at: Mon, 06 Nov 2023 15:51:27 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3O7NDDKuuB1fWySn0NkcMDXT
uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5FKuuB1fWySn1NAfVNB3
body:
encoding: US-ASCII
string: ''
@@ -518,14 +518,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_Tce1DG0Fz2T18d","request_duration_ms":403}}'
- '{"last_request_metrics":{"request_id":"req_QqdIxo9PkjL14D","request_duration_ms":406}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -538,7 +538,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:53 GMT
- Mon, 06 Nov 2023 15:51:27 GMT
Content-Type:
- application/json
Content-Length:
@@ -564,7 +564,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_rC5iv8iHUH5Bx9
- req_HAvin8KTnmcqUX
Stripe-Version:
- '2023-10-16'
Vary:
@@ -577,7 +577,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3O7NDDKuuB1fWySn0NkcMDXT",
"id": "pi_3O9V5FKuuB1fWySn1NAfVNB3",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -591,21 +591,21 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDDKuuB1fWySn0NkcMDXT_secret_x4X665Kf2HS7eo6jcMjtLrmcO",
"client_secret": "pi_3O9V5FKuuB1fWySn1NAfVNB3_secret_Qbz82VCpcuteYBKnfadQzGJAJ",
"confirmation_method": "automatic",
"created": 1698778971,
"created": 1699285885,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": {
"charge": "ch_3O7NDDKuuB1fWySn0iydIyVy",
"charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG",
"code": "card_declined",
"decline_code": "insufficient_funds",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card has insufficient funds.",
"payment_method": {
"id": "pm_1O7NDDKuuB1fWySnK7zLU5xt",
"id": "pm_1O9V5FKuuB1fWySnjblXM6DN",
"object": "payment_method",
"billing_details": {
"address": {
@@ -645,7 +645,7 @@ http_interactions:
},
"wallet": null
},
"created": 1698778971,
"created": 1699285885,
"customer": null,
"livemode": false,
"metadata": {},
@@ -653,7 +653,7 @@ http_interactions:
},
"type": "card_error"
},
"latest_charge": "ch_3O7NDDKuuB1fWySn0iydIyVy",
"latest_charge": "ch_3O9V5FKuuB1fWySn1FSkX2IG",
"livemode": false,
"metadata": {},
"next_action": null,
@@ -683,5 +683,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 31 Oct 2023 19:02:53 GMT
recorded_at: Mon, 06 Nov 2023 15:51:27 GMT
recorded_with: VCR 6.2.0

View File

@@ -17,9 +17,9 @@ http_interactions:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -32,7 +32,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:48 GMT
- Mon, 06 Nov 2023 15:51:21 GMT
Content-Type:
- application/json
Content-Length:
@@ -57,11 +57,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- fe964a69-e54d-4063-9de0-9279a4687132
- a2ef4e72-541e-437f-9f85-581df5c29259
Original-Request:
- req_nN1oUfa5UXec44
- req_lr8vrJIpZhmcYq
Request-Id:
- req_nN1oUfa5UXec44
- req_lr8vrJIpZhmcYq
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -76,7 +76,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pm_1O7ND9KuuB1fWySnmyW2YCGo",
"id": "pm_1O9V5BKuuB1fWySnlmhXNmd5",
"object": "payment_method",
"billing_details": {
"address": {
@@ -116,19 +116,19 @@ http_interactions:
},
"wallet": null
},
"created": 1698778967,
"created": 1699285881,
"customer": null,
"livemode": false,
"metadata": {},
"type": "card"
}
recorded_at: Tue, 31 Oct 2023 19:02:48 GMT
recorded_at: Mon, 06 Nov 2023 15:51:21 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents
body:
encoding: UTF-8
string: amount=100&currency=eur&payment_method=pm_1O7ND9KuuB1fWySnmyW2YCGo&payment_method_types[0]=card&capture_method=manual
string: amount=100&currency=eur&payment_method=pm_1O9V5BKuuB1fWySnlmhXNmd5&payment_method_types[0]=card&capture_method=manual
headers:
User-Agent:
- Stripe/v1 RubyBindings/10.0.0
@@ -137,14 +137,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_nN1oUfa5UXec44","request_duration_ms":789}}'
- '{"last_request_metrics":{"request_id":"req_lr8vrJIpZhmcYq","request_duration_ms":918}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -157,7 +157,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:48 GMT
- Mon, 06 Nov 2023 15:51:22 GMT
Content-Type:
- application/json
Content-Length:
@@ -182,11 +182,11 @@ http_interactions:
default-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none';
img-src 'self'; script-src 'self' 'report-sample'; style-src 'self'
Idempotency-Key:
- 7d125bdc-3da1-4b3a-bdda-ec7acc82ac75
- ad226562-10aa-4ced-a3d3-1d4d134d5dc1
Original-Request:
- req_GJrd6HK4e2UZdK
- req_WlxHtA7WtEeg33
Request-Id:
- req_GJrd6HK4e2UZdK
- req_WlxHtA7WtEeg33
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -201,7 +201,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3O7NDAKuuB1fWySn0EzngPdL",
"id": "pi_3O9V5CKuuB1fWySn1hPtURlb",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 0,
@@ -215,9 +215,9 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDAKuuB1fWySn0EzngPdL_secret_nvyKe0sDpd5nsmKu485lNtGl3",
"client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb",
"confirmation_method": "automatic",
"created": 1698778968,
"created": 1699285882,
"currency": "eur",
"customer": null,
"description": null,
@@ -228,7 +228,7 @@ http_interactions:
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1O7ND9KuuB1fWySnmyW2YCGo",
"payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -253,10 +253,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 31 Oct 2023 19:02:48 GMT
recorded_at: Mon, 06 Nov 2023 15:51:22 GMT
- request:
method: post
uri: https://api.stripe.com/v1/payment_intents/pi_3O7NDAKuuB1fWySn0EzngPdL/confirm
uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5CKuuB1fWySn1hPtURlb/confirm
body:
encoding: US-ASCII
string: ''
@@ -268,14 +268,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_GJrd6HK4e2UZdK","request_duration_ms":609}}'
- '{"last_request_metrics":{"request_id":"req_WlxHtA7WtEeg33","request_duration_ms":655}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -288,7 +288,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:49 GMT
- Mon, 06 Nov 2023 15:51:23 GMT
Content-Type:
- application/json
Content-Length:
@@ -314,11 +314,11 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Idempotency-Key:
- 8f195fa2-ecd1-403b-b70e-9b4d9a768a09
- 3f02d64f-02e0-4d1a-970a-e8677abb3327
Original-Request:
- req_nWd6JD2SbU0eH6
- req_YwSK1TvEuzvKWm
Request-Id:
- req_nWd6JD2SbU0eH6
- req_YwSK1TvEuzvKWm
Stripe-Should-Retry:
- 'false'
Stripe-Version:
@@ -333,7 +333,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3O7NDAKuuB1fWySn0EzngPdL",
"id": "pi_3O9V5CKuuB1fWySn1hPtURlb",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -347,20 +347,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDAKuuB1fWySn0EzngPdL_secret_nvyKe0sDpd5nsmKu485lNtGl3",
"client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb",
"confirmation_method": "automatic",
"created": 1698778968,
"created": 1699285882,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3O7NDAKuuB1fWySn01eDFLcJ",
"latest_charge": "ch_3O9V5CKuuB1fWySn1rAvcdei",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1O7ND9KuuB1fWySnmyW2YCGo",
"payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -385,10 +385,10 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 31 Oct 2023 19:02:49 GMT
recorded_at: Mon, 06 Nov 2023 15:51:23 GMT
- request:
method: get
uri: https://api.stripe.com/v1/payment_intents/pi_3O7NDAKuuB1fWySn0EzngPdL
uri: https://api.stripe.com/v1/payment_intents/pi_3O9V5CKuuB1fWySn1hPtURlb
body:
encoding: US-ASCII
string: ''
@@ -400,14 +400,14 @@ http_interactions:
Content-Type:
- application/x-www-form-urlencoded
X-Stripe-Client-Telemetry:
- '{"last_request_metrics":{"request_id":"req_nWd6JD2SbU0eH6","request_duration_ms":922}}'
- '{"last_request_metrics":{"request_id":"req_YwSK1TvEuzvKWm","request_duration_ms":1321}}'
Stripe-Version:
- '2023-10-16'
X-Stripe-Client-User-Agent:
- '{"bindings_version":"10.0.0","lang":"ruby","lang_version":"3.1.4 p223 (2023-03-30)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux
version 6.2.0-35-generic (buildd@bos03-amd64-016) (x86_64-linux-gnu-gcc-11
version 6.2.0-36-generic (buildd@lcy02-amd64-050) (x86_64-linux-gnu-gcc-11
(Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38)
#35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2","hostname":"ff-LAT"}'
#37~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 9 15:34:04 UTC 2","hostname":"ff-LAT"}'
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
Accept:
@@ -420,7 +420,7 @@ http_interactions:
Server:
- nginx
Date:
- Tue, 31 Oct 2023 19:02:51 GMT
- Mon, 06 Nov 2023 15:51:24 GMT
Content-Type:
- application/json
Content-Length:
@@ -446,7 +446,7 @@ http_interactions:
'none'; frame-ancestors 'none'; img-src 'self'; script-src 'self' 'report-sample';
style-src 'self'
Request-Id:
- req_MhJwK3bCx1nUCV
- req_qjDkQl3stKfe1m
Stripe-Version:
- '2023-10-16'
Vary:
@@ -459,7 +459,7 @@ http_interactions:
encoding: UTF-8
string: |-
{
"id": "pi_3O7NDAKuuB1fWySn0EzngPdL",
"id": "pi_3O9V5CKuuB1fWySn1hPtURlb",
"object": "payment_intent",
"amount": 100,
"amount_capturable": 100,
@@ -473,20 +473,20 @@ http_interactions:
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "manual",
"client_secret": "pi_3O7NDAKuuB1fWySn0EzngPdL_secret_nvyKe0sDpd5nsmKu485lNtGl3",
"client_secret": "pi_3O9V5CKuuB1fWySn1hPtURlb_secret_6uBS8k5q07jns7S1sRs0F7IZb",
"confirmation_method": "automatic",
"created": 1698778968,
"created": 1699285882,
"currency": "eur",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": "ch_3O7NDAKuuB1fWySn01eDFLcJ",
"latest_charge": "ch_3O9V5CKuuB1fWySn1rAvcdei",
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": "pm_1O7ND9KuuB1fWySnmyW2YCGo",
"payment_method": "pm_1O9V5BKuuB1fWySnlmhXNmd5",
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
@@ -511,5 +511,5 @@ http_interactions:
"transfer_data": null,
"transfer_group": null
}
recorded_at: Tue, 31 Oct 2023 19:02:51 GMT
recorded_at: Mon, 06 Nov 2023 15:51:24 GMT
recorded_with: VCR 6.2.0

View File

@@ -19,7 +19,7 @@ module Stripe
Stripe.api_key = secret
end
describe "#call", :vcr do
describe "#call", :vcr, :stripe_version do
let(:payment) {
create(:payment, amount: payment_intent.amount, payment_method:,
response_code: payment_intent.id, source:)