diff --git a/.fabmanager-version b/.fabmanager-version index e70b4523a..6a6a3d8e3 100644 --- a/.fabmanager-version +++ b/.fabmanager-version @@ -1 +1 @@ -2.6.0 +2.6.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 66f339975..548c116c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog Fab Manager +## v2.6.1 2017 December 14 + +- Updated Portuguese translations (#91) +- Added Spanish translations (#87) +- Added Central Africa & Cameroon currency symbol (#90) +- Fix nginx configuration to allow initial Let's Encrypt configuration (#92) +- Events: open api and monitor improvement (#79) +- Fix a bug: refund an invoice with a subscription and disabling it a the same time cause the resulting PDF to display the wrong dates +- Fix a bug: unable to successfully run the test suite after wednesday +- Fix a security issue: in development environments, web-console has a vulnerability as described in CVE-2015-3224 +- Fixed deploy instructions with docker-compose +- Updated docker installation instructions + ## v2.6.0 2017 November 13 - Additional button to delete a slot, allowing to delete slots masked by others diff --git a/Gemfile b/Gemfile index c42cd438a..6b4264297 100644 --- a/Gemfile +++ b/Gemfile @@ -30,7 +30,7 @@ group :development, :test do # gem 'byebug' # Access an IRB console on exception pages or by using <%= console %> in views - gem 'web-console', '~> 2.0' + gem 'web-console', '~> 2.1.3' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' diff --git a/Gemfile.lock b/Gemfile.lock index 04d6e12a4..82e029f29 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,7 +70,7 @@ GEM axlsx (>= 2.0.1) rails (>= 3.1) bcrypt (3.1.10) - binding_of_caller (0.7.2) + binding_of_caller (0.7.3) debug_inspector (>= 0.0.1) bootstrap-sass (3.3.4.1) autoprefixer-rails (>= 5.0.0.1) @@ -138,7 +138,7 @@ GEM crass (1.0.2) daemons (1.2.4) database_cleaner (1.4.1) - debug_inspector (0.0.2) + debug_inspector (0.0.3) descendants_tracker (0.0.4) thread_safe (~> 0.3, >= 0.3.1) devise (3.4.1) @@ -479,7 +479,7 @@ GEM equalizer (~> 0.0, >= 0.0.9) warden (1.2.3) rack (>= 1.0) - web-console (2.1.2) + web-console (2.1.3) activemodel (>= 4.0) binding_of_caller (>= 0.7.2) railties (>= 4.0) @@ -567,7 +567,7 @@ DEPENDENCIES uglifier (>= 1.3.0) unicorn vcr - web-console (~> 2.0) + web-console (~> 2.1.3) webmock BUNDLED WITH diff --git a/README.md b/README.md index 1f1798f24..21b41f4d7 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,8 @@ The procedure to follow is described in the [docker readme](docker/README.md). ## Setup a development environment -In you only intend to run fab-manager on your local machine for testing purposes or to contribute to the project development, you can set it up with the following procedure. +In you intend to run fab-manager on your local machine to contribute to the project development, you can set it up with the following procedure. +This procedure is not easy to follow so if you don't need to write some code for Fab-manager, please prefer the [docker installation method](docker/README.md). ### General Guidelines @@ -295,10 +296,10 @@ See the [Settings](#i18n-settings) section of the [Internationalization (i18n)]( ### Install PostgreSQL 9.4 on Ubuntu/Debian -1. Create the file `/etc/apt/sources.list.d/pgdg.list`, and append it one the following lines: - - `deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main` (Ubuntu 14.04 Trusty) - - `deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main` (Ubuntu 16.04 Xenial) - - `deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main` (Debian 8 Jessie) +1. Create the file `/etc/apt/sources.list.d/pgdg.list`, and append it one your distribution source: + ```bash + sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + ``` 2. Import the repository signing key, and update the package lists @@ -440,7 +441,7 @@ For a more detailed guide concerning the ElasticSearch installation, please chec sudo apt-get install elasticsearch ``` -4. To automatically start ElasticSearch during bootup, then, depending if your system is compatible with SysV (eg. Ubuntu 14.04) or uses systemd (eg. Debian 8/Ubuntu 16.04), you will need to run: +4. To automatically start ElasticSearch during bootup, then, depending if your system is compatible with SysV (eg. Ubuntu 14.04) or uses systemd (eg. Debian 8+/Ubuntu 16.04+), you will need to run: ```bash # System V diff --git a/app/assets/javascripts/controllers/admin/events.coffee.erb b/app/assets/javascripts/controllers/admin/events.coffee.erb index 2efb2bbee..fe3d56015 100644 --- a/app/assets/javascripts/controllers/admin/events.coffee.erb +++ b/app/assets/javascripts/controllers/admin/events.coffee.erb @@ -171,7 +171,7 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state", $scope.events = eventsPromise ## Current virtual page - $scope.page = 2 + $scope.page = 1 ## Temporary datastore for creating new elements $scope.inserted = @@ -199,10 +199,10 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state", # Adds a bucket of events to the bottom of the page, grouped by month ## $scope.loadMoreEvents = -> - Event.query {page: $scope.page, scope: $scope.eventsScope.selected}, (data)-> + $scope.page += 1 + Event.query { page: $scope.page, scope: $scope.eventsScope.selected }, (data)-> $scope.events = $scope.events.concat data paginationCheck(data, $scope.events) - $scope.page += 1 ## @@ -349,10 +349,10 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state", # We request the first page of corresponding events to the API ## $scope.changeScope = -> - Event.query {page: 0, scope: $scope.eventsScope.selected}, (data)-> + Event.query {page: 1, scope: $scope.eventsScope.selected}, (data)-> $scope.events = data paginationCheck(data, $scope.events) - $scope.page = 0 + $scope.page = 1 diff --git a/app/assets/javascripts/controllers/events.coffee.erb b/app/assets/javascripts/controllers/events.coffee.erb index f7d08072b..9dd525549 100644 --- a/app/assets/javascripts/controllers/events.coffee.erb +++ b/app/assets/javascripts/controllers/events.coffee.erb @@ -37,10 +37,10 @@ Application.Controllers.controller "EventsController", ["$scope", "$state", 'Eve # Adds a resultset of events to the bottom of the page, grouped by month ## $scope.loadMoreEvents = -> + $scope.page += 1 Event.query Object.assign({page: $scope.page}, $scope.filters), (data) -> $scope.events = $scope.events.concat data groupEvents($scope.events) - $scope.page += 1 if (!data[0] || data[0].nb_total_events <= $scope.events.length) $scope.noMoreResults = true @@ -71,7 +71,6 @@ Application.Controllers.controller "EventsController", ["$scope", "$state", 'Eve Event.query Object.assign({page: $scope.page}, $scope.filters), (data) -> $scope.events = data groupEvents(data) - $scope.page += 1 if (!data[0] || data[0].nb_total_events <= $scope.events.length) $scope.noMoreResults = true diff --git a/app/assets/javascripts/filters/filters.coffee b/app/assets/javascripts/filters/filters.coffee index 4b0c1498a..36e677925 100644 --- a/app/assets/javascripts/filters/filters.coffee +++ b/app/assets/javascripts/filters/filters.coffee @@ -173,16 +173,24 @@ Application.Filters.filter "eventsReservationsFilter", [ -> filteredElements = [] angular.forEach elements, (element)-> element.start_at = element.availability.start_at if angular.isUndefined(element.start_at) + element.end_at = element.availability.end_at if angular.isUndefined(element.end_at) switch selectedScope when "future" - if new Date(element.start_at) > new Date + if new Date(element.end_at) >= new Date + filteredElements.push(element) + when "future_asc" + if new Date(element.end_at) >= new Date filteredElements.push(element) when "passed" - if new Date(element.start_at) <= new Date + if new Date(element.end_at) <= new Date filteredElements.push(element) else return [] - filteredElements + switch selectedScope + when "future_asc" + filteredElements.reverse() + else + filteredElements else elements ] diff --git a/app/assets/templates/admin/events/monitoring.html.erb b/app/assets/templates/admin/events/monitoring.html.erb index 65b48857c..f8e094d8b 100644 --- a/app/assets/templates/admin/events/monitoring.html.erb +++ b/app/assets/templates/admin/events/monitoring.html.erb @@ -3,6 +3,7 @@ + @@ -11,25 +12,49 @@ {{ 'title' }} {{ 'dates' }} - + {{ 'booking' }} + - - + + + {{ event.title }} - - {{ 'from_DATE' | translate:{DATE:(event.start_date | amDateFormat:'LL')} }} {{ 'to_date' }} {{event.end_date | amDateFormat:'LL'}} -
- {{ 'all_day' }} - - {{ 'from_TIME' | translate:{TIME:(event.start_date | amDateFormat:'LT')} }} - {{ 'to_time' }} - {{event.end_date | amDateFormat:'LT'}} - + + + + + + {{ 'on_DATE' | translate:{DATE:(event.start_date | amDateFormat:'LL')} }} + + {{ 'from_TIME' | translate:{TIME:(event.start_date | amDateFormat:'LT')} }} + {{ 'to_time' }} + {{event.end_date | amDateFormat:'LT'}} + + + + + + {{'from_DATE' | translate:{DATE:(event.start_date | amDateFormat:'LL')} }} + {{'to_date' | translate}} {{event.end_date | amDateFormat:'LL'}} +
+ + {{ 'from_TIME' | translate:{TIME:(event.start_date | amDateFormat:'LT')} }} + {{ 'to_time' }} + {{event.end_date | amDateFormat:'LT'}} + +
- + + + {{ event.nb_total_places - event.nb_free_places }} / {{ event.nb_total_places }} + {{ 'cancelled' }} + {{ 'free_entry' }} + + +
{{ 'view_reservations' | translate }} @@ -47,4 +72,4 @@
{{ 'load_the_next_events' }}
-
\ No newline at end of file + diff --git a/app/assets/templates/events/_form.html.erb b/app/assets/templates/events/_form.html.erb index b99fbf639..e2c4c7cfb 100644 --- a/app/assets/templates/events/_form.html.erb +++ b/app/assets/templates/events/_form.html.erb @@ -78,7 +78,10 @@ @@ -194,14 +197,14 @@
- +
- +
diff --git a/app/assets/templates/events/index.html.erb b/app/assets/templates/events/index.html.erb index f440f8abc..341b53910 100644 --- a/app/assets/templates/events/index.html.erb +++ b/app/assets/templates/events/index.html.erb @@ -55,13 +55,22 @@

{{event.start_date | amDateFormat:'L'}}

{{event.start_date | amDateFormat:'L'}} {{ 'to_date' }} {{event.end_date | amDateFormat:'L'}}

+
{{ 'free_admission' }}
{{ 'full_price_' | translate }} {{event.amount | currency}} / {{ price.category.name }} {{price.amount | currency}}
{{event.event_themes[0].name}} {{event.age_range.name}}
+ +
+ {{event.nb_free_places}} {{ 'still_available' | translate }} + {{ 'sold_out' }} + {{ 'cancelled' }} + {{ 'free_entry' }} +
+
diff --git a/app/assets/templates/events/show.html.erb b/app/assets/templates/events/show.html.erb index 17b611282..382fe0f85 100644 --- a/app/assets/templates/events/show.html.erb +++ b/app/assets/templates/events/show.html.erb @@ -98,7 +98,8 @@
{{ 'tickets_still_availables' | translate }} {{event.nb_free_places}}
-
{{ 'sold_out' }}
+
{{ 'sold_out' }}
+
{{ 'cancelled' }}
{{ 'free_entry' }}
diff --git a/app/assets/templates/home.html.erb b/app/assets/templates/home.html.erb index 2109fd532..0f44dd80d 100644 --- a/app/assets/templates/home.html.erb +++ b/app/assets/templates/home.html.erb @@ -116,18 +116,26 @@ {{ 'from_time_to_time' | translate:{START:(event.start_date | amDateFormat:'LT'), END:(event.end_date | amDateFormat:'LT')} }}
-
- -
- {{ 'free_entry' }} - {{ 'free_admission' }} - {{event.amount | currency}} {{ 'full_price' | translate }} -
{{ 'event_full' }}
-
- -
-
+ +
+
+ +
+ {{ 'still_available' | translate }} {{event.nb_free_places}} + {{ 'free_entry' }} + {{ 'event_full' }} +
+
+
+ +
+ {{ 'free_admission' }} + {{ 'full_price' | translate }} {{event.amount | currency}} +
+
+
+
{{ 'consult' }}
diff --git a/app/controllers/api/events_controller.rb b/app/controllers/api/events_controller.rb index 2410323e9..fb690eae2 100644 --- a/app/controllers/api/events_controller.rb +++ b/app/controllers/api/events_controller.rb @@ -32,8 +32,10 @@ class API::EventsController < API::ApiController def upcoming limit = params[:limit] @events = Event.includes(:event_image, :event_files, :availability, :category) + .where('events.nb_total_places != -1 OR events.nb_total_places IS NULL') .where('availabilities.start_at >= ?', Time.now) - .order('availabilities.start_at ASC').references(:availabilities).limit(limit) + .order('availabilities.start_at ASC').references(:availabilities) + .limit(limit) end def show diff --git a/app/controllers/api/invoices_controller.rb b/app/controllers/api/invoices_controller.rb index 2a0712d2e..fb473d0c9 100644 --- a/app/controllers/api/invoices_controller.rb +++ b/app/controllers/api/invoices_controller.rb @@ -63,6 +63,11 @@ class API::InvoicesController < API::ApiController invoice = Invoice.only_invoice.find(avoir_params[:invoice_id]) @avoir = invoice.build_avoir(avoir_params) if @avoir.save + # when saved, expire the subscription if needed + if @avoir.subscription_to_expire + @avoir.expire_subscription + end + # then answer the API call render :avoir, status: :created else render json: @avoir.errors, status: :unprocessable_entity diff --git a/app/controllers/open_api/v1/events_controller.rb b/app/controllers/open_api/v1/events_controller.rb index 2dcba1e78..adcc4a6ed 100644 --- a/app/controllers/open_api/v1/events_controller.rb +++ b/app/controllers/open_api/v1/events_controller.rb @@ -3,7 +3,18 @@ class OpenAPI::V1::EventsController < OpenAPI::V1::BaseController expose_doc def index - @events = Event.order(created_at: :desc) + + if upcoming + @events = Event.includes(:event_image, :event_files, :availability, :category) + .where('availabilities.end_at >= ?', Time.now) + .order('availabilities.start_at ASC').references(:availabilities) + else + @events = Event.includes(:event_image, :event_files, :availability, :category).order(created_at: :desc) + end + + if params[:id].present? + @events = @events.where(id: params[:id]) + end if params[:page].present? @events = @events.page(params[:page]).per(per_page) @@ -15,4 +26,7 @@ class OpenAPI::V1::EventsController < OpenAPI::V1::BaseController def per_page params[:per_page] || 20 end + def upcoming + params[:upcoming] || false + end end diff --git a/app/doc/open_api/v1/events_doc.rb b/app/doc/open_api/v1/events_doc.rb index 46d511838..4b8f391de 100644 --- a/app/doc/open_api/v1/events_doc.rb +++ b/app/doc/open_api/v1/events_doc.rb @@ -11,6 +11,8 @@ class OpenAPI::V1::EventsDoc < OpenAPI::V1::BaseDoc doc_for :index do api :GET, "/#{API_VERSION}/events", "Events index" param_group :pagination + param :id, [Integer, Array], optional: true, desc: "Scope the request to one or various events." + param :upcoming, [FalseClass, TrueClass], optional: true, desc: "Scope for the upcoming events." description "Events index. Order by *created_at* desc." example <<-EOS # /open_api/v1/events?page=1&per_page=2 diff --git a/app/models/avoir.rb b/app/models/avoir.rb index 212c0627e..3150c33f5 100644 --- a/app/models/avoir.rb +++ b/app/models/avoir.rb @@ -1,6 +1,5 @@ class Avoir < Invoice belongs_to :invoice - after_create :expire_subscription, if: :subscription_to_expire validates :avoir_mode, :inclusion => {:in => %w(stripe cheque transfer none cash wallet)} diff --git a/app/models/invoice.rb b/app/models/invoice.rb index dbd1e2390..5c3a5f263 100644 --- a/app/models/invoice.rb +++ b/app/models/invoice.rb @@ -212,7 +212,7 @@ class Invoice < ActiveRecord::Base unless Rails.env.test? puts "Creating an InvoiceWorker job to generate the following invoice: id(#{id}), invoiced_id(#{invoiced_id}), invoiced_type(#{invoiced_type}), user_id(#{user_id})" end - InvoiceWorker.perform_async(id) + InvoiceWorker.perform_async(id, user&.subscription&.expired_at) end ## diff --git a/app/pdfs/pdf/invoice.rb b/app/pdfs/pdf/invoice.rb index 62ed372db..823a4c296 100644 --- a/app/pdfs/pdf/invoice.rb +++ b/app/pdfs/pdf/invoice.rb @@ -5,7 +5,7 @@ module PDF include ActionView::Helpers::NumberHelper include ApplicationHelper - def initialize(invoice) + def initialize(invoice, subscription_expiration_date) super(:margin => 70) # fonts @@ -118,8 +118,9 @@ module PDF if invoice.invoiced_type == 'OfferDay' details += I18n.t('invoices.subscription_extended_for_free_from_START_to_END', START:I18n.l(invoice.invoiced.start_at.to_date), END:I18n.l(invoice.invoiced.end_at.to_date)) else - subscription_start_at = subscription.expired_at - subscription.plan.duration - details += I18n.t('invoices.subscription_NAME_from_START_to_END', NAME:item.description, START:I18n.l(subscription_start_at.to_date), END:I18n.l(subscription.expired_at.to_date)) + subscription_end_at = subscription_expiration_date.is_a?(Time) ? subscription_expiration_date : DateTime.parse(subscription_expiration_date) + subscription_start_at = subscription_end_at - subscription.plan.duration + details += I18n.t('invoices.subscription_NAME_from_START_to_END', NAME:item.description, START:I18n.l(subscription_start_at.to_date), END:I18n.l(subscription_expiration_date.to_date)) end diff --git a/app/views/open_api/v1/events/index.json.jbuilder b/app/views/open_api/v1/events/index.json.jbuilder index 33478cd38..57f083cd4 100644 --- a/app/views/open_api/v1/events/index.json.jbuilder +++ b/app/views/open_api/v1/events/index.json.jbuilder @@ -1,6 +1,13 @@ json.events @events do |event| json.partial! 'open_api/v1/events/event', event: event json.extract! event, :nb_total_places, :nb_free_places + json.start_at event.availability.start_at + json.end_at event.availability.end_at + json.event_image do + json.large_url root_url.chomp('/') + event.event_image.attachment.large.url + json.medium_url root_url.chomp('/') + event.event_image.attachment.medium.url + json.small_url root_url.chomp('/') + event.event_image.attachment.small.url + end json.prices do json.normal do json.name I18n.t('app.public.home.full_price') diff --git a/app/workers/invoice_worker.rb b/app/workers/invoice_worker.rb index fa8c7ce23..7bf6ac310 100644 --- a/app/workers/invoice_worker.rb +++ b/app/workers/invoice_worker.rb @@ -1,10 +1,10 @@ class InvoiceWorker include Sidekiq::Worker - def perform(invoice_id) + def perform(invoice_id, subscription_expiration_date) # generate a invoice invoice = Invoice.find invoice_id - pdf = ::PDF::Invoice.new(invoice).render + pdf = ::PDF::Invoice.new(invoice, subscription_expiration_date).render # store invoice on drive File.binwrite(invoice.file, pdf) diff --git a/config/locales/app.admin.en.yml b/config/locales/app.admin.en.yml index 6204649d4..e433afbe6 100644 --- a/config/locales/app.admin.en.yml +++ b/config/locales/app.admin.en.yml @@ -111,8 +111,15 @@ en: all_events: "All events" passed_events: "Passed events" events_to_come: "Events to come" - from_DATE: "From {{DATE}}" # angular interpolation - from_TIME: "From {{TIME}}" # angular interpolation + events_to_come_asc: "Events to come | chronological order" + on_DATE: "on {{DATE}}" # angular interpolation + from_DATE: "from {{DATE}}" # angular interpolation + from_TIME: "from {{TIME}}" # angular interpolation + booking: "Booking" + sold_out: "Sold out" + cancelled: "Cancelled" + free_entry: "Free entry" + free_admission: "Free admission" view_reservations: "View reservations" categories: "Categories" add_a_category: "Add a category" diff --git a/config/locales/app.admin.es.yml b/config/locales/app.admin.es.yml new file mode 100644 index 000000000..666062303 --- /dev/null +++ b/config/locales/app.admin.es.yml @@ -0,0 +1,688 @@ +es: + app: + admin: + machines_new: + # add a new machine + declare_a_new_machine: "Declara una nueva máquina" + watch_out_when_creating_a_new_machine_its_prices_are_initialized_at_0_for_all_subscriptions: "Cuidado al crear una nueva máquina, los precios están inicializados a 0 para todas las subscripciones." + consider_changing_them_before_creating_any_reservation_slot: "Considera cambiarlos antes de crear cualquier ranura de reserva." + + machines_edit: + # machine edition + machine_edit: "Editar una máquina" + + calendar: + # manage the trainings & machines slots + admin_calendar: + calendar_management: "Administración de calendario" + trainings: "Formación" + machines: "Máquinas" + spaces: "Espacios" + availabilities: "Disponibilidades" + availabilities_notice: "Exportar a un libro de trabajo de Excel cada ranura disponible para reserva, y su ratio de ocupación." + ongoing_reservations: "Reservas en curso" + no_reservations: "Sin reservas" + confirmation_required: "Confirmación requerida" + do_you_really_want_to_cancel_the_USER_s_reservation_the_DATE_at_TIME_concerning_RESERVATION: "Realmente quieres cancelar la reserva del {USER}, en {DATE} a las {TIME}, respecto {RESERVATION}?" # messageFormat interpolation + reservation_was_successfully_cancelled: "La reserva fué cancelada con éxito." + reservation_cancellation_failed: "Fallo al cancelar la reserva." + unable_to_remove_the_last_machine_of_the_slot_delete_the_slot_rather: "No se puede quitar la última máquina de la ranura. Eliminar la ranura en su lugar." + do_you_really_want_to_remove_MACHINE_from_this_slot: "Realmente quieres borrar la \"{MACHINE}\" de este espacio?" # messageFormat interpolation + this_will_prevent_any_new_reservation_on_this_slot_but_wont_cancel_those_existing: "Esto evitará cualquier nueva reserva en esta ranura, pero no cancelará las existentes." + beware_this_cannot_be_reverted: "Beware: esto no puede ser revertido." + the_machine_was_successfully_removed_from_the_slot: "La máquina se eliminó correctamente de la ranura." + deletion_failed: "Fallo al borrar." + DATE_slot: "{{DATE}} espacio:" # angular interpolation + what_kind_of_slot_do_you_want_to_create: "¿Qué tipo de ranura desea crear??" + training: "Formación" + machine: "Máquina" + space: "Espacio" + next: "Siguiente >" + previous: "< Anterior" + select_some_machines: "Seleccione algunas máquinas" + number_of_tickets: "Número de tickets: " + adjust_the_opening_hours: "Ajustar el horario de apertura" + to_time: "to" # context: hora. ej. "de 18:00 a 21:00" + restrict_this_slot_with_labels_(optional): "Restringir esta ranura con etiquetas (opcional)" + the_slot_START-END_has_been_successfully_deleted: "La ranura {{START}} - {{END}} se ha eliminado correctamente" # angular interpolation + unable_to_delete_the_slot_START-END_because_it_s_already_reserved_by_a_member: "No se puede eliminar la ranura {{START}} - {{END}} porque ya está reservada por un miembror" # angular interpolation + you_should_select_at_least_a_machine: "Debe seleccionar al menos una máquina en esta ranura." + export_is_running_you_ll_be_notified_when_its_ready: "La exportación se está ejecutando. Se le notificará cuando esté listo." + actions: "Acciones" + block_reservations: "Reservas de bloques" + do_you_really_want_to_block_this_slot: "¿Realmente desea bloquear nuevas reservas en esta ranura? Se volverá invisible para los usuarios." + locking_success: "Ranura correctamente bloqueada, no aparecerá más en el calendario del usuario" + locking_failed: "Ocurrió un error. El bloqueo de la ranura ha fallado" + allow_reservations: "Permitir reservas" + do_you_really_want_to_allow_reservations: "¿Realmente desea permitir la reserva de nuevo en esta ranura? Será visible para los usuarios." + unlocking_success: "Ranura desbloqueada con éxito, aparecerá de nuevo en el calendario de usuario" + unlocking_failed: "Ocurrió un error. El desbloqueo de la ranura ha fallado" + reservations_locked: "La reserva está bloqueada" + unlockable_because_reservations: "No se puede bloquear la reserva en esta ranura porque existen algunas reservas no canceladas." + delete_slot: "Delete this slot" # translation_missing + do_you_really_want_to_delete_this_slot: "Do you really want to delete this slot?" + + project_elements: + # management of the projects' components + projects_elements_management: "Gestión de elementos de proyectos" + add_a_material: "Añadir un material" + add_a_new_theme: "Añadir un nuevo tema" + licences: "Licencias" + add_a_new_licence: "Agregar una nueva licencia" + + trainings: + # track and monitor the trainings + training: "Formación" + add_a_new_training: "Add a new training" # translation_missing + associated_machines: "Associated machines" # translation_missing + number_of_tickets: "Number of tickets" # translation_missing + year_NUMBER: "Año {{NUMBER}}" # angular interpolation + month_of_NAME: "Mes of {{NAME}}" # angular interpolation + NUMBER_reservation: "{NUMBER} {NUMBER, plural, one{reservation} other{reservations}}" # messageFormat interpolation + none: "Nada" + training_validation: "Validación de la formación" + training_of_the_ : "Training of the " # context: fecha. p.ej. "entrenamiento del 1 de septiembre 2012" + you_can_validate_the_training_of_the_following_members: "Puede validar la formación de los siguientes miembros:" + no_reservation: "Sin reserva" + validate_the_trainings: "Validar los entrenamientos" + edition_of_the_description_tooltip: "Edición de la descripción tooltip" + describe_the_training_in_a_few_words: "Describa el entrenamiento en pocas palabras." + description_is_limited_to_255_characters: "La descripción está limitada a 255 caracteres." + description_was_successfully_saved: "La descripción se ha guardado correctamente." + training_successfully_deleted: "Entrenamiento eliminado correctamente." + unable_to_delete_the_training_because_some_users_alredy_booked_it: "No se puede eliminar el entrenamiento porque algunos usuarios ya lo han reservado." + do_you_really_want_to_delete_this_training: "¿De verdad quieres eliminar este entrenamiento?" + status_enabled: "Enabled" # translation_missing + status_disabled: "Disabled" # translation_missing + status_all: "All" # translation_missing + + trainings_new: + # create a new training + trainings_new: + add_a_new_training: "Add a new training" # translation_missing + beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Tenga cuidado, al crear una formación, sus precios de reserva se inicializan en cero." + dont_forget_to_change_them_before_creating_slots_for_this_training: "No olvides cambiarlos antes de crear espacios para esta formación." + + events: + # events tracking and management + events_monitoring: "Monitoreo de eventos" + manage_filters: "Administrar filtros" + fablab_events: "Eventos de Fablab" + all_events: "Todos los eventos" + passed_events: "Eventos pasados" + events_to_come: "Eventos por venir" + events_to_come_asc: "Events to come | chronological order" + on_DATE: "on {{DATE}}" # angular interpolation # translation_missing + from_DATE: "Desde {{DATE}}" # angular interpolation # translation_missing + from_TIME: "Desde {{TIME}}" # angular interpolation # translation_missing + booking: "Booking" # translation_missing + sold_out: "Sold out" # translation_missing + cancelled: "Cancelled" # translation_missing + free_entry: "Free entry" # translation_missing + free_admission: "Free admission" # translation_missing + view_reservations: "Ver reservas" + categories: "Categorías" + add_a_category: "Añadir una categoría" + add_a_theme: "Añadir un tema" + age_ranges: "Rango de edad" + add_a_range: "Añadir un rango" + do_you_really_want_to_delete_this_ELEMENT: "¿Realmente desea eliminar este {ELEMENT, select, category{category} theme{theme} age_range{age range} other{element}}?" # messageFormat interpolation + unable_to_delete_ELEMENT_already_in_use_NUMBER_times: "No se puede eliminar este {ELEMENT, select, category{category} theme{theme} age_range{age range} other{element}} porque ya está asociado con {NUMBER, plural, =0{no events} one{one event} other{{NUMBER} events}}." # messageFormat interpolation + at_least_one_category_is_required: "Se requiere por lo menos una categoría." + unable_to_delete_the_last_one: "No se pudo eliminar el último." + unable_to_delete_an_error_occured: "No se pudo eliminar: se ha producido un error.." + manage_prices_categories: "Gestionar categorías de precios" + prices_categories: "Categorías de precios" + add_a_price_category: "Agregar una categoría de precios" + usages_count: "Cuenta de uso" + price_category: "Categoría de precios" + category_name: "Nombre de la categoría" + category_name_is_required: "El nombre de la categoría es obligatorio." + enter_here_the_conditions_under_which_this_price_is_applicable: "Introduzca aquí las condiciones bajo las cuales este precio es aplicable" + conditions_are_required: "Se requieren condiciones." + price_category_successfully_created: "Categoría de precios creada correctamente." + unable_to_add_the_price_category_check_name_already_used: "No se puede agregar la categoría de precio, compruebe que el nombre no está ya utilizado." + unexpected_error_occurred_please_refresh: "Se ha producido un error inesperado. Actualice la página.." + price_category_successfully_updated: "Categoría de precio actualizada correctamente." + unable_to_update_the_price_category: "No se puede actualizar la categoría de precios." + unable_to_delete_this_price_category_because_it_is_already_used: "No se puede eliminar esta categoría de precio ya que se está utilizando." + do_you_really_want_to_delete_this_price_category: "¿Desea realmente eliminar esta categoría de precios?" + price_category_successfully_deleted: "Categoría de precio eliminada correctamente." + price_category_deletion_failed: "Error al eliminar la categoría de precio." + + events_new: + # add a new event + none: "Nada" + every_days: "Todos los dias" + every_week: "Cada semana" + every_month: "Cada mes" + every_year: "Cada año" + + events_edit: + # edit an existing event + edit_the_event: "Editar el evento" + + event_reservations: + # event reservations list + the_reservations: "Reservas :" + payment_date: "Fecha de pago" + reserved_tickets: "Tickets reservados " + show_the_event: "Mostrar el evento" + no_reservations_for_now: "No hay reservas por ahora." + back_to_monitoring: "Volver a monitorizar" + + pricing: + # subscriptions, prices, credits and coupons management + pricing: + pricing_management: "Gestión de precios" + subscriptions: "Suscripciones" + trainings: "Formaciones" + list_of_the_subscription_plans: "Lista de los planes de suscripción" + beware_the_subscriptions_are_disabled_on_this_application: "Atención, las suscripciones están inhabilitadas en esta aplicación." + you_can_create_some_but_they_wont_be_available_until_the_project_is_redeployed_by_the_server_manager: "Puede crear algunos, pero no estarán disponibles hasta que el proyecto sea reasignado por el administrador del servidor." + for_safety_reasons_please_dont_create_subscriptions_if_you_dont_want_intend_to_use_them_later: "Por razones de seguridad, no cree suscripciones si no tiene la intención de usarlas más tarde." + add_a_new_subscription_plan: "Agregar un nuevo plan de suscripción" + type: "Tipo" + partner: "Socio" + standard: "Estándar" + name: "Nombre" + duration: "Duración" + group: "Grupo" + prominence: "Prominencia" + price: "Precio" + machine_hours: "Horas de la máquina" + these_prices_match_machine_hours_rates_: "Estos precios se ajustan a la tarifas de máquina por horas" + _without_subscriptions: "Sin suscripciones" + machines: "Máquinas" + credits: "Créditos" + subscription: "Suscripción" + related_trainings: "Formación relacionada" + add_a_machine_credit: "Agregar un crédito de máquina" + machine: "Máquina" + hours: "Horas" + related_subscriptions: "Suscripciónes relacionada" + please_specify_a_number: "Por favor, especifique un número." + none: "Nada" # nota gramatical: concordancia con "formación". + an_error_occurred_while_saving_the_number_of_credits: "Se ha producido un error al guardar el número de créditos." + an_error_occurred_while_deleting_credit_with_the_TRAINING: "Se ha producido un error al eliminar el crédito con la {{TRAINING}}." # angular interpolation + an_error_occurred_unable_to_find_the_credit_to_revoke: "Se ha producido un error: no se puede encontrar el crédito a revocar." + an_error_occurred_while_creating_credit_with_the_TRAINING: "Se ha producido un error al crear crédito con la {{TRAINING}}." # angular interpolation + not_set: "No establecido" + error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Error: un crédito que vincula esta máquina con esa suscripción ya existe." + changes_have_been_successfully_saved: "Los cambios se han guardado correctamented." + credit_was_successfully_saved: "El crédito se ha guardado correctamente." + error_creating_credit: "Unable to create credit, an error occurred" # translation_missing + do_you_really_want_to_delete_this_subscription_plan: "¿Realmente desea eliminar este plan de suscripción?" + subscription_plan_was_successfully_deleted: "Plan de suscripción eliminado correctamente." + unable_to_delete_the_specified_subscription_an_error_occurred: "No se pudo eliminar la suscripción especificada, se produjo un error.." + coupons: "Cupones" + list_of_the_coupons: "Lista de los cupones" + discount: "Descuento" + nb_of_usages: "Número de usos" + status: "Estado" + add_a_new_coupon: "Añadir un nuevo cupón" + disabled: "Desactivado" + expired: "Expirado" + sold_out: "Agotado" + active: "Activo" + confirmation_required: "Confirmación requerida" + do_you_really_want_to_delete_this_coupon: "¿Desea realmente eliminar este cupón?" + coupon_was_successfully_deleted: "El cupón se eliminó correctamente." + unable_to_delete_the_specified_coupon_already_in_use: "No se puede eliminar el cupón especificado: ya se utiliza con algunas facturas." + unable_to_delete_the_specified_coupon_an_unexpected_error_occurred: "No se pudo eliminar el cupón especificado: se produjo un error inesperado." + send_a_coupon: "Enviar un cupón" + coupon: "Cupón" + usages: "Usos" + coupon_successfully_sent_to_USER: "Cupón enviado correctamente a {{USER}}" # angular interpolation + an_error_occurred_unable_to_send_the_coupon: "Un error inesperado impidió el envío del cupón.." + code: "Código" + enabled: "Habilitado" + validity_per_user: "Validez por usuario" + once: "Sólo una vez" + forever: "Cada uso" + valid_until: "Válido hasta (incluido)" + spaces: "Espacios" + these_prices_match_space_hours_rates_: "Estos precios coinciden con las tarifas de espacio por horas" + add_a_space_credit: "Añadir un crédito de espacio" + space: "Espacio" + error_a_credit_linking_this_space_with_that_subscription_already_exists: "Error: un crédito que vincula este espacio con esa suscripción ya existe." + status_enabled: "Enabled" # translation_missing + status_disabled: "Disabled" # translation_missing + status_all: "All" # translation_missing + + coupons_new: + # ajouter un code promotionnel + add_a_coupon: "Añadir un cupón" + unable_to_create_the_coupon_check_code_already_used: "No se puede crear el cupón. Compruebe que el código no esté ya utilizado" + + coupons_edit: + # mettre à jour un code promotionnel + unable_to_update_the_coupon_an_error_occurred: "No se puede actualizar el cupón: se ha producido un error." + + plans: + new: + # add a subscription plan on the platform + new_plan: + add_a_subscription_plan: "Agregar un plan de suscripción" + unable_to_create_the_subscription_please_try_again: "No se puede crear el plan de suscripción. Por favor, inténtelo de nuevo." + successfully_created_subscription(s)_dont_forget_to_redefine_prices: "Suscripción(es) creada correctamente. No olvide redefinir los precios." + unable_to_save_this_user_check_that_there_isnt_an_already_a_user_with_the_same_name: "No se puede guardar este usuario. Compruebe que no hay un usuario ya definido con el mismo nombre." + edit: + # edit a subscription plan / machine hours prices + edit_plan: + subscription_plan: "Plan de suscripción:" + prices: "Precios" + copy_prices_from: "Copia los precios desde" + machines: "Máquinas" + machine: "Máquina" + hourly_rate: "Tarifa por hora" + spaces: "Espacios" + space: "Espacio" + unable_to_save_subscription_changes_please_try_again: "No se pueden guardar los cambios de suscripción. Por favor, inténtelo de nuevo." + subscription_successfully_changed: "Suscripción cambiada correctamente." + + invoices: + # list of all invoices & invoicing parameters + invoices: "Facturas" + invoices_list: "Lista de facturas" + filter_invoices: "Filtrar facturas" + invoice_#_: "Factura #:" + customer_: "Cliente:" + date_: "Fecha:" + invoice_#: "Factura #" + customer: "Cliente" + credit_note: "Nota de crédito" + display_more_invoices: "Mostrar más facturas..." + invoicing_settings: "Configuración de facturación" + change_logo: "Cambio de logotipo" + john_smith: "John Smith" + john_smith@example_com: "jean.smith@example.com" + invoice_reference_: "Referencia de factura:" + code_: "Código:" + code_disabled: "Código inhabilitado" + order_#: "Orden #:" + invoice_issued_on_DATE_at_TIME: "Factura emitida el {{DATE}} a las {{TIME}}" # angular interpolation + object_reservation_of_john_smith_on_DATE_at_TIME: "Objeto: Reserva de John Smith el {{DATE}} a las {{TIME}}" # angular interpolation + order_summary: "Resumen del pedido:" + details: "Detalles" + amount: "Cantidad" + machine_booking-3D_printer: "Reserva de la máquina- Impresora 3D" + total_amount: "Cantidad total" + total_including_all_taxes: "Total incl. todos los impuestos" + VAT_disabled: "VAT disabled" + including_VAT: "IVA desactivado" + including_total_excluding_taxes: "Incluido Total excl. impuestos" + including_amount_payed_on_ordering: "Incluido el monto pagado en el pedido" + settlement_by_debit_card_on_DATE_at_TIME_for_an_amount_of_AMOUNT: "Liquidación por tarjeta de débito el {{DATE}} a las {{TIME}}, por una cantidad de {{AMOUNT}}" + important_notes: "Notas importantes" + address_and_legal_information: "Dirección e información legal" + invoice_reference: "Referencia de factura" + day: "Día" + "#_of_invoice": "# de factura" + online_sales: "Ventas en línea" + wallet: "Cartera" + refund: "Reembolso" + documentation: "Documentación" + 2_digits_year_(eg_70): "2 dígitos del año (por ejemplo, 70)" + 4_digits_year_(eg_1970): "4 dígitos del año (por ejemplo, 70)" + month_number_(eg_1): "Número del mes (por ejemplo, 1)" + 2_digits_month_number_(eg_01): "Número de mes de 2 dígitos (por ejemplo, 01)" + 3_characters_month_name_(eg_JAN): "3 caracteres nombre del mes (por ejemplo, ENE)" + day_in_the_month_(eg_1): "Día del mes (por ejemplo, 1)" + 2_digits_day_in_the_month_(eg_01): "2 dígitos en el mes (por ejemplo, 01)" + (n)_digits_daily_count_of_invoices_(eg_ddd_002_2nd_invoice_of_the_day): "(n) dígitos, cuenta diaria de facturas (por ejemplo, ddd => 002: 2ª factura del día)" + (n)_digits_monthly_count_of_invoices_(eg_mmmm_0012_12th_invoice_of_this_month): "(n) dígitos, recuento mensual de facturas (por ejemplo, mmmm => 0012: 12ª factura del mes)" + (n)_digits_annual_amount_of_invoices_(eg_yyyyyy_000008_8th_invoice_of_this_year): "(n) dígitos, recuento anual de facturas (ej. aaaaa => 000008: 8ª factura de este año)" + beware_if_the_number_exceed_the_specified_length_it_will_be_truncated_by_the_left: "Cuidado: si el número excede la longitud especificada, será aproximado por la izquierda." + (n)_digits_count_of_orders_(eg_nnnn_0327_327th_order): "(n) dígitos, cuenta diaria de órdenes (eg ddd => 002: segunda orden del día)" + (n)_digits_daily_count_of_orders_(eg_ddd_002_2nd_order_of_the_day): "((n) dígitos, cuenta diaria de órdenes (eg ddd => 002: segunda orden del día)" + (n)_digits_monthly_count_of_orders_(eg_mmmm_0012_12th_order_of_this_month): "(n) dígitos, recuento mensual de pedidos (por ejemplo, mmmm => 0012: 12º orden del mes)" + (n)_digits_annual_amount_of_orders_(eg_yyyyyy_000008_8th_order_of_this_year): "(n) dígitos, recuento anual de órdenes (ej: aaaaa => 000008: octava orden de este año)" + add_a_notice_regarding_the_online_sales_only_if_the_invoice_is_concerned: "Añadir un aviso con respecto a las ventas en línea, sólo si la factura es de interés." + this_will_never_be_added_when_a_refund_notice_is_present: "Esto nunca se agregará cuando se presente un aviso de reembolso." + (eg_X[/VL]_will_add_/VL_to_the_invoices_settled_with_stripe): '(por ejemplo, X [/ VL] agregará "/ VL" a las facturas liquidadas con la raya)' + add_a_notice_regarding_refunds_only_if_the_invoice_is_concerned: "Añada un aviso con respecto a los reembolsos, sólo si la factura es de interés." + this_will_never_be_added_when_an_online_sales_notice_is_present: "Esto nunca se agregará cuando un aviso de venta en línea está presente." + (eg_R[/A]_will_add_/A_to_the_refund_invoices): '(ed. R[/A] añadirá "/A" a las facturas de reembolso)' + add_a_notice_regarding_the_wallet_only_if_the_invoice_is_concerned: "Añadir un aviso con respecto a la cartera, sólo si la factura es de interés." + (eg_W[/PM]_will_add_/PM_to_the_invoices_settled_with_wallet): '(eg. W[/PM] añadirá "/PM" a las facturas liquidadas con cartera)' + code: "Código" + enable_the_code: "Habilitar el código" + enabled: "Habilitado" + disabled: "Desactivado" + order_number: "Número de orden" + elements: "Elementos" + VAT: "IVA" + enable_VAT: "Habilitar IVA" + VAT_rate: "Ratio IVA" + refund_invoice_successfully_created: "Factura de reembolso creada correctamente." + create_a_refund_on_this_invoice: "Crear un reembolso en esta factura" + creation_date_for_the_refund: "Fecha de creación del reembolso" + creation_date_is_required: "Se requiere la fecha de creación." + refund_mode: "Modo de reembolso:" + do_you_want_to_disable_the_user_s_subscription: "¿Quieres inhabilitar la suscripción del usuario?:" + elements_to_refund: "Elementos a reembolsar" + description_(optional): "Descripción (opcional):" + will_appear_on_the_refund_invoice: "Aparecerá en la factura de reembolso." + none: "Nada" # grammar note: concordancia con "medio de pago"" + by_cash: "En efectivo" + by_cheque: "Mediante cheque" + by_transfer: "Por transferencia" + by_wallet: "Por cartera" + you_must_select_at_least_one_element_to_create_a_refund: "Debe seleccionar al menos un elemento, para crear un reembolso." + unable_to_create_the_refund: "No se puede crear el reembolso" + invoice_reference_successfully_saved: "Referencia de factura guardada correctamente." + an_error_occurred_while_saving_invoice_reference: "Se ha producido un error al guardar la referencia de la factura." + invoicing_code_succesfully_saved: "Código de facturación guardado correctamente." + an_error_occurred_while_saving_the_invoicing_code: "Se ha producido un error al guardar el código de facturación.." + code_successfully_activated: "Código activado correctamente." + code_successfully_disabled: "Código deshabilitado correctamente." + an_error_occurred_while_activating_the_invoicing_code: "Se ha producido un error al activar el código de facturación." + order_number_successfully_saved: "Número de pedido guardado correctamente." + an_error_occurred_while_saving_the_order_number: "Se ha producido un error al guardar el número de orden." + VAT_rate_successfully_saved: "VAT rate successfully saved." # translation_missing + an_error_occurred_while_saving_the_VAT_rate: "La tasa de IVA se ha guardado correctamente." + VAT_successfully_activated: "IVA activado correctamente." + VAT_successfully_disabled: "IVA desactivado correctamente." + an_error_occurred_while_activating_the_VAT: "Se ha producido un error al activar el IVA." + text_successfully_saved: "Texto guardado correctamente." + an_error_occurred_while_saving_the_text: "Se ha producido un error al guardar el texto." + address_and_legal_information_successfully_saved: "Dirección e información legal guardada correctamente." + an_error_occurred_while_saving_the_address_and_the_legal_information: "Se ha producido un error al guardar la dirección y la información legal." + logo_successfully_saved: "Logo guardado correctamente." + an_error_occurred_while_saving_the_logo: "Se ha producido un error al guardar el logotipo.." + + members: + # management of users, labels, groups, and so on + users_management: "Gestión de usuarios" + members: "Miembros" + search_for_an_user: "Buscar un usuario" + add_a_new_member: "Añadir un nuevo miembro" + reservations: "Reservas" + email: "Email" + phone: "Teléfono" + user_type: "Tipo de usuario" + display_more_users: "Mostrar más usuarios...." + administrators: "Administradores" + search_for_an_administrator: "Buscar un administrador" + add_a_new_administrator: "Agregar un nuevo administrador" + groups: "Grupos" + authentication: "Autenticación" + do_you_really_want_to_delete_this_administrator_this_cannot_be_undone: "¿Desea realmente eliminar este administrador? Esto no se puede deshacer." + this_may_take_a_while_please_wait: "Advertencia: esto puede tomar un tiempo, por favor, tenga paciencia." + administrator_successfully_deleted: "Administrador eliminado correctamente." + unable_to_delete_the_administrator: "No se puede eliminar el administrador." + changes_successfully_saved: "Cambios guardados correctamente." + an_error_occurred_while_saving_changes: "Se ha producido un error al guardar los cambios." + add_a_tag: "Añadir una etiqueta" + tag_name: "Nombre de la etiqueta" + new_tag_successfully_saved: "Nueva etiqueta guardada correctamente." + an_error_occurred_while_saving_the_new_tag: "Se ha producido un error al guardar la nueva etiqueta.." + tag_successfully_deleted: "Etiqueta eliminada correctamente." + an_error_occurred_and_the_tag_deletion_failed: "Se ha producido un error y no se ha podido eliminar la etiqueta.." + search_for_an_authentication_provider: "Buscar un proveedor de autenticación" + add_a_new_authentication_provider: "Agregar un nuevo proveedor de autenticación" + strategy_name: "Nombre de la estrategia" + state: "Estado" + unknown: "Desconocido: " + active: "Activo" + pending: "Pendiente" + previous_provider: "Proveedor anteriorr" + do_you_really_want_to_delete_the_TYPE_authentication_provider_NAME: "¿Realmente desea eliminar la {{TYPE}} proveedor de autenticación: {{NAME}}?" # angular interpolation + authentication_provider_successfully_deleted: "El proveedor de autenticación se eliminó correctamente." + an_error_occurred_unable_to_delete_the_specified_provider: "Se ha producido un error: no se puede eliminar el proveedor especificado." + local_database: "Base de datos local" + o_auth2: "OAuth 2.0" + group_form: + add_a_group: "Añadir un grupo" + group_name: "Nombre del grupo" + disable: "Disable" # translation_missing + enable: "Enable" # translation_missing + changes_successfully_saved: "Changes successfully saved." # translation_missing + an_error_occurred_while_saving_changes: "An error occurred when saving changes." # translation_missing + new_group_successfully_saved: "Nuevo grupo guardado correctamente." + an_error_occurred_when_saving_the_new_group: "Se ha producido un error al guardar el nuevo grupo." + group_successfully_deleted: "Grupo eliminado correctamente." + unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "No se puede eliminar el grupo porque algunos usuarios y / o grupos todavía están vinculados a él." + group_successfully_enabled_disabled: "Group successfully {STATUS, select, true{disabled} other{enabled}}." # messageFormat interpolation # translation_missing + unable_to_enable_disable_group: "Unable to {STATUS, select, true{disable} other{enable}} group." # messageFormat interpolation # translation_missing + unable_to_disable_group_with_users: "Unable to disable group because it still contains {USERS} active {USERS, plural, =1{user} other{users}}." # messageFormat interpolation # translation_missing + status_enabled: "Enabled" # translation_missing + status_disabled: "Disabled" # translation_missing + status_all: "All" # translation_missing + + members_new: + # add a member + members_new: + add_a_member: "Agregar un miembro" + user_is_an_organization: "El usuario es una organización" + + members_edit: + # edit a member + duration: "Duración:" + expires_at: "Caduca en:" + price_: "Precio:" + offer_free_days: "Ofrecer días gratis" + extend_subscription: "Ampliar suscripción" + user_has_no_current_subscription: "El usuario no tiene una suscripción actual." + subscribe_to_a_plan: "Suscribirse a un plan" + next_trainings: "Próxima formación" + passed_trainings: "Formación completada" + validated_trainings: "Formación validada" + events: "Eventos" + next_events: "Próximos eventos" + no_upcoming_events: "No hay próximos eventos" + NUMBER_full_price_tickets_reserved: "{NUMBER, plural, =0{} one{1 full price ticket reserved} other{{NUMBER} full price tickets reserved}}" # messageFormat interpolation # translation_missing + NUMBER_NAME_tickets_reserved: "{NUMBER, plural, =0{} one{1 {NAME} ticket reserved} other{{NUMBER} {NAME} tickets reserved}}" # messageFormat interpolation # translation_missing + passed_events: "Eventos pasados" + invoices: "Facturas" + invoice_#: "Factura #" + download_the_refund_invoice: "Descargar la factura de reembolso" + expiration_date: "Fecha de caducidad" + you_intentionally_decide_to_extend_the_user_s_subscription_by_offering_him_free_days: "Usted intencionalmente decide extender la suscripción del usuario ofreciéndole días libres." + you_intentionally_decide_to_extend_the_user_s_subscription_by_charging_him_again_for_his_current_subscription: "Usted intencionalmente decide extender la suscripción del usuario al cobrarle de nuevo por su suscripción actual." + until_(expiration_date): "Until (expiration date):" # translation_missing + you_successfully_changed_the_expiration_date_of_the_user_s_subscription: "Ha cambiado correctamente la fecha de caducidad de la suscripción del usuario" + a_problem_occurred_while_saving_the_date: "Se ha producido un problema al guardar la fecha." + new_subscription: "Nueva suscripción" + you_are_about_to_purchase_a_subscription_to_NAME: "Estás a punto de comprar una suscripción a {{NAME}}." # angular interpolation + subscription_successfully_purchased: "Suscripción comprada correctamente." + a_problem_occurred_while_taking_the_subscription: "Se ha producido un problema al realizar la suscripción." + + admins_new: + # add a new administrator to the platform + add_an_administrator: "Agregar un administrador" + administrator_successfully_created_he_will_receive_his_connection_directives_by_email: "administrador creado correctamente. {GENDER, select, female{She} other{He}} receive {GENDER, select, female{her} other{his}} directivas de conexión por e-mail." # messageFormat interpolation + + authentication_new: + # add a new authentication provider (SSO) + add_a_new_authentication_provider: "Agregar un nuevo proveedor de autenticación" + a_local_database_provider_already_exists_unable_to_create_another: "A proveedor de \"Base de datos local\" ya existe. No se puede crear otro." + local_provider_successfully_saved: "Proveedor local guardado correctamente." + it_is_required_to_set_the_matching_between_User.uid_and_the_API_to_add_this_provider: "Es necesario establecer la coincidencia entre User.uid y la API para agregar este proveedor" + security_issue_detected: "Se ha detectado un problema de seguridad" + beware_the_oauth2_authenticatoin_provider_you_are_about_to_add_isnt_using_HTTPS: "Tenga cuidado: el proveedor de OAuth 2 que va a agregar no está usando HTTPS." + this_is_a_serious_security_issue_on_internet_and_should_never_be_used_except_for_testing_purposes: "Este es un grave problema de seguridad en Internet y nunca debe utilizarse excepto para fines de prueba." + do_you_really_want_to_continue: "¿De verdad quieres continuar?" + unsecured_oauth2_provider_successfully_added: "Proveedor de OAuth 2.0 no seguro, se ha agregado correctamente." + oauth2_provider_successfully_added: "OAuth 2.0 proveedor agregado correctamente." + + authentication_edit: + # edit an authentication provider (SSO) + provider: "Proveedor :" + it_is_required_to_set_the_matching_between_User.uid_and_the_API_to_add_this_provider: "Es necesario establecer la coincidencia entre User.uid y la API para agregar este proveedor" + provider_successfully_updated: "Proveedor actualizado correctamente" + an_error_occurred_unable_to_update_the_provider: "Se ha producido un error: no se puede actualizar el proveedor." + + statistics: + # statistics tables + evolution: "Evolución" + age_filter: "Filtro de edad" + from_age: "Desde" # contexto: edad. por ejemplo: de 8 a 40 años + to_age: "a" # contexto: edad. por ejemplo: de 8 a 40 años + _years_old: "años" + start: "Principio:" + end: "Final:" + custom_filter: "Filtro personalizado" + NO_: "NO" + criterion: "Criterio:" + value: "Valor:" + exclude: "Excluir" + entries: "Entradas:" + revenue_: "Ingresos:" + average_age: "Edad media:" + years_old: "años" + total: "Total" + available_hours: "Horas disponibles para reservar:" + available_tickets: "Tickets disponibles para reservar:" + gender: "Genero" + age: "Edad" + revenue: "Ingresos" + unknown: "Desconocido" + user_id: "ID de usuario" + display_more_results: "Mostrar más resultados" + export_statistics_to_excel: "Exportar estadísticas a Excel" + export_all_statistics: "Exportar todas las estadísticas" + export_the_current_search_results: "Exportar los resultados de búsqueda actuales" + export: "Exportar" + + stats_graphs: + # statistics graphs + data: "Datos" + day: "Dia" + week: "Semana" + start: "Inicio:" + end: "Final:" + revenue: "Ingresos" + top_list_of: "Lista top de" + number: "Número" + week_short: "Semana" + week_of_START_to_END: "Semana del {{START}} a {{END}}" # angular interpolation + no_data_for_this_period: "No hay datos para este periodo" + + settings: + # global application parameters and customization + settings: + title: "Título" + customize_the_application: "Personalizar la aplicación" + general: "General" + fablab_title: "Título del FabLab" + fablab_name: "Nombre del FabLab " + title_concordance: "Concordancia de título" + male: "Masculino." + female: "Hembra." + eg: "ej:" + about: "Sobre" + male_preposition: "el" + female_preposition: "la" + customize_information_messages: "Personalizar mensajes de información" + message_of_the_machine_booking_page: "Mensaje de la página de reserva de la máquina:" + type_the_message_content: "Escriba el contenido del mensaje" + warning_message_of_the_training_booking_page: "Warning message of the training booking page:" # translation_missing + information_message_of_the_training_reservation_page: "Information message of the training reservation page:" # translation_missing + message_of_the_subscriptions_page: "Mensaje de advertencia de la página de reserva de formación:" + message_of_the_events_page: "Mensaje de la página de eventos:" + message_of_the_spaces_page: "Mensaje de la página de espacios:" + legal_documents: "Documentos legales" + if_these_documents_are_not_filled_no_consent_about_them_will_be_asked_to_the_user: "Si no se llenan estos documentos, no se pedirá su consentimiento." + general_terms_and_conditions_(T&C): "Términos Generales y Condiciones (T&C)" + terms_of_service_(TOS): "Términos de servicio (TOS)" + customize_the_graphics: "Personalizar los gráficos" + for_an_optimal_rendering_the_logo_image_must_be_at_the_PNG_format_with_a_transparent_background_and_with_an_aspect_ratio_3.5_times_wider_than_the_height: "Para una representación óptima, la imagen del logotipo debe estar en el formato PNG con un fondo transparente y una relación de aspecto 3,5 más ancha que la altura." + concerning_the_favicon_it_must_be_at_ICO_format_with_a_size_of_16x16_pixels: "En cuanto al favicon, debe estar en formato ICO con un tamaño de 16x16 píxeles." + remember_to_refresh_the_page_for_the_changes_to_take_effect: "Recuerde actualizar la página para que los cambios surtan efecto." + logo_(white_background): "Logo (fondo blanco)" + change_the_logo: "Cambiar el logotipo" + logo_(black_background): "Logo (fondo negro)" + favicon: "Favicon" + change_the_favicon: "Cambiar el favicon" + main_colour: "Color principal:" + primary: "Primario" + secondary_colour: "Color secundario:" + secondary: "Secundario" + background_picture_of_the_profile_banner: "Imagen de fondo de la bandera del perfil" + change_the_profile_banner: "Cambiar la bandera del perfil" + home_page: "Página de inicio" + news_of_the_home_page: "Noticias de la página principal:" + type_your_news_here: "Escriba sus noticias aquí" + leave_it_empty_to_not_bring_up_any_news_on_the_home_page: "Déjelo vacío para no abrir ninguna noticia en la página principal" + twitter_stream: "Twitter Stream:" # translation_missing + name_of_the_twitter_account: "Nombre de la cuenta de Twitter" + title_of_the_about_page: "Título de la página Acerca de" + shift_enter_to_force_carriage_return: "MAYÚS + ENTRAR para forzar el retorno de carro" + input_the_main_content: "Introduzca el contenido principal" + drag_and_drop_to_insert_images: "Arrastrar y soltar para insertar imágenes" + input_the_fablab_contacts: "Ingrese los contactos de FabLab" + reservations: "Reservas" + reservations_parameters: "Parámetros de reservas" + confine_the_booking_agenda: "Confine la agenda de reserva" + opening_time: "Hora de apertura" + closing_time: "Tiempo de cierre" + max_visibility: "Máxima visibilidad (en meses)" + visibility_for_yearly_members: "Para las suscripciones en curso, por lo menos 1 año" + visibility_for_other_members: "Para todos los demás miembros" + ability_for_the_users_to_move_their_reservations: "Capacidad para que los usuarios muevan sus reservas" + reservations_shifting: "Cambio de reservas" + prior_period_(hours): "Período anterior (horas)" + enabled: "Habilitado" + disabled: "Deshabilitado" + ability_for_the_users_to_cancel_their_reservations: "Capacidad para que los usuarios cancelen sus reservas" + reservations_cancelling: "Cancelaciones de reservas" + reservations_reminders: "Recordatorios de reservas" + notification_sending_before_the_reservation_occurs: "Envío de notificaciones antes de la reserva" + customization_of_SETTING_successfully_saved: "Personalización de la {{SETTING}} guardado con éxito." # angular interpolation + file_successfully_updated: "Archivo actualizado correctamente." + name_genre: "Concordancia del título" + machine_explications_alert: "mensaje de explicación en la página de reserva de la máquina" + training_explications_alert: "mensaje de explicación en la página de reserva de formación" + training_information_message: "mensaje de información en la página de reserva de la máquina" + subscription_explications_alert: "mensaje de explicación en la página de suscripción" + event_explications_alert: "mensaje de explicación en la página de reserva del evento" + space_explications_alert: "mensaje de explicación en la página de reserva de espacio" + main_color: "Color principal" + secondary_color: "color secundario" + home_blogpost: "Resumen de la página de inicio" + twitter_name: "Twitter feed name" # translation_missing + about_title: "Título de la página \"Acerca de\"" + about_body: "Contenido de la página \"Acerca de\"" + about_contacts: "Página contactos\"Acerca de\"" + booking_window_start: "hora de apertura" + booking_window_end: "hora de cierre" + booking_move_enable: "Activar cambio de reserva" + booking_move_delay: "Demora de reserva" + booking_cancel_enable: "Habilitar cancelar reserva" + booking_cancel_delay: "Cancelar demora de reserva" + reminder_enable: "Recordatorio de reserva" + reminder_delay: "demora antes de enviar el recordatorio" + default_value_is_24_hours: "Si el campo es dejado vacio: 24 horas." + visibility_yearly: "máxima visibilidad para suscriptores anuales" + visibility_others: "máxima visibilidad para otros miembros" + + open_api_clients: + add_new_client: "Crear un nuevo cliente de API" + api_documentation: "Documentation API" + open_api_clients: "Clientes OpenAPI" + calls_count: "Número de llamadas" + created_at: "Fecha de creación" + reset_token: "revocar el acceso" + client_name: "Nombre del cliente" + do_you_really_want_to_delete_this_open_api_client: "¿Desea realmente eliminar este cliente OpenAPI?" + do_you_really_want_to_revoke_this_open_api_access: "¿Realmente desea revocar este acceso? Se borrará y reemplazará el token actual." + client_successfully_created: "Cliente creado correctamente." + client_successfully_updated: "Cliente actualizado correctamente." + client_successfully_deleted: "Cliente borrado correctamente." + access_successfully_revoked: "Acceso revocado correctamente." + + space_new: + # create a new space + space_new: + add_a_new_space: "Añadir un espacio nuevo" + watch_out_when_creating_a_new_space_its_prices_are_initialized_at_0_for_all_subscriptions: "¡Cuidado! Al crear un nuevo espacio, sus precios se inicializan en 0 para todas las suscripciones." + consider_changing_its_prices_before_creating_any_reservation_slot: "Considere cambiar sus precios antes de crear cualquier espacio de reserva." + add_this_space: "Añadir este espacio" + + space_edit: + # modify an exiting space + space_edit: + edit_the_space_NAME: "Edit the space: {{NAME}}" # angular interpolation # translation_missing + validate_the_changes: "Validar los cambios" diff --git a/config/locales/app.admin.fr.yml b/config/locales/app.admin.fr.yml index d907daed9..247f49140 100644 --- a/config/locales/app.admin.fr.yml +++ b/config/locales/app.admin.fr.yml @@ -111,8 +111,15 @@ fr: all_events: "Tous les évènements" passed_events: "Les évènements déjà passés" events_to_come: "Les évènements à venir" - from_DATE: "Du {{DATE}}" # angular interpolation - from_TIME: "De {{TIME}}" # angular interpolation + events_to_come_asc: "Les évènements à venir | ordre chronologique" + on_DATE: "le {{DATE}}" # angular interpolation + from_DATE: "du {{DATE}}" # angular interpolation + from_TIME: "de {{TIME}}" # angular interpolation + booking: "Réservations" + sold_out: "Complet" + cancelled: "Annulé" + free_entry: "Entrée libre" + free_admission: "Entrée gratuite" view_reservations: "Consulter les réservations" categories: "Catégories" add_a_category: "Ajouter une catégorie" diff --git a/config/locales/app.admin.pt.yml b/config/locales/app.admin.pt.yml index 035aa977d..072857e7f 100755 --- a/config/locales/app.admin.pt.yml +++ b/config/locales/app.admin.pt.yml @@ -111,8 +111,15 @@ pt: all_events: "Todos eventos" passed_events: "Eventos anteriores" events_to_come: "Eventos futuros" - from_DATE: "Em {{DATE}}" # angular interpolation - from_TIME: "Ás {{TIME}}" # angular interpolation + events_to_come_asc: "Eventos futuros | ordem cronológica" + on_DATE: "No {{DATE}}" # angular interpolation + from_DATE: "Em {{DATE}}" # angular interpolation + from_TIME: "Ás {{TIME}}" # angular interpolation + booking: "Reserva" + sold_out: "Esgotado" + cancelled: "Cancelado" + free_entry: "Entrada gratuita" + free_admission: "Admissão gratuita" view_reservations: "Ver reservas" categories: "Categorias" add_a_category: "Adicionar categoria" @@ -204,7 +211,7 @@ pt: error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Erro : um link de crédito entre esta máquina e esta assinatura já existe." changes_have_been_successfully_saved: "As modificações foram salvas com sucesso." credit_was_successfully_saved: "Crédito salvo com sucesso." - error_creating_credit: "Unable to create credit, an error occurred" # TODO + error_creating_credit: "Não foi possível criar crédito, um erro ocorreu" do_you_really_want_to_delete_this_subscription_plan: "Você realmente deletar esse plano de assinatura?" subscription_plan_was_successfully_deleted: "Plano de assinatura foi deletado com sucesso." unable_to_delete_the_specified_subscription_an_error_occurred: "Não é possível deletar a assinatura específicada, um erro ocorreu." @@ -405,14 +412,8 @@ pt: this_may_take_a_while_please_wait: "Atenção: Isso pode demorar um pouco, por favor, seja paciente." administrator_successfully_deleted: "Administrator excluído com sucesso." unable_to_delete_the_administrator: "Impossível excluir administrador." - add_a_group: "Adicionar grupo" - group_name: "Nome do grupo" changes_successfully_saved: "Mudanças salvas com sucesso." - an_error_occurred_while_saving_changes: "Um erro ocorreu ao salvar mudanças." - new_group_successfully_saved: "Novo grupo salvo com sucesso." an_error_occurred_when_saving_the_new_group: "Um erro ocorreu ao salvar novo grupo." - group_successfully_deleted: "Grupo excluido com sucesso." - unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Não é possível excluir o grupo porque alguns usuários e / ou grupos ainda estão vinculados a ele." add_a_tag: "Adicionar tag" tag_name: "Nome da tag" new_tag_successfully_saved: "Nova tag salva com sucesso." @@ -443,9 +444,9 @@ pt: an_error_occurred_when_saving_the_new_group: "Um erro ocorreu ao salvar novo grupo." group_successfully_deleted: "Grupo excluido com sucesso." unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Não é possível excluir o grupo porque alguns usuários e / ou grupos ainda estão vinculados a ele." - group_successfully_enabled_disabled: "Group successfully {STATUS, select, true{disabled} other{enabled}}." # messageFormat interpolation TODO - unable_to_enable_disable_group: "Unable to {STATUS, select, true{disable} other{enable}} group." # messageFormat interpolation TODO - unable_to_disable_group_with_users: "Unable to disable group because it still contains {USERS} active {USERS, plural, =1{user} other{users}}." # messageFormat interpolation TODO + group_successfully_enabled_disabled: "Grupo {STATUS, select, true{desativado} other{ativado}} com sucesso." + unable_to_enable_disable_group: "Não foi possível {STATUS, select, true{desativar} other{ativar}} grupo." + unable_to_disable_group_with_users: "Não é possível desabilitar grupo porque {USERS, plural, =1{existe} other{existem}} {USERS} {USERS, plural, =1{usuário} other{usuários}} {USERS, plural, =1{ativo} other{ativos}}." status_enabled: "Ativos" status_disabled: "Desabilitados" status_all: "Todos" diff --git a/config/locales/app.logged.es.yml b/config/locales/app.logged.es.yml new file mode 100644 index 000000000..b57763bb5 --- /dev/null +++ b/config/locales/app.logged.es.yml @@ -0,0 +1,130 @@ +es: + app: + logged: + profileCompletion: + # user's profile completion page when logging from an SSO provider + confirm_your_new_account: "Confirme su nueva cuenta" + you_ve_just_created_a_new_account_on_the_fablab_by_logging_from: "acaba de crear una nueva cuenta {NAME}, al iniciar sesión desde" # messageFormat interpolation + we_need_some_more_details: "Para finalizar la configuración de la plataforma, necesitamos algunos detalles más." + your_email_is_already_used_by_another_account_on_the_platform: "Parece que su dirección de correo electrónico ya está siendo utilizada por otro usuario. Compruebe su dirección de correo electrónico e ingrese debajo del código que le hemos enviado." + please_fill_the_following_form: "rellene el siguiente formulario, por favor" + some_data_may_have_already_been_provided_by_provider_and_cannot_be_modified: "Algunos datos pueden haber sido proporcionados ya por {{NAME}} y no pueden modificarse" # angular interpolation + then_click_on_: "haz click en" + _to_start_using_the_application: "para empezar a usar la aplicación" + new_on_this_platform: "¿Nuevo en esta plataforma?" + your_email_: "Su e-mail" + _is_currently_associated_with_another_account_on_this_platform: "ya está asociado con otra cuenta en esta plataforma." + please_click_to_change_email_associated_with_your_PROVIDER_account: "Si este no es su mail, por favor, haz click en el siguiente botón para cambiar el mail asociado con su cuenta {{PROVIDER}} ." # angular interpolation + do_you_already_have_an_account: "¿Ya tiene una cuenta?" + do_not_fill_the_form_beside_but_specify_here_the_code_you_ve_received_by_email_to_recover_your_access: "No rellene el formulario,escriba aquí el código que ha recibido por correo electrónico para recuperar su acceso." + just_specify_code_here_to_recover_access: "Simplemente especifica aquí el código que has recibido en tu correo electrónico para recuperar tu acceso." + i_did_not_receive_the_code: "No he recibido ningún código" + authentification_code: "Código de autentificación" + confirm_my_code: "Confirmar código" + an_unexpected_error_occurred_check_your_authentication_code: "Ha ocurrido un error inesperado, por favor, revise su código de autentificación." + send_code_again: "Enviar el código de nuevo" + email_address_associated_with_your_account: "Email asociado con su cuenta" + email_format_is_incorrect: "El formato de email incorrecto" + code_successfully_sent_again: "El mail ha sido enviado otra vez con éxito" + + dashboard: + # dashboard: public profile + profile: + empty: '' + settings: + # dashboard: edit my profile + last_activity_on_: "Última vez activo" + i_want_to_change_group: "Quiero cambiar de grupo" + your_subscription_expires_on_: "su suscripción acaba el" + no_subscriptions: "Sin suscripciones" + i_want_to_subscribe: "Quiero suscribirme" + to_come: "por venir" + approved: "aprobado" + projects: "Projectos" + no_projects: "Sin projectos" + labels: "Etiquetas" + no_labels: "Sin etiquetas" + delete_my_account: "Eliminar mi cuenta" + edit_my_profile: "Editar mi perfil" + your_group_has_been_successfully_changed: "Su grupo ha sido cambiado con exito." + an_unexpected_error_prevented_your_group_from_being_changed: "Un error inesperado impidió que su grupo fuese cambiado." + do_you_really_want_to_delete_your_account: "¿Está seguro de querer eliminar su cuenta?" + all_data_relative_to_your_projects_will_be_lost: "Todo dato relacionado con sus proyectos se perderá" + your_user_account_has_been_successfully_deleted_goodbye: "Su cuenta ha sido eliminada con éxito. Adiós" + an_error_occured_preventing_your_account_from_being_deleted: "Un error inesperado impidió que su cuenta fuese eliminada." + projects: + # dashboard: my projects + you_dont_have_any_projects: "Aún no tiene proyectos." + author: "Autor" + collaborator: "Colaborador" + trainings: + # dashboard: my trainings + your_next_trainings: "Sus próximos cursos" + your_previous_trainings: "Sus cursos anteriores" + your_approved_trainings: "Sus cursos aprobados" + events: + # dashboard: my events + your_next_events: "Sus próximos eventos" + no_events_to_come: "No hay próximos eventos" + your_previous_events: "Sus eventos anteriores" + NUMBER_normal_places_reserved: "{NUMBER} {NUMBER, plural, =0{} =1{normal place reserved} other{normal places reserved}}" # messageFormat interpolation + NUMBER_of_NAME_places_reserved: "{NUMBER} {NUMBER, plural, =0{} =1{of {NAME} place reserved} other{of {NAME} places reserved}}" # messageFormat interpolation + invoices: + # dashboard: my invoices + reference_number: "Numero de referencia" + + members_show: + # public profil of a member + members_list: "Lista de miembros" + + members: + # list of members accepting to be contacted + the_fablab_members: "Los miembros del fablab" + display_more_members: "Ver más miembros" + no_members_for_now: "Aún no hay miembros" + avatar: "Avatar" + + projects_new: + # add a new project + add_a_new_project: "Añadir nuevo proyecto" + save_button_value: "Guardar borrador" # "Guardar borrador" + + projects_edit: + # modify an existing project + save_button_value: "Guardar" # "Guardar" + edit_the_project: "Editar proyecto" + publish: "Publicar" + + machines_reserve: + # book a machine + machine_planning: "Planning de la máquina" + i_ve_reserved: "He reservado" + not_available: "No disponible" + i_reserve: "reservo" + i_shift: "reemplazo" + i_change: "cambio" + + trainings_reserve: + # book a training + trainings_planning: "Plan de curso" + planning_of: "Plan de " # followed by the training name (eg. "Planning of 3d printer training") + all_trainings: "Todos los cursos" + cancel_my_selection: "Cancelar mi selección" + i_ve_reserved: "He reservado" + + space_reserve: + # book a space + space_reserve: + planning_of_space_NAME: "Planes de {{NAME}} " # angular interpolation + i_ve_reserved: "he reservado" + i_shift: "reemplazo" + i_change: "cambio" + + notifications: + notifications_center: "Centro de notificaciones" + mark_all_as_read: "Marcar como leido" + notif_title: "Titulo" + no_new_notifications: "No hay notificaciones nuevas." + archives: "Archivos" + no_archived_notifications: "No hay notificaciones archivadas." + load_the_next_notifications: "Cargar las siguientes notificaciones..." diff --git a/config/locales/app.public.en.yml b/config/locales/app.public.en.yml index 3b71886a5..262077f50 100644 --- a/config/locales/app.public.en.yml +++ b/config/locales/app.public.en.yml @@ -134,6 +134,7 @@ en: free_admission: "Free admission" full_price: "Full price" event_full: "Event full" + still_available: "Available place(s)" projects_list: # projects gallery @@ -233,6 +234,11 @@ en: the_fablab_s_events: "The Fablab's events" all_categories: "All categories" for_all: "For all" + sold_out: "Sold Out" + cancelled: "Cancelled" + free_admission: "Free admission" + still_available: "available place(s)" + free_entry: "Free entry" events_show: # details and booking of an event @@ -245,6 +251,7 @@ en: tickets_still_availables: "Tickets still available:" sold_out: "Sold out." free_entry: "Free entry" + cancelled: "Cancelled" ticket: "{NUMBER, plural, one{ticket} other{tickets}}" # messageFormat interpolation make_a_gift_of_this_reservation: "Make a gift of this reservation" you_can_find_your_reservation_s_details_on_your_: "You can find your reservation's details on your" @@ -288,4 +295,4 @@ en: the_space_cant_be_deleted_because_it_is_already_reserved_by_some_users: "Unable to delete this space, because it is already reserved by some users." characteristics: "Characteristics" files_to_download: "Files to download" - projects_using_the_space: "Projects using the space" \ No newline at end of file + projects_using_the_space: "Projects using the space" diff --git a/config/locales/app.public.es.yml b/config/locales/app.public.es.yml new file mode 100644 index 000000000..c37409001 --- /dev/null +++ b/config/locales/app.public.es.yml @@ -0,0 +1,298 @@ +es: + app: + public: + common: + # header and "about" page + about_the_fablab: "Sobre {NAME}" # messageFormat interpolation + return: "Volver" + + # dashboard sections + dashboard: "Panel" + my_profile: "My Perfil" + my_settings: "Mis ajustes" + my_projects: "Mis proyectos" + my_trainings: "Mis cursos" + my_events: "Mis eventos" + my_invoices: "Mis facturas" + my_wallet: "Mi cartera" + + # login/logout + sign_out: "Salir" + sign_up: "Entrar" + sign_in: "Registrarse" + + # left menu + notifications: "Notificaciones" + admin: "Administrador" + reduce_panel: "Reducir panel" + + # left menu (public) + home: "Menú principal" + reserve_a_machine: "Reservar una máquina" + trainings_registrations: "Registro de cursos" + events_registrations: "Registro de eventos" + reserve_a_space: "Reservar un espacio" + projects_gallery: "Galería de proyectos" + subscriptions: "Suscripciones" + public_calendar: "Calendario" + + # left menu (admin) + trainings_monitoring: "Monitorización de cursos" + select_a_training: "Selecionar un curso" + manage_the_calendar: "Gestionar calendario" + manage_the_users: "Gestionar usuarios" + manage_the_invoices: "Gestionar facturas" + subscriptions_and_prices: "Suscripciones y precios" + manage_the_events: "Gestionar eventos" + manage_the_machines: "Gestionar máquinas" + manage_the_spaces: "Gestionar espacios" + manage_the_projects_elements: "Gestionar los elementos de los proyectos" + statistics: "Estadísticas" + customization: "Customización" + open_api_clients: "Clientes OpenAPI" + + # account creation modal + create_your_account: "Crear su cuenta" + man: "Hombre" + woman: "Mujer" + gender_is_required: "El genero es obligatorio." + your_first_name: "Su nombre" + first_name_is_required: "El nombre es obligatorio." + your_surname: "Su apellido" + surname_is_required: "El apellido es obligatorio." + your_pseudonym: "Su seudónimo" + pseudonym_is_required: "El seudónimo es obligatorio." + your_email_address: "Su e-mail" + email_is_required: "El e-mail es obligatorio." + your_password: "Su contraseña" + password_is_required: "La contraseña es obligatoria." + password_is_too_short_(minimum_8_characters): "La contraseña es demasiado corta (minimo 8 caracteres)" + type_your_password_again: "Escriba su contraseña otra vez" + password_confirmation_is_required: "Confirmar su contraseña es obligatorio." + password_does_not_match_with_confirmation: "Las contraseñas no coinciden." + i_am_an_organization: "Soy una organización" + name_of_your_organization: "Nombre de su organización" + organization_name_is_required: "El nombre de su organización es obligatorio." + address_of_your_organization: "Dirección de su organización" + organization_address_is_required: "La dirección de su organización es obligatoria." + your_user_s_profile: "Su perfil de usuario" + user_s_profile_is_required: "El perfil de usuario es obligatorio." + birth_date: "Fecha de nacimiento" + birth_date_is_required: "La fecha de nacimiento es obligatoria." + phone_number: "Número de telefono" + phone_number_is_required: "El número de telefono es obligatorio." + i_authorize_Fablab_users_registered_on_the_site_to_contact_me: "Autorizo a los usuarios registrados en este FabLab a contactarme" + i_accept_to_receive_information_from_the_fablab: "Acepto recibir información del FabLab" + i_ve_read_and_i_accept_: "He leido y acepto" + _the_fablab_policy: "la política de FabLab" + + # password modification modal + change_your_password: "Cambiar contraseña" + your_new_password: "Nueva contraseña" + your_password_was_successfully_changed: "Su contraseña ha sido cambiada con éxito." + + # connection modal + connection: "Conexión" + password_forgotten: "¿Ha olvidado su contraseña?" + not_registered_to_the_fablab: "¿No está registrado en el fatlab aún?" + create_an_account: "Crear una cuenta" + wrong_email_or_password: "E-mail o contraseña incorrecta." + caps_lock_is_on: "Las mayusculas están activadas." + + # forgotten password modal + your_email_address_is_unknown: "Se desconoce su email." + you_will_receive_in_a_moment_an_email_with_instructions_to_reset_your_password: "En un momento recibirá las instrucciones para restablecer su contraseña en su mail." + + # Fab-manager's version + version: "Version:" + + # Notifications + and_NUMBER_other_notifications: "y {NUMBER, plural, =0{no other notifications} =1{one other notification} otras{{NUMBER} other notifications}}..." # messageFormat interpolation + + about: + # about page + read_the_fablab_policy: "Leer la politica del FabLab" + read_the_fablab_s_general_terms_and_conditions: "Leer los terminos y condiciones del FabLab" + your_fablab_s_contacts: "Sus contactos del FabLab" + + home: + # home page + latest_documented_projects: "Los últimos proyectos documentados" + follow_us: "Siguenos" + latest_tweets: "Los últimos tweets" + latest_registered_members: "Miembros más recientes" + create_an_account: "Crear una cuenta" + discover_members: "Descubrir miembros" + + # next events summary on the home page + fablab_s_next_events: "Próximos eventos del FabLab" + every_events: "Todos los eventos" + from_date_to_date: "Desde {{START}} hasta {{END}}" # angular interpolation + on_the_date: "El {{DATE}}" # angular interpolation + from_time_to_time: "Desde {{START}} hasta {{END}}" # angular interpolation + free_entry: "Entrada gratuita" + free_admission: "Admisión gratuita" + full_price: "Precio final" + event_full: "Evento lleno" + still_available: "Available place(s)" #translation_missing + + projects_list: + # projects gallery + the_fablab_projects: "Los proyectos del FabLab" + search_over_the_whole_network: "Buscar en toda la red de FabLab" + tooltip_openlab_projects_switch: "La busqueda en toda la red le permite buscar los proyectos de todos los FabLab que usan esta característica" + openlab_search_not_available_at_the_moment: "La busqueda en toda la red no está disponible en este momento. Puede seguir buscando proyectos en este FabLab." + project_search_result_is_empty: "Lo sentimos, no hemos encontrado nada." + reset_all_filters: "Limpiar filtros" + search: "Buscar" + all_projects: "Todos los proyectos" + my_projects: "Mis proyectos" + projects_to_whom_i_take_part_in: "Proyectos de los que formo parte" + all_machines: "Todas las máquinas" + all_materials: "Todo el material" + load_next_projects: "Cargar más proyectos" + + projects_show: + # details of a projet + project_description: "Descripción de proyecto" + by_name: "Por {{NAME}}" # angular interpolation + posted_on_: "Subido el" + CAD_file_to_download: "{COUNT, plural, =0{No CAD files} =1{CAD file to download} other{CAD files to download}}" # messageFormat interpolation + licence: "Licencia" + report_an_abuse: "Reportar una infracción" + unauthorized_operation: "Operación no autorizada" + your_report_was_successful_thanks: "Su informe se ha enviado con éxito. Gracias." + an_error_occured_while_sending_your_report: "Ha ocurrido un error al enviar el informe." + your_first_name: "Su nombre" + your_first_name_is_required: "Su nombre es obligatorio." + your_surname: "Su apellido" + your_surname_is_required: "Su apellido es obligatorio." + your_email_address: "Su mail" + your_email_address_is_required: "Su mail es obligatorio." + tell_us_why_this_looks_abusive: "Cuéntanos porqué te parece abusivo" + message_is_required: "El mensaje es obligatorio." + report: "Reportar" + do_you_really_want_to_delete_this_project: "¿Está seguro de querer eliminar este proyecto?" + + machines_list: + # list of machines + machines_list: + the_fablab_s_machines: "Las máquinas del FabLab" + add_a_machine: "Añadir una máquina" + book: "Book" #translation_missing + _or_the_: " o el " + status_enabled: "Enabled" #translation_missing + status_disabled: "Disabled" #translation_missing + status_all: "All" #translation_missing + + machines_show: + # details of a machine + book_this_machine: "Alquilar máquina" + files_to_download: "Archivos a descargar" + projects_using_the_machine: "Proyectos que utilizan esta máquina" + _or_the_: " o el " + do_you_really_want_to_delete_this_machine: "¿Está seguro de querer eliminar esta máquina?" + unauthorized_operation: "Unauthorized operation" + the_machine_cant_be_deleted_because_it_is_already_reserved_by_some_users: "La máquina no puede borrarse porque está siendo usada o ha sido reservada por algún usuario." + + trainings_list: + # list of trainings + the_trainings: "Lista de cursos" + + training_show: + # details of a training + book_this_training: "reservar plaza en este curso" + do_you_really_want_to_delete_this_training: "Está seguro de querer eliminar este curso?" + unauthorized_operation: "Operación no autorizada" + the_training_cant_be_deleted_because_it_is_already_reserved_by_some_users: "El curso no puede borrarse porque ya ha sido reservado por algún usuario." + + plans: + # summary of the subscriptions + subcriptions: "Suscripciones" + i_choose_that_plan: "Elijo este plan" + i_subscribe_online: "Suscribirme online" + i_already_subscribed: "Ya me he suscrito" + more_information: "Más información" + your_subscription_expires_on_the_DATE: "Su suscripción termina {{DATE}}" # angular interpolation + my_group: "My grupo" + his_group: "{GENDER, select, male{His} female{Her} other{Its}} group" # messageFormat interpolation + he_wants_to_change_group: "{ROLE, select, admin{The user wants} other{I want}} cambiar el grupo" # messageFormat interpolation + change_my_group: "Cambiar {ROLE, select, admin{{GENDER, select, male{his} female{her} other{its}}} other{my}} grupo" # messageFormat interpolation + your_subscription_has_expired_on_the_DATE: "Sus suscripcion expiró el {{DATE}}" # angular interpolation + you_ve_just_payed_the_: "acaba de pagar" + thank_you_your_subscription_is_successful: "Gracias. Su suscripción ha tenido éxito" + your_group_was_successfully_changed: "Su grupo ha sido cambiado correctamente." + the_user_s_group_was_successfully_changed: "Los usuarios del grupo han cambiado correctamente." + an_error_prevented_your_group_from_being_changed: "Un error impidió que su grupo fuese cambiado." + an_error_prevented_to_change_the_user_s_group: "Un error impidió cambiar los componentes del grupo." + an_error_occured_during_the_payment_process_please_try_again_later: "Ha ocurrido un error mientras se procesaba el pago. Intentelo en unos minutos." + subscription_confirmation: "Confirmar suscripción" + here_is_the_NAME_subscription_summary: "Resumen de la suscrpición de{{NAME}}:" # angular interpolation + + events_list: + # Fablab's events list + the_fablab_s_events: "Los eventos del FabLab" + all_categories: "Todas las categorías" + for_all: "Para todo" + sold_out: "Sold Out" #translation_missing + cancelled: "Cancelled" #translation_missing + free_admission: "Free admission" #translation_missing + still_available: "available place(s)" #translation_missing + free_entry: "Free entry" #translation_missing + + events_show: + # details and booking of an event + event_description: "Descripción del evento" + downloadable_documents: "Archivos descargables" + informations_and_booking: "Información y reservas" + beginning: "Empieza:" + ending: "Termina:" + opening_hours: "Hora de apertura:" + tickets_still_availables: "Entradas disponibles:" + sold_out: "Entradas vendidas." + free_entry: "Entrada gratuita" + cancelled: "Cancelled" #translation_missing + ticket: "{NUMBER, plural, one{ticket} other{tickets}}" # messageFormat interpolation + make_a_gift_of_this_reservation: "Regalar esta reserva" + you_can_find_your_reservation_s_details_on_your_: "Puede encontrar los detalles de su reserva en" + you_booked_(DATE): "You booked ({{DATE}}):" # angular interpolation + book: "Reservar" + change_the_reservation: "Cambiar la reserva" + you_can_shift_this_reservation_on_the_following_slots: "Puede cambiar la reserva en los siguientes campos:" + confirmation_required: "Confirmation required" #translation_missing + do_you_really_want_to_delete_this_event: "Do you really want to delete this event?" #translation_missing + event_successfully_deleted: "Event successfully deleted" #translation_missing + unable_to_delete_the_event_because_some_users_alredy_booked_it: "Unable to delete this event, it may have been already reserved by some users." #translation_missing + + calendar: + # public calendar + calendar: + calendar: "Calendario" + show_unavailables: "Mostrar campos inválidos" + filter_calendar: "Filtrar calendario" + trainings: "Cursos" + machines: "Máquinas" + spaces: "Espacios" + events: "Eventos" + + spaces_list: + # list of spaces + spaces_list: + the_spaces: "Espacios" + add_a_space: "Añadir espacios" + status_enabled: "Enabled" #translation_missing + status_disabled: "Disabled" #translation_missing + status_all: "All" #translation_missing + book: "Book" #translation_missing + + space_show: + # display the details of a space + space_show: + book_this_space: "Reservar este espacio" + unauthorized_operation: "Operación no autorizada" + confirmation_required: "Confirmación requerida" + do_you_really_want_to_delete_this_space: "¿Está seguro de que quiere borrar este espacio?" + the_space_cant_be_deleted_because_it_is_already_reserved_by_some_users: "No puede borrarse este espacio porque está siendo usado por otros usuarios." + characteristics: "Características" + files_to_download: "Archivos para descargar" + projects_using_the_space: "Proyectos que usan el espacio" diff --git a/config/locales/app.public.fr.yml b/config/locales/app.public.fr.yml index 073d56a60..577952267 100644 --- a/config/locales/app.public.fr.yml +++ b/config/locales/app.public.fr.yml @@ -127,13 +127,14 @@ fr: # résumé des prochains évènements sur la page d'acceuil fablab_s_next_events: "Les prochains évènements du Fab Lab" every_events: "Tous les évènements" - from_date_to_date: "Du {{START}} au {{END}}" # angular interpolation - on_the_date: "Le {{DATE}}" # angular interpolation - from_time_to_time: "De {{START}} à {{END}}" # angular interpolation - free_entry: "Entrée libre" + from_date_to_date: "du {{START}} au {{END}}" # angular interpolation + on_the_date: "le {{DATE}}" # angular interpolation + from_time_to_time: "de {{START}} à {{END}}" # angular interpolation + free_entry: "Accès libre" free_admission: "Entrée gratuite" - full_price: "Plein tarif" + full_price: "Plein tarif : " event_full: "Événement complet" + still_available: "Place(s) disponible(s) :" projects_list: # galerie des projets @@ -235,6 +236,11 @@ fr: the_fablab_s_events: "Les évènements du Fab Lab" all_categories: "Toutes les catégories" for_all: "Tout public" + sold_out: "Complet" + cancelled: "Annulé" + free_admission: "Gratuit" + still_available: "place(s) disponible(s)" + free_entry: "Accès libre" events_show: # détails d'un événement et réservation @@ -245,8 +251,9 @@ fr: ending: "Fin :" opening_hours: "Horaires :" tickets_still_availables: "Places encore disponibles :" - sold_out: "Événement complet." - free_entry: "Entrée libre" + sold_out: "Événement complet" + free_entry: "Accès libre" + cancelled: "Annulé" ticket: "{NUMBER, plural, =0{place} one{place} other{places}}" # messageFormat interpolation make_a_gift_of_this_reservation: "Offrir cette réservation" you_can_find_your_reservation_s_details_on_your_: "Vous pouvez retrouver le détail de votre réservation sur votre" diff --git a/config/locales/app.public.pt.yml b/config/locales/app.public.pt.yml index 8a8ccb569..f9778fe39 100755 --- a/config/locales/app.public.pt.yml +++ b/config/locales/app.public.pt.yml @@ -127,13 +127,14 @@ pt: # next events summary on the home page fablab_s_next_events: "Próximos eventos do FabLab" every_events: "Todos Eventos" - from_date_to_date: "De {{START}} até {{END}}" # angular interpolation - on_the_date: "Em {{DATE}}" # angular interpolation + from_date_to_date: "De {{START}} até {{END}}" # angular interpolation + on_the_date: "Em {{DATE}}" # angular interpolation from_time_to_time: "Das {{START}} até {{END}}" # angular interpolation free_entry: "Entrada franca" free_admission: "Admissão grátis" full_price: "Valor inteira" event_full: "Evento lotado" + still_available: "Locais disponíveis" projects_list: # projects gallery @@ -180,9 +181,9 @@ pt: add_a_machine: "Adicionar uma máquina" book: "Reservar" _or_the_: " ou o " - status_enabled: "Ativos" # TODO - status_disabled: "Desabilitados" # TODO - status_all: "Todos" # TODO + status_enabled: "Ativo" + status_disabled: "Desabilitado" + status_all: "Todos" machines_show: # details of a machine @@ -233,6 +234,11 @@ pt: the_fablab_s_events: "Eventos do Fablab" all_categories: "Todas categorias" for_all: "Para todos" + sold_out: "Esgotado." + cancelled: "Cancelado" + free_admission: "Admissão grátis" + still_available: "lugares disponíveis" + free_entry: "Entrada franca" events_show: # details and booking of an event @@ -245,6 +251,7 @@ pt: tickets_still_availables: "Tickets ainda disponíveis:" sold_out: "Esgotado." free_entry: "Entrada franca" + cancelled: "Cancelado" ticket: "{NUMBER, plural, one{ticket} other{tickets}}" # messageFormat interpolation make_a_gift_of_this_reservation: "Doe esta reserva" you_can_find_your_reservation_s_details_on_your_: "Você pode encontrar detalhes da sua reserva em seu" @@ -273,9 +280,9 @@ pt: spaces_list: the_spaces: "Os espaços" add_a_space: "Adicionar espaço" - status_enabled: "Ativos" # TODO - status_disabled: "Desabilitados" # TODO - status_all: "Todos" # TODO + status_enabled: "Ativo" + status_disabled: "Desabilitado" + status_all: "Todos" book: "Reservar" space_show: @@ -284,8 +291,8 @@ pt: book_this_space: "Marcar este espaço" unauthorized_operation: "Operação não autorizada" confirmation_required: "Confirmação obrigatória" - do_you_really_want_to_delete_this_space: "Vocêrealmente deseja remover este espaço?" + do_you_really_want_to_delete_this_space: "Você realmente deseja remover este espaço?" the_space_cant_be_deleted_because_it_is_already_reserved_by_some_users: "Impossível remover este espaço, pois ele já foi reservado por alguns usuários." characteristics: "Características" files_to_download: "Arquivo para download" - projects_using_the_space: "Projetos usando espaço" \ No newline at end of file + projects_using_the_space: "Projetos usando espaço" diff --git a/config/locales/app.shared.en.yml b/config/locales/app.shared.en.yml index 6f2f961a3..82dd57d5d 100644 --- a/config/locales/app.shared.en.yml +++ b/config/locales/app.shared.en.yml @@ -458,4 +458,4 @@ en: cancellation_failed: "Cancellation failed." confirm_payment_of_html: "{ROLE, select, admin{Payment on site} other{Pay}}: {AMOUNT}" # messageFormat interpolation (context: confirm my payment of $20.00) a_problem_occured_during_the_payment_process_please_try_again_later: "A problem occurred during the payment process. Please try again later." - none: "None" \ No newline at end of file + none: "None" diff --git a/config/locales/app.shared.es.yml b/config/locales/app.shared.es.yml new file mode 100644 index 000000000..0bbf158e8 --- /dev/null +++ b/config/locales/app.shared.es.yml @@ -0,0 +1,461 @@ +es: + app: + shared: + buttons: + # translations of common buttons + confirm_changes: "Confirmar cambios" + consult: "Consultar" + edit: "Editar" + change: "Cambiar" + delete: "Borrar" + browse: "Abrir" + cancel: "Cancelar" + close: "Cerrar" + clear: "Limpiar" + today: "Hoy" + confirm: "Confirmar" + save: "Guardar" + "yes": "Sí" + "no": "No" + apply: "Aplicar" + confirm_(payment_on_site): "Confirmar (Pago)" + + elements: + # various translations used many times in the application + group: "Grupo" + subscription: "Suscripción" + trainings: "Cursos" + no_trainings: "Sin cursos" + confirmation_required: "Confirmación requerida" + description: "Descripción" + machines: "Máquinas" + events: "Eventos" + materials: "Materiales" + date: "Día" + price: "Precio" + download_the_invoice: "Descargar factura" + download_the_credit_note: "Descargar nota de crédito" + no_invoices_for_now: "Sin facturas por ahora." + email_address: "dirección email " + user: "Usuario" + pseudonym: "Seudónimo" + all_day: "Todo el día" + reservation_was_successfully_cancelled: "La reserva ha sido cancelada con éxito." + title: "Titulo" + total_: "TOTAL :" + full_price_: "Precio final:" + rough_draft: "Borrador" + machines_and_materials: "Máquinas y materiales" + collaborators: "Colaboradores" + summary: "Resumen" + you_ve_just_selected_a_: "Acaba de seleccionar" # you_ve_just_selected_a_ + _subscription + _subscription: "suscripción" + confirm_and_pay: "Confirmar y pagar" + your_invoice_will_be_available_soon_from_your_: "Su factura pronto estará disponible desde su " + add_an_event: "Añadir evento" + load_the_next_events: "Cargar próximos eventos" + no_passed_events: "Sin eventos anteriores" + dates: "Fechas:" + thank_you_your_payment_has_been_successfully_registered: "Gracias. Su pago se ha registrado correctamente" + surname: "Apellidos" + first_name: "Nombre" + address: "Dirección" + interests: "Intereses" + CAD_softwares_mastered: "Softwares dominados" + name: "Nombre" + step_N: "Paso {{INDEX}}" # angular interpolation + themes: "Temas" + tags: "Etiquetas" + technical_specifications: "Especificaciones técnicas" + online_payment: "Pago online" + type: "Tipo" + partner: "Compañero" + standard: "Estándar" + year: "año" + month: "Mes" + subscription_price: "Precio de la suscripción" + model: "Modelo" + from_date: "Desde" # context: date. eg: "Desde 01/01 to 01/05" + from_time: "Desde" # context: time. eg. "Desde 18:00 to 21:00" + to_date: "Hasta" # context: date. eg: "Hasta 01/01 to 01/05" + to_time: "Hasta" # context: time. eg. "Hasta 18:00 to 21:00" + or: "ó" + change_my_data: "Cambiar mis datos" + sync_my_profile: "Sincronizar mi perfil" + once_your_data_are_up_to_date_: "Una vez sus datos hayan sido actualizados," + _click_on_the_synchronization_button_opposite_: "haz clic en el botón de sincronización" + _disconnect_then_reconnect_: "reconectarse" + _for_your_changes_to_take_effect: "para que sus cambios sean aplicados." + add_a_project: "Añadir un proyecto" + illustration: "Ilustración" + add_an_illustration: "Añadir una ilustración." + book: "Reservar" + description_is_required: "Se requiere una descripción." + name_is_required: "Se requiere un nombre." + all_themes: "Todos los temas" + filter: 'Filtro' + confirm_payment_of_html: "{ROLE, select, admin{Payment on site} other{Pay}}: {AMOUNT}" # messageFormat interpolation (context: confirm my payment of $20.00) + export_is_running_you_ll_be_notified_when_its_ready: "Exportando, será notificado cuando esté listo." + share_on_facebook: "Compartir en Facebook" + share_on_twitter: "Compartir en Twitter" + incomplete_profile: "Perfil completo" + unlimited: "Ilimitado" + + messages: + you_will_lose_any_unsaved_modification_if_you_quit_this_page: "Si cierra la página se perderán todas las modificaciones que no se hayan guardado" + you_will_lose_any_unsaved_modification_if_you_reload_this_page: "Si recarga la página se perderán todas las modificaciones que no se hayan guardado" + + user: + # user edition form + add_an_avatar: "Añadir un avatar" + pseudonym: "Seudónimo" + email_address_is_required: "Se requiere un email." + change_password: "Cambiar contraseña" + new_password: "Nueva contraseña" + confirmation_of_new_password: "Confirmar nueva contraseña" + confirmation_of_password_is_required: "Se requiere confirmar la contraseña." + confirmation_of_password_is_too_short_(minimum_8_characters): "la contraseña es demasiado corta (minimo 8 caracteres)." + confirmation_mismatch_with_password: "Las contraseñas no coinciden." + organization_name: "Nombre de la organización" + organization_address: "Dirección de la organización" + date_of_birth: "Fecha de nacimiento" + date_of_birth_is_required: "Se requiere una fecha de nacimiento." + website: "Página web" + job: "Ocupación" + + project: + # project edition form + illustration: "Ilustración" + add_an_illustration: "Añadir una ilustración" + CAD_file: "Fichero CAD" + allowed_extensions: "Extensiones permitidas:" + add_a_new_file: "Añadir un nuevo archivo" + steps: "Pasos" + step_title: "Título de los pasos" + add_a_picture: "Añadir imagen" + change_the_picture: "Cambiar imagen" + delete_the_step: "Eliminar el paso" + do_you_really_want_to_delete_this_step: "Está seguro de querer borrar el paso?" + add_a_new_step: "añadir un nuevo paso" + publish_your_project: "Publicar proyecto" + employed_materials: "Material empleados" + employed_machines: "Máquinas empleadas" + creative_commons_licences: "Licencias Creative Commons" + + machine: + # machine edition form + technical_specifications_are_required: "Se requieren especificaciones técnicas." + attached_files_(pdf): "archivos anclados (pdf)" + attach_a_file: "adjuntar archivo" + add_an_attachment: "añadir archivo adjunto" + validate_your_machine: "Validar su máquina" + + plan_subscribe: + # frame to select a plan to subscribe + subscribe_online: "suscribirse online" + do_not_subscribe: "no suscribe" + + member_select: + # admin: choose a member to interact with + select_a_member: "Selecciona un miembro" + start_typing: "Empezar a escribir..." + please_select_a_member_first: "Por favor, selecciona un miembro de la lista" + + stripe: + # stripe payment modal + i_have_read_and_accept_: "He leido y acepto" + _the_general_terms_and_conditions: "Los términos y condiciones." + enter_your_card_number: "Introduce el número de tu tarjeta" + credit_amount_for_pay_reservation: "{{amount}} {{currency}} falta por pagar para efectuar su reserva" + client_credit_amount_for_pay_reservation: "{{amount}} {{currency}} falta por pagar para efectuar la reserva del cliente" + + valid_reservation_modal: + # dialog of on site payment for reservations + booking_confirmation: "Confirmar reserva" + here_is_the_summary_of_the_slots_to_book_for_the_current_user: "Resumen de los espacios reservados por el usuario actual:" + + event: + # event edition form + title_is_required: "Se requiere un título." + matching_visual: "Coincidencia visual" + choose_a_picture: "Selecciona una imagen" + attachments: "Adjuntos" + add_a_new_file: "añadir un archivo" + event_type: "Tipo de evento" + dates_and_opening_hours: "Fechas y horas de apertura" + all_day: "Todo el día" + start_date: "Fecha de inicio" + end_date: "Fecha de fin" + start_time: "Hora de inicio" + end_time: "Hora de fin" + recurrence: "Repeticiones" + _and_ends_on: "termina el" + prices_and_availabilities: "Precios y disponibilidad" + standard_rate: "Puntuación estándar" + 0_=_free: "0 = Gratis" + tickets_available: "Entradas disponibles" + event_theme: "Tema del evento" + age_range: "Rango de edades" + + plan: + # subscription plan edition form + plan_form: + general_information: "Información general" + name: "Nombre" + name_length_must_be_less_than_24_characters: "el nombre debe contener menos de 24 caracteres." + type: "Tipo" + type_is_required: "Se requiere un tipo." + group: "Grupo" + transversal_(all_groups): "Transversal (todos los grupos)" + group_is_required: "Se requiere un tipo." + number_of_periods: "Numero de periodos" + number_of_periods_is_required: "El numero de periodos es obligatorio." + period: "Periodo" + year: "Año" + month: "Mes" + week: "Semana" + period_is_required: "Se requiere un periodo." + subscription_price: "Precio de la suscripción" + price_is_required: "Se requiere un precio." + visual_prominence_of_the_subscription: "Relevancia visual de la suscripción" + on_the_subscriptions_page_the_most_prominent_subscriptions_will_be_placed_at_the_top_of_the_list: "Las suscripciónes se ordenaran por orden de relevancia en la página de suscripciónes" + an_evelated_number_means_a_higher_prominence: "Un número elevado indica mayor relevancia." + rolling_subscription: "¿Suscripción continua?" + a_rolling_subscription_will_begin_the_day_of_the_first_training: "Una suscripción continuada empezará el día que se dé el primer curso." + otherwise_it_will_begin_as_soon_as_it_is_bought: "De otro modo, empezará tan pronto como se haya adquirido." + information_sheet: "hoja de información" + attach_an_information_sheet: "adjuntar una hoja de infomación" + notified_partner: "Compañero notificado" + new_user: "Nuevo usuario ..." + as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "Como parte de la suscripción, algunas notificaciones podrían ser enviadas a este usuario." + new_partner: "Nuevo compañero" + email_address_is_required: "Se requiere un mail." + disabled: "Disable subscription" #translation_missing + disable_plan_will_not_unsubscribe_users: "Beware: disabling this plan won't unsubscribe users having active subscriptions with it." #translation_missing + + trainings: + # training edition form + trainings_form: + name: "Name" #translation_missing + name_is_required: "Name is required." #translation_missing + illustration: "Illustration" #translation_missing + add_an_illustration: "Add an illustration" #translation_missing + description: "Description" #translation_missing + description_is_required: "Description is required." #translation_missing + add_a_new_training: "Añadir curso" + validate_your_training: "Validar curso" + associated_machines: "Máquinas asociadas" + number_of_tickets: "Número de entradas" + public_page: "Hacer curso público" + disable_training: "Disable the training" #translation_missing + + user_admin: + # partial form to edit/create an user (admin view) + user_profile: "Profil utilisateur" + warning_incomplete_user_profile_probably_imported_from_sso: "Advertencia: Este perfil de usuario está incompleto. Como el método de autenticación SSO está activo, puede que la cuenta sea importada pero no fusionada. No la modifique a no ser que sepa lo que hace." + group: "Grupo" + group_is_required: "Se requiere un grupo" + disable_invoices_generation: "Desactivar generación de facturas:" + no_more_invoices_will_be_generated_for_: "No se generarán más facturas para" + _the_payments_carried_out_at_the_reception_: "El pago se efectuará en la entrada" + _regarding_this_user: "con respecto a este usuario." + trainings: "Cursos" + + authentication: + # partial form to edit/create an authentication provider (SSO) + provider_name_is_required: "Se requiere el nombre del proveedor." + authentication_type: "Tipo de autenticación" + authentication_type_is_required: "Se requiere el tipo de autenticación." + data_mapping: "Mapeo de datos" + expected_data_type: "Tipo de datos esperado" + input_format: "Formato de entrada" + mappings: "Mapeos" + + oauth2: + # edition/creation form of an OAuth2 authentication provider + common_url: "URL común" + common_url_is_required: "se requiere una URL común." + provided_url_is_not_a_valid_url: "La URL cedida no es válida." + authorization_endpoint: "Final de la autorización" + oauth2_authorization_endpoint_is_required: "Se requiere final de autorización OAuth 2.0." + provided_endpoint_is_not_valid: "El final de autorización proporcionado no es válido." + token_acquisition_endpoint: "Fin de adquisición de fichas" + oauth2_token_acquisition_endpoint_is_required: "Se requiere el final de adquisición de tokens OAuth 2.0." + profil_edition_url: "URL de edición de perfil" + profile_edition_url_is_required: "Se requiere URL de edición de perfil." + client_identifier: "Identificador de cliente" + oauth2_client_identifier_is_required: "Se requiere el identificador de cliente OAuth 2.0." + obtain_it_when_registering_with_your_provider: "Obtengalo al registrarse con su proveedor." + client_secret: "Secreto del cliente" + oauth2_client_secret_is_required: "Se requiere el secreto de cliente OAuth 2.0." + define_the_fields_mapping: "Definir el mapeo de campos" + add_a_match: "agregar coincidencia" + field: "Campos" + api_endpoint_url: "API final de URL" + api_type: "Tipo de API" + api_fields: "Campos de API" + + confirm_modify_slot_modal: + # machine/training slot modification modal + change_the_slot: "Cambiar la ranura" + do_you_want_to_change_your_booking_slot_initially_planned_at: "Desea cambiar su reserva efectuada inicialmente el:" + do_you_want_to_change_NAME_s_booking_slot_initially_planned_at: "Desea cambiar la reserva de {{NAME}} , efectuada inicialmente el:" # angular interpolation + cancel_this_reservation: "Cancelar reserva" + i_want_to_change_date: "Quiero cambiar la fecha" + + request_training_modal: + # modal introducing that a training is requested before booking a machine + to_book_the_MACHINE_you_must_have_completed_the_TRAINING: "Para reservar \"{{MACHINE}}\" debes haber completado el curso: {{TRAINING}}." # angular interpolation + register_for_the_training: "Apuntarse al curso" + i_dont_want_to_register_now: "No quiero apuntarme aún" + + training_reservation_modal: + # modal introducing that a user must wait for his training being validated before booking a machine + machine_reservation: "Reserva de máquina" + you_must_wait_for_your_training_is_being_validated_by_the_fablab_team_to_book_this_machine: "Debes esperar a que el Fablab valide tu curso para reservar la máquina." + your_training_will_occur_: "Tu curso será realizado" + + public_profile: + # user public profile + last_activity_: "Úlitma actividad" + _on_: "el" + to_come: "por llegar" + approved: "aprobada" + projects: "Proyectos" + no_projects: "Sin proyectos" + author: "Autor" + collaborator: "Colaborador" + private_profile: "Perfil privado" + + wallet: + # wallet + wallet: 'Cartera' + your_wallet_amount: 'Su dinero disponible' + wallet_amount: 'Cantidad disponible' + no_transactions_for_now: 'Sin transacciones aún' + operation: 'Operación' + operator: 'Operador' + amount: 'Cantidad' + credit: 'Crédito' + debit: 'Débito' + credit_title: 'Crédito de la cartera' + credit_label: 'Selecciona la cantidad a creditar' + confirm_credit_label: 'Confirma la cantidad a creditar' + generate_a_refund_invoice: "Generar informe de devolución" + creation_date_for_the_refund: "Fecha de creación del informe de devolución" + creation_date_is_required: "Se requiere fecha de creación." + description_(optional): "Descripción (opcional):" + will_appear_on_the_refund_invoice: "Aparecerá en el informe de devolución." + to_credit: 'Credito' + wallet_credit_successfully: "La cartera del usuario ha sido acreditada con éxito." + a_problem_occurred_for_wallet_credit: "Ocurrió un problema mientras se acreditaba la cartera" + amount_is_required: "Se requiere la cantidad" + amount_minimum_1: "La cantidad mínima es 1" + amount_confirm_is_required: "Debe confirmarse la cantidad" + amount_confirm_does_not_match: "La confirmación de la cantidad no coincide" + you_have_amount_in_wallet: "Tiene {{amount}} {{currency}} en su cartera" + client_have_amount_in_wallet: "El cliente tiene {{amount}} {{currency}} en su cartera" + wallet_pay_reservation: "Puede pagar directamente su reserva" + client_wallet_pay_reservation: "El cliente puede pagar directamente su reserva" + debit_subscription: "Débito por suscripción" + debit_reservation_training: "Débito por reserva de curso" + debit_reservation_machine: "Débito por reserva de máquina" + debit_reservation_event: "Débito por reserva de evento" + warning_uneditable_credit: "ADVERTENCIA: una vez validada la reserva no podrá modificarse el pago." + + coupon: + # promotional coupon (creation/edition form) + code: "Código" + code_is_required: "Se requiere un código." + code_must_be_composed_of_capital_letters_digits_and_or_dashes: "El código debe estar compuesto de mayúsculas, dígitos y / o guiones." + kind_of_coupon: "Tipo de cupón" + percentage: "Porcentaje" + amount: "Cantidad" + amount_off: "Cantidad descontada" + percent_off: "Porcentaje descontado" + percent_off_is_required: "El porcentaje descontado es obligatorio." + percentage_must_be_between_0_and_100: "El porcentaje descontado debe ser un número entre 0 y 100." + validity_per_user: "Validez por usuario" + once: "Validez única" + forever: "Cada usuario" + validity_per_user_is_required: "Se requiere validez por usuario." + valid_until: "Válido hasta (incluido)" + leave_empty_for_no_limit: "Dejar en blanco si no se desea especificar un límite." + max_usages: "Usos máximos permitidos" + max_usages_must_be_equal_or_greater_than_0: "El número de usos máximos permitidos debe ser mayor que 0." + enabled: "Activo" + + coupon_input: + # coupon (input zone for users) + i_have_a_coupon: "I have a coupon!" #translation_missing + code_: "Code:" #translation_missing + the_coupon_has_been_applied_you_get_PERCENT_discount: "Se ha aplicado el cupón {{PERCENT}}% de descuento." # angular interpolation + the_coupon_has_been_applied_you_get_AMOUNT_CURRENCY: "Se ha aplicado el cupón. Recibirá un descuento de {{AMOUNT}} {{CURRENCY}}." # angular interpolation + unable_to_apply_the_coupon_because_disabled: "No se ha podido canjear el cupón: código inhabilitado." + unable_to_apply_the_coupon_because_expired: "No se ha podido canjear el cupón: código expirado." + unable_to_apply_the_coupon_because_sold_out: "No se puede aplicar el cupón: este código alcanzó su cuota." + unable_to_apply_the_coupon_because_already_used: "No se ha podido usar el cupón: ya has usado este cupón antes." + unable_to_apply_the_coupon_because_amount_exceeded: "No se puede aplicar el cupón: el descuento excede el monto total de esta compra." + unable_to_apply_the_coupon_because_undefined: "No se puede aplicar el cupón: se ha producido un error inesperado, póngase en contacto con el gerente del Fablab." + unable_to_apply_the_coupon_because_rejected: "Este código no existe." + + space: + # form to create/edit a space + space: + name: "Nombre" + name_is_required: "Se requiere un nombre." + illustration: "Ilustración" + add_an_illustration: "añadir una ilustración" + description: "descripción" + description_is_required: "Se requiere una descripción." + characteristics: "Características" + characteristics_are_required: "Las características son obligatorias." + attached_files_(pdf): "Archivos adjuntos (pdf)" + attach_a_file: "Adjuntar archvo" + add_an_attachment: "Añadir adjunto" + default_places: "Máximo de entradas predeterminado" + default_places_is_required: "Se requiere un máximo de entradas predeterminado." + disable_space: "Disable space" #translation_missing + + cart: + # module de panier d'achat de réservations + cart: + summary: "Resumen" + select_one_or_more_slots_in_the_calendar: "Selecciona uno {SINGLE, select, true{slot} other{or more slots}} en el calendario" # messageFormat interpolation + you_ve_just_selected_the_slot: "Acaba de seleccionar el espacio :" + datetime_to_time: "{{START_DATETIME}} hasta {{END_TIME}}" # angular interpolation, eg: Thursday, September 4 1986 8:30 PM to 10:00 PM + cost_of_TYPE: "Coste de {TYPE, select, Machine{a machine hour} Training{the training} other{the element}}" # messageFormat interpolation + offer_this_slot: "Ofertar este espacio" + confirm_this_slot: "Confirmar este espacio" + remove_this_slot: "Eliminar este espacio" + to_benefit_from_attractive_prices: "Para beneficiarse de precios" + view_our_subscriptions: "Ver nuestras suscripciónes" + or: "ó" + you_ve_just_selected_a_: "Acaba de seleccionar" + _subscription: "suscripción" + cost_of_the_subscription: "Coste de la suscripción" + confirm_and_pay: "Confirmar y pagar" + you_have_settled_the_following_TYPE: "Acaba de seleccionar {TYPE, select, Machine{machine hours} Training{training} other{elements}}:" # messageFormat interpolation + you_have_settled_a_: "Ha establecido una" + total_: "TOTAL :" + thank_you_your_payment_has_been_successfully_registered: "Gracias. Su pago se ha registrado con éxito." + your_invoice_will_be_available_soon_from_your_: "Su factura pronto estará disponible" + dashboard: "Panel" + i_want_to_change_the_following_reservation: "Deseo cambiar la siguiente reserva:" + cancel_my_modification: "Cancelar modificación" + select_a_new_slot_in_the_calendar: "Seleccionar nuevo espacio en el calendario" + cancel_my_selection: "Cancelar mi selección" + tags_of_the_original_slot: "Etiquetas del espacio original:" + tags_of_the_destination_slot: "Etiquetas del espacio final:" + confirm_my_modification: "Confirmar modificación" + your_booking_slot_was_successfully_moved_from_: "Tu reserva de espacio ha sido reemplazada con éxito" + to_date: "a" # context: date. eg: "from 01/01 to 01/05" + please_select_a_member_first: "Por favor, selecciona un miembro de la lista" + unable_to_change_the_reservation: "Imposible cambiar reserva" + confirmation_required: "Confirmación requerida" + do_you_really_want_to_cancel_this_reservation: "¿Está seguro de querer cancelar la reserva?" + reservation_was_cancelled_successfully: "La reserva se ha cancelado con éxito." + cancellation_failed: "Cancelación fallida." + confirm_payment_of_html: "{ROLE, select, admin{Payment on site} other{Pay}}: {AMOUNT}" # messageFormat interpolation (context: confirm my payment of $20.00) + a_problem_occured_during_the_payment_process_please_try_again_later: "A problem occurred during the payment process. Please try again later." + none: "Ninguno" diff --git a/config/locales/app.shared.fr.yml b/config/locales/app.shared.fr.yml index ceee826ec..c7fde0f83 100644 --- a/config/locales/app.shared.fr.yml +++ b/config/locales/app.shared.fr.yml @@ -55,7 +55,7 @@ fr: add_an_event: "Ajouter un évènement" load_the_next_events: "Charger les évènements suivants ..." no_passed_events: "Aucun évènement passé" - dates: "Dates :" + dates: "Dates" thank_you_your_payment_has_been_successfully_registered: "Merci. Votre paiement a bien été pris en compte !" surname: "Nom" first_name: "Prénom" diff --git a/config/locales/app.shared.pt.yml b/config/locales/app.shared.pt.yml index 937950dfe..5fbdc8434 100755 --- a/config/locales/app.shared.pt.yml +++ b/config/locales/app.shared.pt.yml @@ -144,11 +144,20 @@ pt: machine: # machine edition form - technical_specifications_are_required: "Especificações técnicas são obrigatórias." - attached_files_(pdf): "Arquivos anexos (pdf)" - attach_a_file: "Anexar arquivo" - add_an_attachment: "Adicionar anexo" - validate_your_machine: "Validar sua máquina" + machine_form: + name: "Nome" + name_is_required: "Nome é obrigatório." + illustration: "Ilustração" + add_an_illustration: "Adicionar ilustração" + description: "Descrição" + description_is_required: "Especificações técnica é obrigatório." + technical_specifications: "Especificações técnicas" + technical_specifications_are_required: "Especificações técnicas são obrigatórias." + attached_files_(pdf): "Arquivos anexos (pdf)" + attach_a_file: "Anexar arquivo" + add_an_attachment: "Adicionar anexo" + disable_machine: "Desativar máquina" + validate_your_machine: "Validar sua máquina" plan_subscribe: # frame to select a plan to subscribe @@ -247,7 +256,7 @@ pt: associated_machines: "Máquinas associadas" number_of_tickets: "Número de vagas" public_page: "Mostrar na lista de treinamentos" - disable_training: "Disable the training" # TODO + disable_training: "Desativar treinamento" user_admin: # partial form to edit/create an user (admin view) @@ -415,7 +424,7 @@ pt: add_an_attachment: "Adicionar um anexo" default_places: "Tickets máximo padrão" default_places_is_required: "Tickets máximo padrão é obrigatório." - disable_space: "Disable space" # TODO + disable_space: "Desativar espaço" cart: # module de panier d'achat de réservations @@ -458,4 +467,5 @@ pt: cancellation_failed: "Cancelamento falhou." confirm_payment_of_html: "{ROLE, select, admin{Pagamento pelo site} other{Pagar}}: {AMOUNT}" # messageFormat interpolation (context: confirm my payment of $20.00) a_problem_occured_during_the_payment_process_please_try_again_later: "Um problema ocorreu durante o processo de pagamento. Por favor tente novamente mais tarde." - none: "Vazio" \ No newline at end of file + none: "Vazio" + \ No newline at end of file diff --git a/config/locales/devise.es.yml b/config/locales/devise.es.yml new file mode 100644 index 000000000..b534db8e6 --- /dev/null +++ b/config/locales/devise.es.yml @@ -0,0 +1,64 @@ +# Additional translations at https://github.com/plataformatec/devise/wiki/I18n + +es: + devise: + confirmations: + confirmed: "Su cuenta se ha confirmado exitosamente." + send_instructions: "Recibirá un correo electrónico con instrucciones sobre cómo confirmar su cuenta en unos minutos." + send_paranoid_instructions: "Si su dirección de correo electrónico existe en nuestra base de datos, recibirá un correo electrónico con instrucciones sobre cómo confirmar su cuenta en unos minutos." + failure: + already_authenticated: "Ya ha sido registrado." + inactive: "Su cuenta aún no ha sido activada." + invalid: "Mail o contraseña inválidos." + locked: "Su cuenta ha sido bloqueada." + last_attempt: "Le queda un intento antes de que su cuenta sea bloqueada." + not_found_in_database: "mail o contraseña inválidos." + timeout: "Su sesión ha expirado. Por favor, inicie sesión de nuevo." + unauthenticated: "Necesita iniciar sesión o registrarse antes de contiunar." + unconfirmed: "Debe confirmar su cuenta antes de continuar." + mailer: + confirmation_instructions: + action: + instruction: + subject: "Instrucciones de confirmación" + reset_password_instructions: + action: + instruction: + ignore_otherwise: + subject: "Instrucciones para restablecer contraseña" + unlock_instructions: + subject: "Desbloquear instrucciones" + omniauth_callbacks: + failure: "No pudimos autentificarte desde %{kind} porque \"%{reason}\"." + success: "Autentificado correctamente desde la cuenta %{kind} ." + passwords: + no_token: "No puede acceder a esta página sin proceder de un correo electrónico de restablecimiento de contraseña. Si procede de un correo electrónico de restablecimiento de contraseña, asegúrese de utilizar la URL completa proporcionada." + send_instructions: "Recibirá un correo electrónico con instrucciones sobre cómo restablecer su contraseña en unos minutos." + send_paranoid_instructions: "Si su dirección de correo electrónico existe en nuestra base de datos, recibirá un enlace de recuperación de contraseña en su dirección de correo electrónico en unos minutos." + updated: "Tu contraseña se cambió correctamente. Ya has iniciado sesión." + updated_not_active: "Tu contraseña se cambió correctamente." + registrations: + destroyed: "¡Adiós! Su cuenta se canceló correctamente. Esperamos volver a verte pronto." + signed_up: "¡Bienvenido! Se ha registrado correctamente." + signed_up_but_inactive: "Te has registrado con éxito. Sin embargo, no pudimos iniciar sesión porque su cuenta todavía no está activada." + signed_up_but_locked: "Te has registrado con éxito. Sin embargo, no pudimos iniciar sesión porque su cuenta está bloqueada." + signed_up_but_unconfirmed: "Se ha enviado un mensaje con un enlace de confirmación a su dirección de correo electrónico. Abra el enlace para activar su cuenta." + update_needs_confirmation: "Actualizó su cuenta con éxito, pero debemos verificar su nueva dirección de correo electrónico. Compruebe su correo electrónico y haga clic en el enlace para confirmar la confirmación de su nueva dirección de correo electrónico." + updated: "Ha actualizado su cuenta con éxito." + sessions: + signed_in: "Inicio de sesión exitoso." + signed_out: "Cierre de sesión exitoso." + unlocks: + send_instructions: "Recibirá un correo electrónico con instrucciones sobre cómo desbloquear su cuenta en unos minutos." + send_paranoid_instructions: "Si su cuenta existe, recibirá un correo electrónico con instrucciones sobre cómo desbloquearlo en unos pocos minutos." + unlocked: "Tu cuenta se ha desbloqueado con éxito. Por favor inicie sesión para continuar." + errors: + messages: + already_confirmed: "Ya se confirmó, intente iniciar sesión" + confirmation_period_expired: "Necesita ser confirmado dentro de %{period}, por favor, solicite uno nuevo" + expired: "ha expirado, por favor, solicite uno nuevo" + not_found: "no encontrado" + not_locked: "no estaba bloqueado" + not_saved: + one: "un error prohibió que %{resource} fuese guardado:" + other: "%{count} errores evitaron que %{resource} fuese guardado:" diff --git a/config/locales/en.yml b/config/locales/en.yml index 36f41010d..92460e907 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -360,4 +360,4 @@ en: group: # name of the user's group for administrators - admins: 'Administrators' \ No newline at end of file + admins: 'Administrators' diff --git a/config/locales/es.yml b/config/locales/es.yml new file mode 100644 index 000000000..1deaafb3d --- /dev/null +++ b/config/locales/es.yml @@ -0,0 +1,363 @@ +es: + + duration: + # subscription plan duration + year: + one: 'un año' + other: '%{count} años' + month: + one: 'un mes' + other: '%{count} meses' + week: + one: 'una semana' + other: '%{count} semanas' + + time: + formats: + # See http://apidock.com/ruby/DateTime/strftime for a list of available directives + hour_minute: "%I:%M %p" + + errors: &errors + messages: &errors_messages + # CarrierWave + carrierwave_processing_error: "fallo al procesar" + carrierwave_integrity_error: "es un tipo de archivo no permitido" + carrierwave_download_error: "no pudo ser descargado" + extension_white_list_error: "no le está permitido subir archivos de extensión %{extension} , tipos permitidos: %{allowed_types}" + extension_black_list_error: "no le está permitido subir archivos de extensión %{extension} , tipos prohibidos: %{prohibited_types}" + rmagick_processing_error: "error al manipular con rmagick, ¿Está seguro de que el archivo es una imagen? Error original: %{e}" + mime_types_processing_error: "error al procesar archivo MIME::Types, puede ser que el contenido no sea válido. Error original: %{e}" + mini_magick_processing_error: "Error al editar con MiniMagick, ¿Está seguro de que el archivo es una imagen? Error original: %{e}" + wrong_size: "Tamaño erroneo (should be %{file_size})" + size_too_small: "es demasiado pequeño (should be at least %{file_size})" + size_too_big: "es demasiado grande (should be at most %{file_size})" + export_not_found: "La exportación solicitada no se encontró. Probablemente se eliminó, por favor, genere una nueva exportación." + percentage_out_of_range: "El porcentaje debe estar incluido entre 0 y 100" + cannot_be_blank_at_same_time: "no puede estar vacío cuando %{field} también está vacío" + cannot_be_in_the_past: "no puede estar en el pasado" + cannot_be_before_previous_value: "No puede estar antes del valor anterior." + + activemodel: + errors: + <<: *errors + + apipie: + api_documentation: "Documentación API" + + omniauth: + # error messages when importing an account Desde a SSO + email_already_linked_to_another_account_please_input_your_authentication_code: "E-mail \"%{OLD_MAIL}\"ya está vinculado a otra cuenta, ingrese su código de autenticación." + your_username_is_already_linked_to_another_account_unable_to_update_it: "Su nombre de usuario (%{USERNAME}) ." + your_email_address_is_already_linked_to_another_account_unable_to_update_it: "Your e-mail address (%{EMAIL}) ya está vinculado a otra cuenta, no se puede actualizar." + this_account_is_already_linked_to_an_user_of_the_platform: "Esta %{NAME} cuenta ya está vinculada a un usuario de la plataforma ." + + availabilities: + # availability slots in the calendar + not_available: "No disponible" + i_ve_reserved: "He reservado" + must_be_at_least_1_hour_after_the_start_date: "Debe ser al menos 1 hora después de la fecha de inicio" + must_be_associated_with_at_least_1_machine: "debe estar asociado con al menos 1 máquina" + + members: + # members management + unable_to_change_the_group_while_a_subscription_is_running: "No se puede cambiar el grupo mientras se está ejecutando una suscripción." + please_input_the_authentication_code_sent_to_the_address: "Ingrese el código de autenticación enviado a la dirección de correo electrónico %{EMAIL}" + your_authentication_code_is_not_valid: "Su código de autenticación no es válido." + current_authentication_method_no_code: "El método de autenticación actual no requiere ningún código de migración" + requested_account_does_not_exists: "La cuenta solicitada no existe" + + invoices: + # PDF invoices generation + refund_invoice_reference: "Referencia de devolución de factura: %{REF}" + invoice_reference: "Referencia de factura: %{REF}" + code: "Código: %{CODE}" + order_number: "Pedido #: %{NUMBER}" + invoice_issued_on_DATE: "Factura emitida el %{DATE}" + refund_invoice_issued_on_DATE: "Factura de reembolso emitida el %{DATE}" + wallet_credit: "Crédito de la cartera" + cancellation_of_invoice_REF: "Cancelación de la factura %{REF}" + reservation_of_USER_on_DATE_at_TIME: "Reserva de %{USER} el %{DATE} a las %{TIME}" + cancellation: "Cancelación" + object: "Objeto:" + order_summary: "Resumen de pedido:" + details: "Detalles" + amount: "Cantidad" + subscription_extended_for_free_Desde_START_to_END: "Suscripción extendida gratis - desde %{START} to %{END}" + subscription_NAME_Desde_START_to_END: "Suscripción %{NAME} - desde %{START} hasta %{END}" + machine_reservation_DESCRIPTION: "Reserva de máquina - %{DESCRIPTION}" + space_reservation_DESCRIPTION: "Reserva de espacio - %{DESCRIPTION}" + training_reservation_DESCRIPTION: "Reserva de curso - %{DESCRIPTION}" + event_reservation_DESCRIPTION: "Reserva de evento - %{DESCRIPTION}" + full_price_ticket: + one: "Una entrada de precio completo" + other: "%{count} entradas de precio completo" + other_rate_ticket: + one: "un %{NAME} entrada" + other: "%{count} %{NAME} entradas" + reservation_other: "Reserva (other)" + coupon_CODE_discount_of_DISCOUNT: "Cupón {CODE}: descuento de {DISCOUNT}{TYPE, select, percent_off{%} other{}}" # messageFormat interpolation + total_including_all_taxes: "total impuestos incluidos" + including_VAT_RATE: "Incluyendo IVA %{RATE}%" + including_total_excluding_taxes: "Excluyendo IVA" + including_amount_payed_on_ordering: "Incluyendo cantidad pagada en el pedido" + total_amount: "Precio total" + refund_on_DATE: "Reembolso en %{DATE}" + by_stripe_online_payment: "por pago online" + by_cheque: "por cheque" + by_transfer: "por transferencia" + by_cash: "en efectivo" + no_refund: "sin devolución" + by_wallet: "por cartera" + settlement_by_debit_card: "Efectuado con tarjeta de débito" + settlement_done_at_the_reception: "Efectuado en recepción" + settlement_by_wallet: "Efectuado con cartera" + on_DATE_at_TIME: "el %{DATE} a las %{TIME}," + for_an_amount_of_AMOUNT: "Por una cantidad de %{AMOUNT}" + on_DATE_Desde_START_to_END: "El %{DATE} desde %{START} hasta %{END}" # eg: on feb. 7 Desde 7AM hasta 9AM + Desde_STARTDATE_to_ENDDATE_Desde_STARTTIME_to_ENDTIME: "Desde %{STARTDATE} hasta %{ENDDATE}, desde %{STARTTIME} hasta %{ENDTIME}" # eg: Desde feb. 7 hasta feb. 10, Desde 6PM hasta 10PM + subscription_of_NAME_for_DURATION_starting_Desde_DATE: "Suscripción %{NAME} por %{DURATION} empezando Desde %{DATE}" + subscription_of_NAME_extended_starting_Desde_STARTDATE_until_ENDDATE: "Subscripción de %{NAME} extendida (Free days) empezando desde %{STARTDATE} hasta %{ENDDATE}" + and: 'y' + + trainings: + # training availabilities + i_ve_reserved: "he reservado" + completed: "Lleno" + + events: + # error messages when updating an event + error_deleting_reserved_price: "No se puede eliminar el precio solicitado porque está asociado con algunas reservas." + other_error: "Se ha producido un error inesperado al actualizar el evento." + + export_members: + # members list export to EXCEL format + members: "Miembros" + id: "ID" + surname: "Apellidos" + first_name: "Nombre" + email: "E-mail" + newsletter: "Hoja informativa" + gender: "Genero" + age: "Edad" + address: "Dirección" + phone: "Teléfono" + website: "Web" + job: "Trabajo" + interests: "Intereses" + cad_software_mastered: "Softwares dominados" + group: "Grupo" + subscription: "Suscripción" + subscription_end_date: "Fecha de fin de suscripción" + validated_trainings: "Cursos validados" + tags: "Etiquetas" + number_of_invoices: "Numero de facturas" + invoicing_disabled: "Facturación desactivada" + projects: "Proyectos" + facebook: "Facebook" + twitter: "Twitter" + echo_sciences: "Ecociencia" + organization: "Organización" + organization_address: "Dirección de la organización" + man: "hombre" + woman: "mujer" + without_subscriptions: "Sin suscripciones" + + export_reservations: + # machines/trainings/events reservations list to EXCEL format + reservations: "Reservas" + customer_id: "Identificación del cliente" + customer: "Cliente" + email: "E-mail" + reservation_date: "fecha de reserva" + reservation_type: "tipo de reserva" + reservation_object: "objetivo de reserva" + slots_number_hours_tickets: "espacios reservados (horas/entradas)" + payment_method: "Método de pago" + local_payment: "Pago en recepción" + online_payment: "Pago online" + + export_subscriptions: + # subscriptions list export to EXCEL format + subscriptions: "Suscripciones" + id: "ID" + customer: "Cliente" + email: "E-mail" + subscription: "Suscripción" + period: "Periodo" + start_date: "Fecha de comienzo" + expiration_date: "Fecha de fin" + amount: "Cantidad" + payment_method: "Método de pago" + local_payment: "Pago en recepción" + online_payment: "Pago online" + + export_availabilities: + # reservation slots export, by type, to EXCEL format + machines: "Máquinas" + trainings: "Cursos" + spaces: "Espacios" + events: "Eventos" + day_of_week: "Día de la semana" + date: "Fecha" + slot: "Espacio" + machine: "Máquina" + training: "Curso" + space: "Espacio" + event: "Evento" + reservations: "Reservas" + available_seats: "Asientos disponibles" + + + api: + notifications: + # internal app notifications + notify_admin_abuse_reported: + an_abuse_was_reported_on_TYPE_ID_NAME_html: "Un abuso ha sido reportado %{TYPE} %{ID}: %{NAME}." + notify_admin_invoicing_changed: + invoices_generation_was_STATUS_for_user_NAME_html: "La generación de facturas ha sido {STATUS, select, true{disabled} other{enabled}} para el usuario {NAME}." # messageFormat interpolation + notify_admin_member_create_reservation: + a_RESERVABLE_reservation_was_made_by_USER_html: "una %{RESERVABLE} reserva fue hecha por %{USER}." + notify_admin_profile_complete: + account_imported_Desde_PROVIDER_(UID)_has_completed_its_information_html: "Cuenta importada desde %{PROVIDER} (%{UID}) ha completado su información." + notify_admin_slot_is_canceled: + USER_s_reservation_on_the_DATE_was_cancelled_remember_to_generate_a_refund_invoice_if_applicable_html: "La reserva de %{USER}, hecha el %{DATE} ha sido cancelada. Recuerda reclamar una devolución si está disponible." + notify_admin_slot_is_modified: + a_booking_slot_was_modified: "Una reserva fué modificada." + notify_admin_subscribed_plan: + subscription_PLAN_has_been_subscribed_by_USER_html: "La suscripción %{PLAN} ha sido solicitada por %{USER}." + notify_admin_subscription_canceled: + USER_s_subscription_has_been_cancelled: "La suscripción de %{USER}ha sido cancelada." + notify_admin_subscription_extended: + subscription_PLAN_of_the_member_USER_has_been_extended_FREE_until_DATE_html: "La suscripción {PLAN} de {USER} se ha extendido {FREE, select, true{for free} other{}} hasta {DATE}." # messageFormat interpolation + notify_admin_subscription_is_expired: + USER_s_subscription_has_expired: "%La suscripción de {USER} ha expirado." + notify_admin_subscription_will_expire_in_7_days: + USER_s_subscription_will_expire_in_7_days: "La suscripción de %{USER} expirará en 7 días." + notify_admin_user_group_changed: + user_NAME_changed_his_group_html: "El usuario {NAME} ha cambiado {GENDER, select, true{his} other{her}} el grupo." # messageFormat interpolation + notify_admin_user_merged: + user_NAME_has_merged_his_account_with_the_one_imported_Desde_PROVIDER_(UID)_html: "El usuario {NAME} se ha fusionado {GENDER, select, true{his} other{her}} con la cuenta importada desde {PROVIDER} ({UID})." # messageFormat interpolation + notify_admin_when_project_published: + project_NAME_has_been_published_html: "Project %{NAME} has been published." + notify_admin_when_user_is_created: + a_new_user_account_has_been_created_NAME_EMAIL_html: "Se ha creado una nueva cuenta: %{NAME} <%{EMAIL}>." + notify_admin_when_user_is_imported: + a_new_user_account_has_been_imported_Desde_PROVIDER_(UID)_html: "Se ha importado una nueva cuenta: %{PROVIDER} (%{UID})." + notify_member_create_reservation: + your_reservation_RESERVABLE_was_successfully_saved_html: "Su reserva %{RESERVABLE} se ha guardado correctamente." + notify_member_reservation_reminder: + reminder_you_have_a_reservation_RESERVABLE_to_be_held_on_DATE_html: "Recuerda: Su reserva %{RESERVABLE} tendrá lugar el %{DATE}" + notify_member_slot_is_canceled: + your_reservation_RESERVABLE_of_DATE_was_successfully_cancelled: "Su reserva %{RESERVABLE} de %{DATE} se ha cancelado correctamente." + notify_member_slot_is_modified: + your_reservation_slot_was_successfully_changed: "Su reserva ha sido cambiada correctamente." + notify_member_subscribed_plan: + you_have_subscribed_to_PLAN_html: "Se ha suscrito tp %{PLAN}." + notify_member_subscribed_plan_is_changed: + you_have_changed_your_subscription_to_PLAN_html: "Ha cambiado su suscripción a %{PLAN}." + notify_member_subscription_canceled: + your_subscription_PLAN_was_successfully_cancelled_html: "Su suscripción %{PLAN} se ha cancelado exitosamente." + notify_member_subscription_extended: + your_subscription_PLAN_has_been_extended_FREE_until_DATE_html: "Su suscripción {PLAN} se ha extendido {FREE, select, true{for free} other{}} hasta {DATE}." # messageFormat interpolation + notify_member_subscription_is_expired: + your_subscription_has_expired: "Su suscripción ha expirado." + notify_member_subscription_will_expire_in_7_days: + your_subscription_will_expire_in_7_days: "Su suscripción expirará en 7 días." + notify_partner_subscribed_plan: + subscription_partner_PLAN_has_been_subscribed_by_USER_html: "Un compañero %{PLAN} ha sido suscrito por %{USER}." + notify_project_author_when_collaborator_valid: + USER_became_collaborator_of_your_project: "%{USER} se ha convertido en colaborador de tu proyecto:" + notify_project_collaborator_to_valid: + you_are_invited_to_collaborate_on_the_project: "Has sido invitado a colaborar en este proyecto:" + notify_user_auth_migration: + your_account_was_migrated: "Ha migrado correctamente al nuevo sistema de autenticación." + notify_user_profile_complete: + your_profile_was_completed: "Su perfil se completó con éxito, ahora tiene acceso a toda la plataforma." + notify_user_training_valid: + your_TRAINING_was_validated_html: "Su curso %{TRAINING} ha sido validado con éxito." + notify_user_user_group_changed: + your_group_has_changed: "Su grupo ha sido cambiado." + notify_user_when_avoir_ready: + your_avoir_is_ready_html: "Su informe de devolución #%{REFERENCE}, of %{AMOUNT}, está listo. Haz clic aquí para descargarlo." + notify_user_when_invoice_ready: + your_invoice_is_ready_html: "Su factura #%{REFERENCE}, de %{AMOUNT} está lista. Haz clic aquí para descargarlo." + undefined_notification: + unknown_notification: "Notificación desconocida" + notification_ID_wrong_type_TYPE_unknown: "Notificación %{ID} fallida (type %{TYPE} unknown)" + notify_user_wallet_is_credited: + your_wallet_is_credited: "Su cartera ha sido acreditada por el administrador" + notify_admin_user_wallet_is_credited: + wallet_is_credited: "La cartera del miembro %{USER} ha sido creditada %{AMOUNT}" + notify_admin_export_complete: + export: "La exportación" + statistics_global: "de todas las estadísticas" + statistics_account: "de las estadísticas de registro" + statistics_event: "de estadísticas sobre eventos" + statistics_machine: "de estadísticas sobre horas de máquina" + statistics_project: "de estadísticas sobre proyectos" + statistics_subscription: "de estadísticas de suscripción" + statistics_training: "de estadísticas de cursos" + statistics_space: "de estadísticas sobre espacios" + users_members: "de la lista de miembros" + users_subscriptions: "de la lista de suscripciones" + users_reservations: "de la lista de reservas" + availabilities_index: "de las reservas disponibles" + is_over: "se ha acabado." + download_here: "Descargar aquí" + notify_member_about_coupon: + enjoy_a_discount_of_PERCENT_with_code_CODE: "Disfruta de un descuento de %{PERCENT}% con el código %{CODE}" + enjoy_a_discount_of_AMOUNT_with_code_CODE: "Disfruta de un descuento de %{AMOUNT} con el código %{CODE}" + + statistics: + # statistics tools for admins + subscriptions: "Suscripciones" + machines_hours: "Horario de máquinas" + spaces: "Espacios" + trainings: "Cursos" + events: "Eventos" + registrations: "Registros" + projects: "Proyectos" + users: "Usuarios" + training_id: "ID de curso" + training_date: "Fecha de curso" + event_id: "ID de evento" + event_date: "Fecha de evento" + event_name: "Nombre de event " + event_theme: "Tema" + age_range: "Rango de edades" + themes: "Temas" + components: "Componentes" + machines: "Máquinas" + user_id: "ID de usuario" + bookings: "Reservas" + hours_number: "Número de horas" + tickets_number: "Número de entradas" + revenue: "Ingresos" + account_creation: "Creación de cuenta" + project_publication: "Publicación de proyectos" + + export: + # statistics exports to the excel file format + entries: "Entradas" + revenue: "Ingresos" + average_age: "Edad media" + total: "hasta tal punto" + date: "Fecha" + user: "Usuario" + email: "Email" + phone: "Teléfono" + gender: "Genero" + age: "Edad" + type: "Tipo" + revenue: "Ingreso" + male: "Hombre" + female: "Mujer" + + price_category: + # initial price's category for events, created to replace the old "reduced amount" property + reduced_fare: "Tarifa reducida" + reduced_fare_if_you_are_under_25_student_or_unemployed: "Tarifa reducida si tienes menos de 25 años, eres estudiante o estás desempleado." + + group: + # name of the user's group for administrators + admins: 'Administradores' diff --git a/config/locales/mails.es.yml b/config/locales/mails.es.yml new file mode 100644 index 000000000..530e9efd4 --- /dev/null +++ b/config/locales/mails.es.yml @@ -0,0 +1,287 @@ +es: + layouts: + notifications_mailer: + see_you_later: "Nos vemos pronto en {GENDER, select, other{the}}" # messageFormat interpolation + sincerely: "Atentamente," + signature: "El equipo del FabLab." + do_not_reply: "Por favor no conteste a este mail." + + users_mailer: + notify_user_account_created: + subject: "Tu cuenta FabLab se ha creado con éxito" + body: + hello: "Hola %{NAME}," + intro: "El equipo FabLab acaba de crear una cuenta para ti, en la web de {FABLAB}" # messageFormat interpolation + connection_parameters: "Estos son los datos asociados a tu cuenta:" + account_name: "Nombre de usuario:" + password: "Contraseña:" + temporary_password: "Esta es una contraseña temporal, puede modificarla en la pantalla <>." + keep_advantages: "Con esta cuenta, guarda todas las ventajas relacionadas con su perfil de usuario de Fab Lab (cursos, planes de suscripción)." + thanks_to_: "Para usar el sitio web, por favor" + logon_or_login: "crea una nueva cuenta o inicia sesión haciendo clic aquí" + token_if_link_problem: "Si experimenta problemas con el enlace, puede introducir el siguiente código en el primer intento de conexión:" + + notifications_mailer: + notify_user_user_group_changed: + subject: "Tu has cambiado grupo" + body: + warning: "Has cambiado de grupo. Se pueden realizar inspecciones en el laboratorio para verificar la legitimidad de este cambio.." + + notify_admin_user_group_changed: + subject: "Un miembro ha cambiado de grupo." + body: + user_changed_group_html: "El usuario %{NAME} ha cambiado de grupo." + previous_group: "Grupo anterior:" + new_group: "Nuevo grupo:" + + notify_admin_subscription_extended: + subject: "Una suscripción ha sido extendida" + body: + subscription_extended_html: "La suscripción {PLAN} del usuario {NAME} ha sido extendida {FREE, select, true{for free} other{}} until {DATE}." # messageFormat interpolation + + notify_member_subscription_extended: + subject: "Su suscripción ha sido extendida" + body: + your_plan: "Su plan de suscripción" + has_been_extended: "ha sido extendida" + free: "gratuitamente" + until: "hasta" + + notify_partner_subscribed_plan: + subject: "Ha adquirido un plan de suscripción" + body: + a_plan: "Un plan de suscripción" + was_purchased_by_member: "ha sido adquirido por el usuario" + + notify_admin_when_project_published: + subject: "Un proyecto ha sido publicado" + body: + new_project_published: "Un nuevo proyecto ha sido publicado:" + + notify_project_collaborator_to_valid: + subject: "Invitación de colaboración a un proyecto" + body: + your_are_invited_to_take_part_in_a_project: "Ha sido invitado a colaborar en el proyecto:" + to_accept_the_invitation_click_on_following_link: "Para aceptar la invitación por favor haga clic en el siguiente enlace:" + + notify_project_author_when_collaborator_valid: + subject: "Nuevo colaborador en tu proyecto" + body: + the_member: "El usuario" + accepted_your_invitation_to_take_part_in_the_project: "ha aceptado unirse a tu proyecto:" + + notify_user_training_valid: + subject: "Su curso ha sido validado" + body: + your_training: "Su curso" + has_been_validated: "Ha sido validado" + + notify_member_subscribed_plan: + subject: "Su suscripción ha sido correctamente comprada" + body: + plan_subscribed_html: "Se ha suscrito al plan: %{PLAN}." + subscription_stops_on: "Su suscripción terminará el %{DATE}" + + notify_member_create_reservation: + subject: "Su reserva se ha registrado correctamente" + body: + reservation_saved_html: "Su reserva %{RESERVATION} se ha registrado correctamente" + your_reserved_slots: "Sus espacios reservados son:" + + notify_member_subscribed_plan_is_changed: + subject: "Su suscripción ha sido actualizada" + body: + new_plan_html: "Ha cambiado su plan a %{PLAN}." + + notify_admin_member_create_reservation: + subject: "Nueva reserva" + body: + member_reserved_html: "El usuario %{NAME} ha reservado %{RESERVABLE}." + reserved_slots: "Los espacios de reserva están aquí:" + + notify_member_slot_is_modified: + subject: "Su espacio de reserva ha sido cambiado correctamente" + body: + reservation_changed_to: "Su espacio de reserva se ha cambiado a:" + previous_date: "Fecha anterior:" + + notify_admin_slot_is_modified: + subject: "Un espacio de reservra ha sido modificado" + body: + slot_modified: "El usuario %{NAME} ha modificado su reserva" + new_date: "Nuevo espacio" + old_date: "Espacio anterior" + + notify_admin_when_user_is_created: + subject: "Se ha creado una nueva cuenta" + body: + new_account_created: "Se ha creado un nuevo usuario en la web:" + account_for_organization: "Esta cuenta gestiona una organización :" + invoicing_disabled_html: "La generación de facturación para este usuario es disabled." + + notify_admin_subscribed_plan: + subject: "Se ha adquirido un plan de suscripción" + body: + plan_subscribed_html: "Un plan de suscripción %{PLAN} ha sido adquirido por el usuario %{NAME}." + + notify_member_invoice_ready: + subject: "La factura de su FabLab" + body: + please_find_attached_html: "Por favor, encuentre como archivo adjunto su factura de {DATE}, por un valor de {AMOUNT} referente a {TYPE, select, Reservation{reservation} other{subscription}}." # messageFormat interpolation + invoice_in_your_dashboard_html: "Puede acceder a su factura en %{DASHBOARD} en la web del FabLab." + your_dashboard: "Su Panel" + + notify_member_reservation_reminder: + subject: "Recordatorio de reserva" + body: + this_is_a_reminder_about_your_reservation_RESERVABLE_to_be_held_on_DATE_html: "Este es un recordatorio sobre su reserva %{RESERVABLE} a realizarse en %{DATE}" + this_reservation_concerns_the_following_slots: "Esta reserva involucra los siguientes espacios:" + + notify_member_avoir_ready: + subject: "Su factura de reembolso de FabLab" + body: + please_find_attached_html: "Por favor, encuentre como archivo adjunto su factura de reembolso de {DATE}, con una cantidad de {AMOUNT} referente a su {TYPE, select, Reservation{reservation} WalletTransaction{wallet credit} other{subscription}}." # messageFormat interpolation + invoice_in_your_dashboard_html: "Puede acceder a su factura en %{DASHBOARD} en la web del FabLab." + your_dashboard: "Su panel" + + notify_member_subscription_will_expire_in_7_days: + subject: "Su suscripción expira en 7 dias" + body: + your_plan: "su plan de suscripción" + expires_in_7_days: "expirará en 7 dias." + to_renew_your_plan_follow_the_link: "Por favor, haga clic en el siguiente enlace para renovar su suscripción" + + notify_member_subscription_is_expired: + subject: "Su suscripción ha expirado" + body: + your_plan: "Su plan de suscripción" + has_expired: "ha expirado." + you_can_go_to: "Por favor acceda a" + to_renew_your_plan: "para renovar su suscripción" + + notify_admin_subscription_will_expire_in_7_days: + subject: "La suscripción de un miembre expira en 7 días" + body: + subscription_will_expire_html: "El plan de suscripción de %{NAME} %{PLAN} expirará en 7 días." + + notify_admin_subscription_is_expired: + subject: "La suscripción de un miembro ha expirado" + body: + subscription_expired_html: "La suscripción del usuario %{NAME} %{PLAN} ha expirado." + + notify_admin_subscription_canceled: + subject: "La suscripción de un miembro ha sido cancelada" + body: + subscription_canceled_html: "La suscripción %{PLAN} del usuario %{NAME} ha sido cancelada." + + notify_member_subscription_canceled: + subject: "Su suscripción ha sido cancelada" + body: + your_plan_was_canceled: "Su suscripción ha sido cancelada." + your_plan: "Su suscripción" + end_at: "termina el" + + notify_member_slot_is_canceled: + subject: "Su reserva ha sido cancelada" + body: + reservation_canceled: "Su reserva para %{RESERVABLE} ha sido cancelada" + + notify_admin_slot_is_canceled: + subject: "Una reserva ha sido cancelada" + body: + member_cancelled: "El usuario %{NAME} ha cancelado una reserva" + item_details: "%{START} - %{END}, referido a %{RESERVABLE}" + generate_refund: "No olvide generar una nota de crédito o un reembolso por esta cancelación." + + notify_admin_when_user_is_imported: + subject: "Una cuenta de usuario ha sido importada (SSO)" + body: + new_account_imported: "Una nueva cuenta (ID: %{ID}) ha sido importada a la web via %{PROVIDER}." + provider_uid: "El ID del proveedor es: " + known_information: "Esto es lo que sabemos del proveedor:" + address_already_used: "Esta dirección ya está asociada con otro usuario." + no_more_info_available: "No se puede proporcionar ninguna otra información sobre este usuario antes de completar su perfil." + + notify_user_profile_complete: + subject: "Ahora tienes acceso a nuestra web" + body: + message: "La información de su cuenta se ha actualizado correctamente, ahora tiene acceso a todo el sitio web." + + notify_user_auth_migration: + subject: "Cambio importante a su cuenta FabLab" + body: + the_platform: "La web" + is_changing_its_auth_system_and_will_now_use: "en realidad está cambiando su sistema de identificación de usuario y usará" + instead_of: "en lugar de" + consequence_of_the_modification: "Debido a este cambio, no podrá iniciar sesión en el sitio web con sus nombres de usuario actual." + to_use_the_platform_thanks_for: "Para seguir usando el sitio web, por favor" + create_an_account_on: "cree una cuenta en" + or_use_an_existing_account_clicking_here: "o utilice una cuenta existente haciendo clic aquí" + in_case_of_problem_enter_the_following_code: "En caso de problemas con este enlace, puede ingresar el siguiente código en su primer intento de conexión para migrar su cuenta real al nuevo sistema de autenticación:" + + notify_admin_user_merged: + subject: "Una cuenta importada se ha fusionado con una cuenta existente" + body: + imported_account_merged: "Una cuenta de usuario previamente importada vía %{PROVIDER) se ha fusionado con la cuenta existente %{NAME}" + provider_uid: "La identificación del proveedor es:" + + notify_admin_profile_complete: + subject: "Una cuenta importada ha completado su perfil" + body: + account_completed: "Una cuenta de usuario importada previamente %{PROVIDER} ha completado su perfil:" + provider_id: "su ID de proveedor es:" + + notify_admin_abuse_reported: + subject: "Se ha informado un contenido abusivo" + body: + intro: "Un usuario ha marcado un contenido como abusivo" + signaled_content: "contenido marcado:" + signaled_by: "marcado por:" + signaled_on: "marcado el:" + message: "Mensaje:" + + notify_admin_invoicing_changed: + subject: "Se ha cambiado un parámetro de facturación." + body: + generation_status_html: "Un parámetro de facturación ha sido cambiado {STATUS, select, true{disabled} other{enabled}} por el usuario {NAME}." # messageFormat interpolation + disabled: "A partir de ahora, no se emitirá factura cuando el usuario paga en la recepción." + enabled: "A partir de ahora, todos los pagos realizados por este usuario en la recepción llevarán a la emisión de facturación. " + + notify_user_wallet_is_credited: + subject: "" #translation_missing + body: + wallet_credit_html: "Se han ingresado %{AMOUNT} por el administrador." + + notify_admin_user_wallet_is_credited: + subject: "Se han ingresado fondos en la cartera de un usuario" + body: + wallet_credit_html: "Se han ingresado %{AMOUNT} fondos en la cartera del usuario %{USER} por el administrador %{ADMIN}." + + notify_admin_export_complete: + subject: "Exportación completada" + body: + you_asked_for_an_export: "Usted solicitó una exportación" + statistics_global: "de todas las estadísticas" + statistics_account: "de las estadísticas de registro" + statistics_event: "de estadísticas sobre eventos" + statistics_machine: "de estadísticas sobre horas de máquina" + statistics_project: "de estadísticas sobre proyectos" + statistics_subscription: "de estadísticas de suscripción" + statistics_training: "de estadísticas sobre entrenamientos" + statistics_space: "de estadísticas sobre espacios" + users_members: "de la lista de miembros" + users_subscriptions: "de la lista de suscripciones" + users_reservations: "de la lista de reservas" + availabilities_index: "de las reservas disponibles" + click_to_download: " archivo Excel generado correctamente. Para descargarlo, haga clic " + here: "aquí" + + notify_member_about_coupon: + subject: "Cupón" + body: + enjoy_a_discount_of_PERCENT_with_code_CODE: "Disfruta de un descuento del %{PERCENT}% en toda la web con el código %{CODE}." + enjoy_a_discount_of_AMOUNT_with_code_CODE: "Disfruta de un descuento de %{AMOUNT} en toda la web con el código %{CODE}." + this_coupon_is_valid_USAGE_times_until_DATE_for_all_your_purchases: "Este cupón es válido {USAGE, plural, =1{just once} other{many times}}: para todas tus compras {TYPE, select, amount_off{at least equal to the amount of the coupon} other{}}, desde ahora {DATE, select, NO-DATE{and without time limit} other{and until {DATE}}}." + + shared: + hello: "¡Hola %{user_name}!" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 6db56287e..badf770bb 100755 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -360,4 +360,4 @@ pt: group: # name of the user's group for administrators - admins: 'Administradores' \ No newline at end of file + admins: 'Administradores' diff --git a/config/locales/rails.fr-CM.yml b/config/locales/rails.fr-CM.yml new file mode 100644 index 000000000..c8608ec23 --- /dev/null +++ b/config/locales/rails.fr-CM.yml @@ -0,0 +1,207 @@ +fr-CM: + date: + abbr_day_names: + - dim + - lun + - mar + - mer + - jeu + - ven + - sam + abbr_month_names: + - + - jan. + - fév. + - mar. + - avr. + - mai + - juin + - juil. + - août + - sept. + - oct. + - nov. + - déc. + day_names: + - dimanche + - lundi + - mardi + - mercredi + - jeudi + - vendredi + - samedi + formats: + default: "%d/%m/%Y" + short: "%e %b" + long: "%A%e %B %Y" + month_names: + - + - janvier + - février + - mars + - avril + - mai + - juin + - juillet + - août + - septembre + - octobre + - novembre + - décembre + order: + - :day + - :month + - :year + datetime: + distance_in_words: + about_x_hours: + one: environ une heure + other: environ %{count} heures + about_x_months: + one: environ un mois + other: environ %{count} mois + about_x_years: + one: environ un an + other: environ %{count} ans + almost_x_years: + one: presqu'un an + other: presque %{count} ans + half_a_minute: une demi-minute + less_than_x_minutes: + zero: moins d'une minute + one: moins d'une minute + other: moins de %{count} minutes + less_than_x_seconds: + zero: moins d'une seconde + one: moins d'une seconde + other: moins de %{count} secondes + over_x_years: + one: plus d'un an + other: plus de %{count} ans + x_days: + one: 1 jour + other: "%{count} jours" + x_minutes: + one: 1 minute + other: "%{count} minutes" + x_months: + one: 1 mois + other: "%{count} mois" + x_seconds: + one: 1 seconde + other: "%{count} secondes" + prompts: + day: Jour + hour: Heure + minute: Minute + month: Mois + second: Seconde + year: Année + errors: + format: "%{attribute} %{message}" + messages: + accepted: doit être accepté(e) + blank: doit être rempli(e) + present: doit être vide + confirmation: ne concorde pas avec %{attribute} + empty: doit être rempli(e) + equal_to: doit être égal à %{count} + even: doit être pair + exclusion: n'est pas disponible + greater_than: doit être supérieur à %{count} + greater_than_or_equal_to: doit être supérieur ou égal à %{count} + inclusion: n'est pas inclus(e) dans la liste + invalid: n'est pas valide + less_than: doit être inférieur à %{count} + less_than_or_equal_to: doit être inférieur ou égal à %{count} + not_a_number: n'est pas un nombre + not_an_integer: doit être un nombre entier + odd: doit être impair + record_invalid: 'La validation a échoué : %{errors}' + restrict_dependent_destroy: + one: 'Suppression impossible: un autre enregistrement est lié' + many: 'Suppression impossible: d''autres enregistrements sont liés' + taken: n'est pas disponible + too_long: + one: est trop long (pas plus d'un caractère) + other: est trop long (pas plus de %{count} caractères) + too_short: + one: est trop court (au moins un caractère) + other: est trop court (au moins %{count} caractères) + wrong_length: + one: ne fait pas la bonne longueur (doit comporter un seul caractère) + other: ne fait pas la bonne longueur (doit comporter %{count} caractères) + other_than: doit être différent de %{count} + wrong_content_type: "ce type de contenu n'est pas autorisé" + template: + body: 'Veuillez vérifier les champs suivants : ' + header: + one: 'Impossible d''enregistrer ce(tte) %{model} : 1 erreur' + other: 'Impossible d''enregistrer ce(tte) %{model} : %{count} erreurs' + helpers: + select: + prompt: Veuillez sélectionner + submit: + create: Créer un(e) %{model} + submit: Enregistrer ce(tte) %{model} + update: Modifier ce(tte) %{model} + number: + currency: + format: + delimiter: " " + format: "%n %u" + precision: 2 + separator: "," + significant: false + strip_insignificant_zeros: false + unit: "FCFA" + format: + delimiter: " " + precision: 3 + separator: "," + significant: false + strip_insignificant_zeros: false + human: + decimal_units: + format: "%n %u" + units: + billion: milliard + million: million + quadrillion: million de milliards + thousand: millier + trillion: billion + unit: '' + format: + delimiter: '' + precision: 2 + significant: true + strip_insignificant_zeros: true + storage_units: + format: "%n %u" + units: + byte: + one: octet + other: octets + gb: Go + kb: ko + mb: Mo + tb: To + percentage: + format: + delimiter: '' + format: "%n%" + precision: + format: + delimiter: '' + support: + array: + last_word_connector: " et " + two_words_connector: " et " + words_connector: ", " + time: + am: am + formats: + default: "%d %B %Y %Hh %Mmin %Ss" + long: "%A %d %B %Y %Hh%M" + short: "%d %b %Hh%M" + pm: pm diff --git a/config/locales/rails.pt-BR.yml b/config/locales/rails.pt-BR.yml old mode 100644 new mode 100755 index 0469dc1b9..edcef1b9a --- a/config/locales/rails.pt-BR.yml +++ b/config/locales/rails.pt-BR.yml @@ -9,7 +9,7 @@ pt-BR: - Sex - Sáb abbr_month_names: - - + - - Jan - Fev - Mar diff --git a/docker/README.md b/docker/README.md index 16ba5a62b..1e1a340fd 100644 --- a/docker/README.md +++ b/docker/README.md @@ -9,123 +9,162 @@ You will need to be root through the rest of the setup. ##### Table of contents 1. [Preliminary steps](#preliminary-steps)
-1.1. setup the server
-1.2. buy a domain name and link it with the droplet
-1.3. connect to the droplet via SSH
-1.4. prepare server
-1.5. setup folders and env file
-1.6. setup nginx file
-1.7. SSL certificate with LetsEncrypt
-1.8. requirements -2. [Install Fabmanager](#install-fabmanager)
+1.1. Setup the server
+1.2. Setup the domain name
+1.3. Connect through SSH
+1.4. Prepare the server
+1.5. Retrieve the initial configuration files
+1.6. Setup folders and env file
+1.7. Setup nginx configuration
+1.8. SSL certificate with LetsEncrypt
+1.9. Requirements +2. [Install Fab-manager](#install-fabmanager)
2.1. Add docker-compose.yml file
2.2. pull images
2.3. setup database
2.4. build assets
2.5. prepare Elasticsearch (search engine)
-2.6. start all services -3. [Generate SSL certificate by Letsencrypt](#generate-ssl-certificate-by-letsencrypt) +2.6. start all services
+2.7. Generate SSL certificate by Let's encrypt 4. [Docker utils](#docker-utils) -5. [Update Fabmanager](#update-fabmanager)
+5. [Update Fab-manager](#update-fabmanager)
5.1. Steps
5.2. Good to know + ## Preliminary steps -### setup the server + +### Setup the server -Go to [DigitalOcean](https://www.digitalocean.com/) and create a Droplet with One-click apps **"Docker on Ubuntu 16.04 LTS"** (Docker and Docker-compose are preinstalled). -You need at least 2GB of addressable memory (RAM + swap) to install and use FabManager. +There are many hosting providers on the internet, providing affordable virtual private serveurs (VPS). +Here's a non exhaustive list: +- [DigitalOcean](https://www.digitalocean.com/pricing/#droplet) +- [OVH](https://www.ovh.com/fr/vps/) +- [Amazon](https://aws.amazon.com/fr/ec2/) +- [Gandi](https://v4.gandi.net/hebergement/serveur/prix) +- [Ikoula](https://express.ikoula.com/fr/serveur-virtuel) +- [1&1](https://www.1and1.fr/serveurs-virtuels) +- [GoDaddy](https://fr.godaddy.com/hosting/vps-hosting) +- [and many others...](https://www.google.fr/search?q=vps+hosting) + +Choose one, depending on your budget, on the server's location, on the uptime guarantee, etc. + +You will need at least 2GB of addressable memory (RAM + swap) to install and use FabManager. We recommend 4 GB RAM for larger communities. -Choose a datacenter. Set the hostname as your domain name. -### buy a domain name and link it with the server +On DigitalOcean, create a Droplet with One-click apps **"Docker on Ubuntu 16.04 LTS"**. +This way, Docker and Docker-compose are preinstalled. +Choose a datacenter and set the hostname as your domain name. -1. Buy a domain name on [OVH](https://www.ovh.com/fr/) -2. Replace the IP address of the domain with the droplet's IP (you can enable the flexible ip and use it) +With other providers, choose a [supported operating system](https://github.com/LaCasemate/fab-manager/blob/master/README.md#software-stack) and install docker on it: +- [Debian](https://docs.docker.com/engine/installation/linux/docker-ce/debian/) +- [Ubuntu](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) + +Then install [Docker Compose](https://docs.docker.com/compose/install/) + +### Setup the domain name + +There are many domain name registrars on the internet, you may choose one that fit your needs. +You can find an exhaustive list [on the ICANN website](https://www.icann.org/registrar-reports/accredited-list.html) + +1. Once done, buy a domain name on it +2. Replace the IP address of the domain with the IP address of your VPS (This is a DNS record type A) 3. **Do not** try to access your domain name right away, DNS are not aware of the change yet so **WAIT** and be patient. -### connect to the server via SSH +### Connect through SSH You can already connect to the server with this command: `ssh root@server-ip`. When DNS propagation will be done, you will be able to connect to the server with `ssh root@your-domain-name`. -### prepare server +### Prepare the server -We recommend you to : -- ugprade your system -- add at least 2GB of swap -- verify that you are using a connection via an SSH key. If so, you can set the root passord (for the debug console) and disable password connection. -To do this, you can use the following script : +Before installing fab-manager, we recommend you to: +- Upgrade your system +- Setup the server timezone +- Add at least 2GB of swap memory +- Protect your SSH connection by forcing it through a RSA key + +You can run the following script as root to easily perform all these operations: ```bash -cd /root -git clone https://github.com/sleede/lazyscripts.git -cd lazyscripts/ -chmod a+x prepare-vps.sh -./prepare-vps +\curl -sSL prepare-vps.sleede.com | bash ``` + +### Retrieve the initial configuration files -### setup folders and env file +```bash +\curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/setup.sh | bash +``` -Create the config folder: +### Setup folders and env file + +Create the config folder, copy the environnement variables configuration file and edit it: ```bash mkdir -p /apps/fabmanager/config +cd /apps/famanager +cp example/env.exemple config/env +vi config/env +# or use your favorite text editor instead of vi (nano, ne...) ``` - -Make a copy of the **docker/env.example** file and use it as a starting point. -Set all the environment variables needed by your application. Please refer to the [FabManager README](https://github.com/LaCasemate/fab-manager/blob/master/README.md#environment-configuration) for explanations about those variables. +You need to carefully configure each variable before starting fab-manager. +Please refer to the [FabManager README](https://github.com/LaCasemate/fab-manager/blob/master/README.md#environment-configuration) for explanations about those variables. -Then, copy the previously customized `env.example` file as `/apps/fabmanager/config/env` +### Setup nginx configuration -### setup nginx file - -Create the nginx folder: +Create the nginx folder, copy the example configuration file and edit it: ```bash mkdir -p /apps/fabmanager/config/nginx +# whether you want you fab-manager to use SSL encryption or not, you should copy one of the following file +### with SSL ### +cp example/nginx_with_ssl.conf.example config/nginx/fabmanager.conf +### OR without SSL ### +cp example/nginx.conf.example config/nginx/fabmanager.conf + +vi config/nginx/fabmanager.conf +# or use your favorite text editor instead of vi (nano, ne...) ``` -Customize the docker/nginx_with_ssl.conf.example file +Customize the following values: * Replace **MAIN_DOMAIN** (example: fab-manager.com). * Replace **URL_WITH_PROTOCOL_HTTPS** (example: https://www.fab-manager.com). * Replace **ANOTHER_URL_1**, **ANOTHER_URL_2** (example: .fab-manager.fr) -**Use nginx.conf.example if you don't want SSL for your app.** - -Then, -Copy the previously customized `nginx_with_ssl.conf.example` as `/apps/fabmanager/config/nginx/fabmanager.conf` - -**OR** - -Copy the previously customized `nginx.conf.example` as `/apps/fabmanager/config/nginx/fabmanager.conf` if you do not want to use ssl (not recommended !). - ### SSL certificate with LetsEncrypt **FOLLOW THOSE INSTRUCTIONS ONLY IF YOU WANT TO USE SSL**. +If you have chosen the SSL configuration at the previous point, you must follow these instructions to make it work. + Let's Encrypt is a new Certificate Authority that is free, automated, and open. Let’s Encrypt certificates expire after 90 days, so automation of renewing your certificates is important. Here is the setup for a systemd timer and service to renew the certificates and reboot the app Docker container: +Generate the dhparam.pem file ```bash mkdir -p /apps/fabmanager/config/nginx/ssl +cd /apps/fabmanager/config/nginx/ssl +openssl dhparam -out dhparam.pem 4096 ``` -Run `openssl dhparam -out dhparam.pem 4096` in the folder /apps/fabmanager/config/nginx/ssl (generate dhparam.pem file) + +Copy the initial configuration file and customize it ```bash -mkdir -p /apps/fabmanager/letsencrypt/config/ -``` -Copy the previously customized `webroot.ini.example` as `/appsfabmanager/letsencrypt/config/webroot.ini` -```bash -mkdir -p /apps/fabmanager/letsencrypt/etc/webrootauth +cd /apps/fabmanager/ +mkdir -p letsencrypt/config/ +mkdir -p letsencrypt/etc/webrootauth + +cp example/webroot.ini.example /apps/fabmanager/letsencrypt/config/webroot.ini +vi letsencrypt/config/webroot.ini +# or use your favorite text editor instead of vi (nano, ne...) ``` Run `docker pull quay.io/letsencrypt/letsencrypt:latest` Create file (with sudo) /etc/systemd/system/letsencrypt.service and paste the following configuration into it: -```bash +```systemd [Unit] Description=letsencrypt cert update oneshot Requires=docker.service @@ -137,7 +176,7 @@ ExecStartPost=-/usr/bin/docker restart fabmanager_nginx_1 ``` Create file (with sudo) /etc/systemd/system/letsencrypt.timer and paste the following configuration into it: -```bash +```systemd [Unit] Description=letsencrypt oneshot timer Requires=docker.service @@ -151,7 +190,7 @@ Unit=letsencrypt.service WantedBy=timers.target ``` -That's all for the moment. Keep on with the installation, we'll complete that part after deployment in the [Generate SSL certificate by Letsencrypt](#generate-ssl-cert-letsencrypt). +That's all for the moment. Keep on with the installation, we'll complete that part after deployment in the [Generate SSL certificate by Let's encrypt](#generate-ssl-cert-letsencrypt). ### Requirements @@ -164,25 +203,16 @@ docker info docker-compose -v ``` -Otherwise, you can install docker to ubuntu with the following instructions : -https://docs.docker.com/engine/installation/linux/ubuntu/#install-using-the-repository - -To install docker-compose : - -```bash -curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > ./docker-compose -sudo mkdir -p /opt/bin -sudo mv docker-compose /opt/bin/ -sudo chmod +x /opt/bin/docker-compose -``` - - +Otherwise, follow the instructions provided in the section [Setup the server](#setup-the-server) to install. + ## Install Fabmanager ### Add docker-compose.yml file -Copy docker-compose.yml to your app folder `/apps/fabmanager`. +You should already have a `docker-compose.yml` file in your app folder `/apps/fabmanager`. +Otherwise, see the section [Retrieve the initial configuration files](#retrieve-config-files) to get it. + The docker-compose commands must be launched from the folder `/apps/fabmanager`. ### pull images @@ -196,7 +226,8 @@ docker-compose pull ```bash docker-compose run --rm fabmanager bundle exec rake db:create # create the database docker-compose run --rm fabmanager bundle exec rake db:migrate # run all the migrations -docker-compose run --rm -e ADMIN_EMAIL=xxx ADMIN_PASSWORD=xxx fabmanager bundle exec rake db:seed # seed the database +# replace xxx with your default admin email/password +docker-compose run --rm -e ADMIN_EMAIL=xxx -e ADMIN_PASSWORD=xxx fabmanager bundle exec rake db:seed # seed the database ``` ### build assets @@ -207,11 +238,12 @@ docker-compose run --rm -e ADMIN_EMAIL=xxx ADMIN_PASSWORD=xxx fabmanager bundle `docker-compose run --rm fabmanager bundle exec rake fablab:es_build_stats` -#### start all services +### start all services `docker-compose up -d` -### Generate SSL certificate by Letsencrypt + +### Generate SSL certificate by Let's encrypt **Important: app must be run on http before starting letsencrypt** @@ -234,9 +266,11 @@ Finally, if everything is ok, start letsencrypt timer to update the certificate ```bash sudo systemctl enable letsencrypt.timer sudo systemctl start letsencrypt.timer -(check) sudo systemctl list-timers +# check status with +sudo systemctl list-timers ``` + ## Docker utils with docker-compose ### Restart app @@ -275,7 +309,8 @@ sudo systemctl start letsencrypt.timer docker-compose run --rm -e ADMIN_EMAIL=xxx ADMIN_PASSWORD=xxx fabmanager bundle exec rake db:seed -## update Fabmanager + +## Update Fab-manager *This procedure updates fabmanager to the most recent version by default.* @@ -326,4 +361,4 @@ You can check that all containers are running with `docker ps`. Yes, indeed. It's the default behaviour as `docker-compose pull` command will fetch the latest versions of the docker images. Be sure to run all the specific commands listed in the [CHANGELOG](https://github.com/LaCasemate/fab-manager/blob/master/CHANGELOG.md) between your actual -and the new version in sequential order. (Example: to update from 2.4.0 to 2.4.3, you will run the specific commands for the 2.4.1, then for the 2.4.2 and then for the 2.4.3). \ No newline at end of file +and the new version in sequential order. (Example: to update from 2.4.0 to 2.4.3, you will run the specific commands for the 2.4.1, then for the 2.4.2 and then for the 2.4.3). diff --git a/docker/nginx.conf.example b/docker/nginx.conf.example index 6cffc1e7b..d3c7e9dbd 100644 --- a/docker/nginx.conf.example +++ b/docker/nginx.conf.example @@ -42,6 +42,11 @@ server { root /usr/src/app/public/; rewrite ^(.*)$ /maintenance.html break; } + + location /.well-known/acme-challenge { + root /etc/letsencrypt/webrootauth; + default_type "text/plain"; + } # no spam bot if ($http_referer ~* (guardlink.org|free-share-buttons|social-buttons|buy-cheap-online.info|social-buttons.com|free-share-buttons.com|darodar.com|blackhatworth.com|hulfingtonpost.com|priceg.com|semalt.com|imaspammer.com|iedit.ilovevitaly.com|7makemoneyonline.com|iedit.ilovevitaly.com|7makemoneyonline.com|gamersyde.com|iloveitaly.com|econom.co|semalt.com|forum.topic44637676.darodar.com|darodar.com|iskalko.ru|ilovevitaly.ru|ilovevitaly.com|ilovevitaly.co|o-o-8-o-o.ru|o-o-6-o-o.ru|buttons-for-website.com|semalt.semalt.com|cenoval.ru|priceg.com|darodar.com|cenokos.ru|seoexperimenty.ru|gobongo.info|vodkoved.ru|adcash.com|websocial.me|cityadspix.com|luxup.ru|ykecwqlixx.ru|superiends.org|slftsdybbg.ru|edakgfvwql.ru|socialseet.ru|screentoolkit.com|econom.co|semalt.com|savetubevideo.com|shopping.ilovevitaly.com|iedit.ilovevitaly.com|forum.topic52548358.darodar.com|forum.topic53813291.darodar.com|share-buttons.com|event-tracking.com|success-seo.com|free-floating-buttons.com|get-free-social-traffic.com|chinese-amezon.com|get-free-traffic-now.com|free-social-buttons.com|videos-for-your-business.com)) { return 403; } diff --git a/docker/setup.sh b/docker/setup.sh new file mode 100644 index 000000000..707de1844 --- /dev/null +++ b/docker/setup.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +prepare_config() +{ + FABMANAGER_PATH=${1:-/apps/fabmanager} + + mkdir -p "$FABMANAGER_PATH/example" + + # fab-manager environment variables + \curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/env.example > "$FABMANAGER_PATH/example/env.example" + + # nginx configuration + \curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/nginx_with_ssl.conf.example > "$FABMANAGER_PATH/example/nginx_with_ssl.conf.example" + \curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/nginx.conf.example > "$FABMANAGER_PATH/example/nginx.conf.example" + + # let's encrypt configuration + \curl -sSL https://raw.githubusercontent.com/LaCasemate/fab-manager/master/docker/webroot.ini.example > "$FABMANAGER_PATH/example/webroot.ini.example" + + # docker-compose + \curl -sSL https://github.com/LaCasemate/fab-manager/blob/master/docker/docker-compose.yml > "$FABMANAGER_PATH/docker-compose.yml" +} + +prepare_config "$@" \ No newline at end of file diff --git a/test/fixtures/availabilities.yml b/test/fixtures/availabilities.yml index 3a2543181..5610aaaf8 100644 --- a/test/fixtures/availabilities.yml +++ b/test/fixtures/availabilities.yml @@ -1,8 +1,8 @@ availability_1: id: 1 - start_at: <%= DateTime.now.monday.utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= DateTime.now.monday.utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= DateTime.now.utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= DateTime.now.utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: training created_at: 2016-04-04 15:24:01.517486000 Z updated_at: 2016-04-04 15:24:01.517486000 Z @@ -11,8 +11,8 @@ availability_1: availability_2: id: 2 - start_at: <%= (DateTime.now.monday + 1.day).utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 1.day).utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 1.day).utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 1.day).utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: training created_at: 2016-04-04 15:24:09.169364000 Z updated_at: 2016-04-04 15:24:09.169364000 Z @@ -21,8 +21,8 @@ availability_2: availability_3: id: 3 - start_at: <%= DateTime.now.monday.utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= DateTime.now.monday.utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= DateTime.now.utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= DateTime.now.utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: machines created_at: 2016-04-04 15:24:27.587583000 Z updated_at: 2016-04-04 15:24:27.587583000 Z @@ -31,8 +31,8 @@ availability_3: availability_4: id: 4 - start_at: <%= (DateTime.now.monday + 1.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 1.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 1.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 1.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: machines created_at: 2016-04-04 15:24:44.044908000 Z updated_at: 2016-04-04 15:24:44.044908000 Z @@ -41,8 +41,8 @@ availability_4: availability_5: id: 5 - start_at: <%= (DateTime.now.monday + 2.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 2.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 2.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 2.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: machines created_at: 2016-04-04 15:25:48.584444000 Z updated_at: 2016-04-04 15:25:48.584444000 Z @@ -51,8 +51,8 @@ availability_5: availability_6: id: 6 - start_at: <%= (DateTime.now.monday + 3.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 3.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 3.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 3.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: machines created_at: 2016-04-04 15:26:17.953216000 Z updated_at: 2016-04-04 15:26:17.953216000 Z @@ -61,8 +61,8 @@ availability_6: availability_7: id: 7 - start_at: <%= (DateTime.now.monday + 3.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 3.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 3.day).utc.change({hour: 12}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 3.day).utc.change({hour: 18}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: machines created_at: 2016-04-04 15:26:39.278627000 Z updated_at: 2016-04-04 15:26:39.278627000 Z @@ -71,8 +71,8 @@ availability_7: availability_8: id: 8 - start_at: <%= (DateTime.now.monday + 2.day).utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> - end_at: <%= (DateTime.now.monday + 2.day).utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + start_at: <%= (DateTime.now + 2.day).utc.change({hour: 6}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> + end_at: <%= (DateTime.now + 2.day).utc.change({hour: 10}).strftime('%Y-%m-%d %H:%M:%S.%9N Z') %> available_type: training created_at: 2016-04-04 15:26:49.572724000 Z updated_at: 2016-04-04 15:26:49.572724000 Z diff --git a/test/test_helper.rb b/test/test_helper.rb index 4b7c20e5e..f1dc3a4aa 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -67,7 +67,7 @@ class ActiveSupport::TestCase assert_not_nil invoice, 'Invoice was not created' invoice_worker = InvoiceWorker.new - invoice_worker.perform(invoice.id) + invoice_worker.perform(invoice.id, invoice&.user&.subscription&.expired_at) assert File.exist?(invoice.file), 'Invoice PDF was not generated' diff --git a/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml b/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml index d58a1c57a..6d5ba4c1e 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_and_pay_wallet_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:04 GMT + - Thu, 14 Dec 2017 15:17:28 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_UlHcT5pRxquOpo + - req_6MWkXZDG08DXCd Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0y2sOmf47Nz9WFqPXvM7", + "id": "tok_1BYySi2sOmf47Nz9XUel2JWf", "object": "token", "card": { - "id": "card_1B3L0y2sOmf47Nz9AZVEmtnY", + "id": "card_1BYySi2sOmf47Nz92Aixh6ds", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724844, + "created": 1513264648, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:05 GMT + recorded_at: Thu, 14 Dec 2017 15:17:28 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:05 GMT + - Thu, 14 Dec 2017 15:17:29 GMT Content-Type: - application/json Content-Length: - - '10932' + - '14888' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,265 +145,353 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CSg72e4uSh053r + - req_W2fc9k4ZwtSJuZ Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3Tno5RUJWU3pZMzYiLAogICAgICAi + ICJpZCI6ICJpaV8xQll5UzEyc09tZjQ3Tno5YktVSmhyQXMiLAogICAgICAi b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgz - NCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUxMzI2NDYw + NSwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f - MUIzTDByMnNPbWY0N056OTRaTXlLVXAxIiwKICAgICAgImxpdmVtb2RlIjog + MUJZeVM4MnNPbWY0N056OTRCaDlzUnVyIiwKICAgICAgImxpdmVtb2RlIjog ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog - ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzQsCiAgICAgICAgImVuZCI6 - IDE1MDU3MjQ4MzQKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ewogICAgICAgICJzdGFydCI6IDE1MTMyNjQ2MDUsCiAgICAgICAgImVuZCI6 + IDE1MTMyNjQ2MDUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg - ICAiaWQiOiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAgICAg - Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAog - ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgzMywK - ICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNE - IFNlcHRlbWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAg - ImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFC - M0wwcjJzT21mNDdOejk0Wk15S1VwMSIsCiAgICAgICJsaXZlbW9kZSI6IGZh - bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODMzLAogICAgICAgICJlbmQiOiAx - NTA1NzI0ODMzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg - InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog - ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg - ImlkIjogImlpXzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICJv - YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs - CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Nzcw - LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg - ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x - QjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBm - YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 - CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDc3MCwKICAgICAgICAiZW5kIjog - MTUwNTcyNDc3MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg - ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK - ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNLemwyc09tZjQ3Tno5bzF1blptc3YiLAogICAgICAi - b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUw - LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc2 - OSwKICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIs - CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui - OiAiaW5fMUIzS3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVt - b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy - aW9kIjogewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjksCiAgICAgICAg - ImVuZCI6IDE1MDU3MjQ3NjkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs - LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6 - IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg - ewogICAgICAiaWQiOiAiaWlfMUIzS3prMnNPbWY0N056OU8zM29BRVM5IiwK - ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi - OiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0 - b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1 - MDU3MjQ3NjgsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJp - cXVlIFxuU2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1c - blNlcHRlbWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0 - ZW1iZXIgMzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJk - aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL - enEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg - ICAgICAgInN0YXJ0IjogMTUwNTcyNDc2OCwKICAgICAgICAiZW5kIjogMTUw - NTcyNDc2OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw - cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg - ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xQjNLdlMyc09tZjQ3Tno5ZFJlUGxEN3YiLAogICAgICAib2Jq - ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog - ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDUwMiwK - ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk - aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz - S3ZUMnNPbWY0N056OURWdjVyT0xRIiwKICAgICAgImxpdmVtb2RlIjogZmFs - c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDIsCiAgICAgICAgImVuZCI6IDE1 - MDU3MjQ1MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi - cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMUIzS3Y1MnNPbWY0N056OXpNZ21KQmpuIiwKICAgICAgIm9i - amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK - ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0Nzks - CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi - ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC - M0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZh - bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc5LAogICAgICAgICJlbmQiOiAx - NTA1NzI0NDc5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg - InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog - ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg - ImlkIjogImlpXzFCM0t2NDJzT21mNDdOejk3b1NLYnhhSSIsCiAgICAgICJv - YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAs - CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc4 - LAogICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIiwK - ICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6 - ICJpbl8xQjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1v - ZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJp - b2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OCwKICAgICAgICAi - ZW5kIjogMTUwNTcyNDQ3OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGws - CiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5Ijog - bnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7 - CiAgICAgICJpZCI6ICJpaV8xQjNLdjMyc09tZjQ3Tno5blUzc0JtaU4iLAog - ICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6 - IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3Rv - bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUw - NTcyNDQ3NywKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlx - dWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxu - U2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRl - bWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgImRp - c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t2 - OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl - LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0NDc3LAogICAgICAgICJlbmQiOiAxNTA1 - NzI0NDc3CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy - b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg - ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk - IjogImlpXzFCM0t1YzJzT21mNDdOejk2ajBlMzlZbiIsCiAgICAgICJvYmpl - Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg - ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz - XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDUwLAog - ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp - c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL - dWUyc09tZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg - ICAgICAgInN0YXJ0IjogMTUwNTcyNDQ1MCwKICAgICAgICAiZW5kIjogMTUw - NTcyNDQ1MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw - cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg - ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xQjNLdWIyc09tZjQ3Tno5aGtpMDJ6UlciLAogICAgICAib2Jq - ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAgICAg - ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD - ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDQ5LAogICAg - ICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0QgU2Vw - dGVtYmVyIDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAiZGlz - Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Vl - MnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + ICAiaWQiOiAiaWlfMUJZeVMwMnNPbWY0N056OUtycDFuNW5vIiwKICAgICAg + Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1 + MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MTMyNjQ2 + MDQsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIi + LAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNl + IjogImluXzFCWXlTODJzT21mNDdOejk0Qmg5c1J1ciIsCiAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBl + cmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNTEzMjY0NjA0LAogICAgICAg + ICJlbmQiOiAxNTEzMjY0NjA0CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVs + bCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHki + OiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAg + IHsKICAgICAgImlkIjogImlpXzFCWXlSeTJzT21mNDdOejlBbGRNeVN1cSIs + CiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50 + IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz + dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx + NTEzMjY0NjAyLAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFkaW8gbnVtw6ly + aXF1ZSBcbkRlY2VtYmVyIDI0LCAyMDE3IDExOjAwIEFNIC0gMDc6MDAgUE1c + bkRlY2VtYmVyIDI1LCAyMDE3IDExOjAwIEFNIC0gMDc6MDAgUE1cbkRlY2Vt + YmVyIDI2LCAyMDE3IDExOjAwIEFNIC0gMDc6MDAgUE0iLAogICAgICAiZGlz + Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUJZeVM4 + MnNPbWY0N056OTRCaDlzUnVyIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg - ICAgICJzdGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1MDU3 - MjQ0NDkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + ICAgICJzdGFydCI6IDE1MTMyNjQ2MDIsCiAgICAgICAgImVuZCI6IDE1MTMy + NjQ2MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi - OiAiaWlfMUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9iamVj + OiAiaWlfMUJZeVJYMnNPbWY0N056OUthc3dmMjhmIiwKICAgICAgIm9iamVj dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf - OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAg + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MTMyNjQ1NzUsCiAg ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz - Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t0 - cjJzT21mNDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCWXlS + WTJzT21mNDdOejlvNHo0cVBsZCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAxNTA1 - NzI0Mzk5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + ICAgICAic3RhcnQiOiAxNTEzMjY0NTc1LAogICAgICAgICJlbmQiOiAxNTEz + MjY0NTc1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk - IjogImlpXzFCM0t0bjJzT21mNDdOejlMWVV3NzNzQiIsCiAgICAgICJvYmpl - Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwKICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf - OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAg - ICAgICJkZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBTZXB0 - ZW1iZXIgMTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJkaXNj - b3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdHIy - c09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg - ICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUwNTcy - NDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y - YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg - InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6 - ICJpaV8xOUttT3gyc09tZjQ3Tno5WEl6dlRqTEMiLAogICAgICAib2JqZWN0 - IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 - Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMywKICAg - ICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNj - b3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTlLbVAx - MnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us - CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg - ICAgICJzdGFydCI6IDE0ODAzMjkwMjMsCiAgICAgICAgImVuZCI6IDE0ODAz - MjkwMjMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv - cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg - ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi - OiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgIm9iamVj - dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwKICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf - OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAg - ICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSByZXNl - cnZhdGlvbiIsCiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAg - Imludm9pY2UiOiAiaW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAg - ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAicGVyaW9kIjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIs - CiAgICAgICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBs - YW4iOiBudWxsLAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJx - dWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAg - ICB9LAogICAgewogICAgICAiaWQiOiAiaWlfMTlLbU93MnNPbWY0N056OWYw - UGJLYkhxIiwKICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAg - ICJhbW91bnQiOiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg - ICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAi - ZGF0ZSI6IDE0ODAzMjkwMjIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRp - byBudW3DqXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAgQU0gLSAw - NzowMCBQTVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQ - TVxuRGVjZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTSIsCiAg - ICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJp - bl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1vZGUi - OiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2Qi - OiB7CiAgICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAiZW5k - IjogMTQ4MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAg - ICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVs - bCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAg - ICAgICJpZCI6ICJpaV8xOFpoVWgyc09tZjQ3Tno5MDJ5a0d5YkIiLAogICAg - ICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0x - MDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVy - IjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEw - ODc0MywKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAg - ICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAi - aW5fMThaaFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVtb2Rl - IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9k - IjogewogICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDMsCiAgICAgICAgImVu - ZCI6IDE0NjkxMDg3NDMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAog - ICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51 - bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewog - ICAgICAiaWQiOiAiaWlfMThaaFVnMnNPbWY0N056OXZTc2w1Sjl6IiwKICAg - ICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAw - LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEwODc0 - MiwKICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRl - IDNEIEp1bHkgMTgsIDIwMTYgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAgICJk - aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOFpo - VWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz + IjogImlpXzFCM0wxczJzT21mNDdOejlaRHA0UEM1aiIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0OTAwLAog + ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp + c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNM + MXQyc09tZjQ3Tno5N3N6ZnlaQVEiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg - ICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjogMTQ2 - OTEwODc0MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw + ICAgICAgInN0YXJ0IjogMTUwNTcyNDkwMCwKICAgICAgICAiZW5kIjogMTUw + NTcyNDkwMAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAib2Jq + ZCI6ICJpaV8xQjNMMTEyc09tZjQ3Tno5SGhkUmg2N1YiLAogICAgICAib2Jq ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1NSwK + c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDg0NywK ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk - aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMThX - NEdPMnNPbWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjogZmFs + aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz + TDE1MnNPbWY0N056OXozMVVtV1M3IiwKICAgICAgImxpdmVtb2RlIjogZmFs c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6IDE0 - NjgyNDI5NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + ICAgICAgICJzdGFydCI6IDE1MDU3MjQ4NDcsCiAgICAgICAgImVuZCI6IDE1 + MDU3MjQ4NDcKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFzX21v - cmUiOiBmYWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K + ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi + aWQiOiAiaWlfMUIzTDEwMnNPbWY0N056OWJjWGs5STk1IiwKICAgICAgIm9i + amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAzNDAwLAog + ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 + c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDg0NiwK + ICAgICAgImRlc2NyaXB0aW9uIjogIkZPUk0xKyBpbXByaW1hbnRlIDNEIFNl + cHRlbWJlciAxNywgMjAxNyAxNDowMCAtIDAzOjAwIFBNIiwKICAgICAgImRp + c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0wx + NTJzT21mNDdOejl6MzFVbVdTNyIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg + ICAgICAic3RhcnQiOiAxNTA1NzI0ODQ2LAogICAgICAgICJlbmQiOiAxNTA1 + NzI0ODQ2CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk + IjogImlpXzFCM0wwbzJzT21mNDdOejlFQlZTelkzNiIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0ODM0LAog + ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp + c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNM + MHIyc09tZjQ3Tno5NFpNeUtVcDEiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz + ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg + ICAgICAgInN0YXJ0IjogMTUwNTcyNDgzNCwKICAgICAgICAiZW5kIjogMTUw + NTcyNDgzNAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw + cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg + ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp + ZCI6ICJpaV8xQjNMMG4yc09tZjQ3Tno5QXV6cWxYa1QiLAogICAgICAib2Jq + ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0ODMzLAogICAg + ICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0QgU2Vw + dGVtYmVyIDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAiZGlz + Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzTDBy + MnNPbWY0N056OTRaTXlLVXAxIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg + ICAgICJzdGFydCI6IDE1MDU3MjQ4MzMsCiAgICAgICAgImVuZCI6IDE1MDU3 + MjQ4MzMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi + OiAiaWlfMUIzS3ptMnNPbWY0N056OXUyd1dBaGtiIiwKICAgICAgIm9iamVj + dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ3NzAsCiAg + ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz + Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t6 + cTJzT21mNDdOejlJWDdybEhTdSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg + ICAgICAic3RhcnQiOiAxNTA1NzI0NzcwLAogICAgICAgICJlbmQiOiAxNTA1 + NzI0NzcwCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk + IjogImlpXzFCM0t6bDJzT21mNDdOejlvMXVuWm1zdiIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NzY5LAog + ICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIiwKICAg + ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJp + bl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUi + OiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2Qi + OiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDc2OSwKICAgICAgICAiZW5k + IjogMTUwNTcyNDc2OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAg + ICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVs + bCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAg + ICAgICJpZCI6ICJpaV8xQjNLemsyc09tZjQ3Tno5TzMzb0FFUzkiLAogICAg + ICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDUx + MDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVy + IjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcy + NDc2OCwKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUg + XG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2Vw + dGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRlbWJl + ciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t6cTJz + T21mNDdOejlJWDdybEhTdSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNTA1NzI0NzY4LAogICAgICAgICJlbmQiOiAxNTA1NzI0 + NzY4CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzFCM0t2UzJzT21mNDdOejlkUmVQbEQ3diIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NTAyLAogICAg + ICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdlQy + c09tZjQ3Tno5RFZ2NXJPTFEiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg + ICAgInN0YXJ0IjogMTUwNTcyNDUwMiwKICAgICAgICAiZW5kIjogMTUwNTcy + NDUwMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg + InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6 + ICJpaV8xQjNLdjUyc09tZjQ3Tno5ek1nbUpCam4iLAogICAgICAib2JqZWN0 + IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ3OSwKICAg + ICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNj + b3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Y5 + MnNPbWY0N056OWtyQW9uaDVZIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg + ICAgICJzdGFydCI6IDE1MDU3MjQ0NzksCiAgICAgICAgImVuZCI6IDE1MDU3 + MjQ0NzkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi + OiAiaWlfMUIzS3Y0MnNPbWY0N056OTdvU0tieGFJIiwKICAgICAgIm9iamVj + dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwKICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0NzgsCiAg + ICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIiLAogICAg + ICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImlu + XzFCM0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6 + IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6 + IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc4LAogICAgICAgICJlbmQi + OiAxNTA1NzI0NDc4CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAg + ICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxs + LAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAg + ICAgImlkIjogImlpXzFCM0t2MzJzT21mNDdOejluVTNzQm1pTiIsCiAgICAg + ICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogNTEw + MDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIi + OiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0 + NDc3LAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFkaW8gbnVtw6lyaXF1ZSBc + blNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0 + ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2VwdGVtYmVy + IDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE0iLAogICAgICAiZGlzY291 + bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Y5MnNP + bWY0N056OWtyQW9uaDVZIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg + ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAg + ICJzdGFydCI6IDE1MDU3MjQ0NzcsCiAgICAgICAgImVuZCI6IDE1MDU3MjQ0 + NzcKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0 + aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJz + dWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQiOiAi + aWlfMUIzS3VjMnNPbWY0N056OTZqMGUzOVluIiwKICAgICAgIm9iamVjdCI6 + ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg + ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6 + TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0NTAsCiAgICAg + ICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlzY291 + bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t1ZTJz + T21mNDdOejlUVmszSzFNWSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNTA1NzI0NDUwLAogICAgICAgICJlbmQiOiAxNTA1NzI0 + NDUwCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzFCM0t1YjJzT21mNDdOejloa2kwMnpSVyIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMCwKICAgICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRN + MDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0NDksCiAgICAgICJk + ZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50ZSAzRCBTZXB0ZW1i + ZXIgMTgsIDIwMTcgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdWUyc09t + ZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAg + InN0YXJ0IjogMTUwNTcyNDQ0OSwKICAgICAgICAiZW5kIjogMTUwNTcyNDQ0 + OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1 + YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJp + aV8xQjNLdG4yc09tZjQ3Tno5R3g5b2VLd3YiLAogICAgICAib2JqZWN0Ijog + Imludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDM5OSwKICAgICAg + ImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3RyMnNP + bWY0N056OXN1VTBqT0M4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg + ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAg + ICJzdGFydCI6IDE1MDU3MjQzOTksCiAgICAgICAgImVuZCI6IDE1MDU3MjQz + OTkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0 + aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJz + dWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQiOiAi + aWlfMUIzS3RuMnNPbWY0N056OUxZVXc3M3NCIiwKICAgICAgIm9iamVjdCI6 + ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAzNDAwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDM5OSwKICAgICAg + ImRlc2NyaXB0aW9uIjogIkZPUk0xKyBpbXByaW1hbnRlIDNEIFNlcHRlbWJl + ciAxNywgMjAxNyAxNDowMCAtIDAzOjAwIFBNIiwKICAgICAgImRpc2NvdW50 + YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t0cjJzT21m + NDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg + ICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAgICAi + c3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAxNTA1NzI0Mzk5 + CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3JhdGlv + biI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vi + c2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjogImlp + XzE5S21PeDJzT21mNDdOejlYSXp2VGpMQyIsCiAgICAgICJvYmplY3QiOiAi + aW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAgICJj + dXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50 + TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDgwMzI5MDIzLAogICAgICAi + ZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2NvdW50 + YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOUttUDEyc09t + ZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAg + InN0YXJ0IjogMTQ4MDMyOTAyMywKICAgICAgICAiZW5kIjogMTQ4MDMyOTAy + MwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1 + YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJp + aV8xOUttT3cyc09tZjQ3Tno5Zk1nakhJaGciLAogICAgICAib2JqZWN0Ijog + Imludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMiwKICAgICAg + ImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiAtIHJlc2VydmF0 + aW9uIiwKICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52 + b2ljZSI6ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAi + bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICJwZXJpb2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAg + ICAgICAiZW5kIjogMTQ4MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6 + IG51bGwsCiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50 + aXR5IjogbnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0s + CiAgICB7CiAgICAgICJpZCI6ICJpaV8xOUttT3cyc09tZjQ3Tno5ZjBQYkti + SHEiLAogICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFt + b3VudCI6IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAg + ImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRl + IjogMTQ4MDMyOTAyMiwKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51 + bcOpcmlxdWUgXG5EZWNlbWJlciAwOCwgMjAxNiAxMTowMCBBTSAtIDA3OjAw + IFBNXG5EZWNlbWJlciAwOSwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNXG5E + ZWNlbWJlciAxMCwgMjAxNiAxMTowMCBBTSAtIDA3OjAwIFBNIiwKICAgICAg + ImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzE5 + S21QMTJzT21mNDdOejlSbDZhS1dGOCIsCiAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK + ICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIyLAogICAgICAgICJlbmQiOiAx + NDgwMzI5MDIyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg + InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog + ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg + ImlkIjogImlpXzE4WmhVaDJzT21mNDdOejkwMnlrR3liQiIsCiAgICAgICJv + YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs + CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi + Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDY5MTA4NzQz + LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg + ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x + OFpoVWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 + CiAgICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MywKICAgICAgICAiZW5kIjog + MTQ2OTEwODc0MwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg + ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK + ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg + ICJpZCI6ICJpaV8xOFpoVWcyc09tZjQ3Tno5dlNzbDVKOXoiLAogICAgICAi + b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDY5MTA4NzQyLAog + ICAgICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0Qg + SnVseSAxOCwgMjAxNiAwODowMCAtIDEyOjAwIFBNIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzE4WmhVajJz + T21mNDdOejlyOExLSUJOSyIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNDY5MTA4NzQyLAogICAgICAgICJlbmQiOiAxNDY5MTA4 + NzQyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzE4VzRHTjJzT21mNDdOejlLMWRUZlR5QSIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDY4MjQyOTU1LAogICAg + ICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOFc0R08y + c09tZjQ3Tno5b291RFEzaGUiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg + ICAgInN0YXJ0IjogMTQ2ODI0Mjk1NSwKICAgICAgICAiZW5kIjogMTQ2ODI0 + Mjk1NQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg + InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0KICBdLAogICJoYXNfbW9yZSI6 + IGZhbHNlLAogICJ1cmwiOiAiL3YxL2ludm9pY2VpdGVtcyIKfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:54:05 GMT + recorded_at: Thu, 14 Dec 2017 15:17:29 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzNtM08NVlSGN&amount=3400¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM + string: customer=cus_8CzNtM08NVlSGN&amount=3400¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+13%3A00+-+02%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -415,10 +505,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '129' + - '128' response: status: code: 200 @@ -427,11 +518,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:06 GMT + - Thu, 14 Dec 2017 15:17:30 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -447,29 +538,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_sWYQa245x6J8qZ + - req_oaWpI1HdDk1MwU Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L102sOmf47Nz9bcXk9I95", + "id": "ii_1BYySk2sOmf47Nz9XgDdy31A", "object": "invoiceitem", "amount": 3400, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724846, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264650, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724846, - "end": 1505724846 + "start": 1513264650, + "end": 1513264650 }, "plan": null, "proration": false, @@ -477,7 +568,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:06 GMT + recorded_at: Thu, 14 Dec 2017 15:17:30 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -497,8 +588,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: @@ -509,7 +601,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:07 GMT + - Thu, 14 Dec 2017 15:17:31 GMT Content-Type: - application/json Content-Length: @@ -529,29 +621,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_dDXoARWpOFwudA + - req_DZvjRl7uNvBcPM Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L112sOmf47Nz9HhdRh67V", + "id": "ii_1BYySl2sOmf47Nz9eO6VUS6v", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724847, + "date": 1513264651, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724847, - "end": 1505724847 + "start": 1513264651, + "end": 1513264651 }, "plan": null, "proration": false, @@ -559,7 +651,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:07 GMT + recorded_at: Thu, 14 Dec 2017 15:17:31 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -579,8 +671,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -589,11 +682,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:08 GMT + - Thu, 14 Dec 2017 15:17:32 GMT Content-Type: - application/json Content-Length: - - '8094' + - '3666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -609,25 +702,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_kcnUGOiWRKdP18 + - req_LNSKTj2JOegvcW Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5UlYyc09tZjQ3Tno5TVNEMmRXYkQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056 - OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJWMnNPbWY0N056 + OU1TRDJkV2JEIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -646,165 +739,67 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl - cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3 - MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICAgICAgICJj - dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv - dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg - ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg - ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp - ZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg - ICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAgICAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi - OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg - ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j - b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 - LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p - IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5 - cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu - dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg - ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog - MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z - dWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3IxIgogICAgICAgIH0sCiAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl - bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs - CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu - dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg - ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh - dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp - ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl - bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k - X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx - LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgInN0YXR1 - cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg - ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0 - IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C - UUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws - CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog - ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg - ImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6 - IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1 - MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw - NTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs - U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl - ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i - amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg - ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1 - M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAz - LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg - ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx - NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg - ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm - IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 - LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s - CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg - ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg - ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv - c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVX - YnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy - NDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh - eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK - ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK - ICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u - X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFy - Z2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf - ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4 - LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3Vy - cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVu - dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21l - ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6 - IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl - bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg - ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi - c2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi - Y3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs - YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg - ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu - YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk - ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v - bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 - IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu - dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki - OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz - X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg - ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny - aXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg - LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl - dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl - c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz - IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAi - YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg - ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51 - bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAg - InRvdGFsX2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9j - dXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K + cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MTMy + NjQ1ODEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc2LAogICAgICAg + ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQyOTc2LAogICAgICAgICJj + dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgImN1 + c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRheXNf + dW50aWxfZHVlIjogbnVsbCwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAog + ICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewog + ICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjog + WwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpX0J3c0J4 + YmVoaHhIckNKIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw + dGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1 + NzcsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 + YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg + ICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAg + ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6 + IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNk + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAg + ICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAg + ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRh + dGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFy + aWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25h + bnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAg + ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAg + ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAg + fSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0K + ICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAg + ICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92 + MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9Cd3NCR25T + YnRNWVB3QSIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog + ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt + bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw + bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy + ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz + ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt + ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg + MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250 + aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog + ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s + CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTEz + MjY0NTc2LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi + dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs + LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwK + ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK + ICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04v + c3Vic2NyaXB0aW9ucyIKICB9Cn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:54:08 GMT + recorded_at: Thu, 14 Dec 2017 15:17:32 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources body: encoding: UTF-8 - string: card=tok_1B3L0y2sOmf47Nz9WFqPXvM7 + string: card=tok_1BYySi2sOmf47Nz9XUel2JWf headers: Accept: - "*/*; q=0.5, application/xml" @@ -818,8 +813,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -830,7 +826,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:09 GMT + - Thu, 14 Dec 2017 15:17:33 GMT Content-Type: - application/json Content-Length: @@ -850,16 +846,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_IXKMjO7F6pXcr0 + - req_1qHpdf2MAFHZbr Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "card_1B3L0y2sOmf47Nz9AZVEmtnY", + "id": "card_1BYySi2sOmf47Nz92Aixh6ds", "object": "card", "address_city": null, "address_country": null, @@ -884,13 +880,13 @@ http_interactions: "tokenization_method": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:09 GMT + recorded_at: Thu, 14 Dec 2017 15:17:33 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN body: encoding: UTF-8 - string: default_source=card_1B3L0y2sOmf47Nz9AZVEmtnY + string: default_source=card_1BYySi2sOmf47Nz92Aixh6ds headers: Accept: - "*/*; q=0.5, application/xml" @@ -904,8 +900,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '44' response: @@ -916,11 +913,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:10 GMT + - Thu, 14 Dec 2017 15:17:34 GMT Content-Type: - application/json Content-Length: - - '8822' + - '4394' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -936,25 +933,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_0J2EyTu1iiAIGn + - req_L0fC7WjieQ4qHR Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNMMHkyc09tZjQ3Tno5QVpWRW10blkiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5U2kyc09tZjQ3Tno5MkFpeGg2ZHMiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDB5MnNPbWY0N056 - OUFaVkVtdG5ZIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVNpMnNPbWY0N056 + OTJBaXhoNmRzIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -969,8 +966,8 @@ http_interactions: ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6 ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs - CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQjNMMGwy - c09tZjQ3Tno5M0o5ZHVBemQiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs + CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQll5UlYy + c09tZjQ3Tno5TVNEMmRXYkQiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs CiAgICAgICAgImFkZHJlc3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJl c3NfY291bnRyeSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBu dWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAg @@ -989,160 +986,61 @@ http_interactions: LAogICAgInRvdGFsX2NvdW50IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3Rv bWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc291cmNlcyIKICB9LAogICJzdWJz Y3JpcHRpb25zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRh - IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9CUUJObmtVbGNpaTNy - MSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg + IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9Cd3NCR25TYnRNWVB3 + QSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg ICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImJp bGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5j ZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0 - IjogMTUwNTcyNDg0MSwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4Mzcs - CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MDgzMTY4MzcsCiAg - ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUwNTcyNDgzNywKICAg + IjogMTUxMzI2NDU4MSwKICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1NzYs + CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MTU5NDI5NzYsCiAg + ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUxMzI2NDU3NiwKICAg ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg - ICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGws - CiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0 - IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAgICAg - ICAgICAgImlkIjogInNpXzFCM0wwcjJzT21mNDdOejlLS2RWMXpzSiIsCiAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAg - ICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM4LAogICAgICAgICAg - ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewog - ICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0 - dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAg - Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAog - ICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAg - ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6 - IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg - ICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD - qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg - ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50 - X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRyaWFsX3Bl - cmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAg - ICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAgICBdLAog - ICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxf - Y291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9u - X2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCTm5rVWxjaWkzcjEiCiAgICAg - ICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6 - ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 - MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg - ICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4 - MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg - ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu - dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg - ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0 - YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWln - bmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAg - InN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlh - bF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFu - dGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDgzNywKICAgICAg - ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50Ijog - bnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJp - YWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi - OiAic3ViX0JRQklJbXVVV2JyanpCIiwKICAgICAgICAib2JqZWN0IjogInN1 - YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50 - IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGlj - YWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwK - ICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NTA3LAogICAgICAgICJj - cmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rf - ZW5kIjogMTUwODMxNjUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0NTAzLAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6 - TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAg - ICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAg - ICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRhdGEiOiBbCiAg - ICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lfMUIzS3ZUMnNP - bWY0N056OXUzaU1hNVN6IiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1 - YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1 - MDU3MjQ1MDMsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg - ICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVu - c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy - NyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3Jl - YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3ki - OiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAi - bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1 - ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVu - c2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAg - ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg - ICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAg - ICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAg - ICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxz - ZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJs - IjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9C - UUJJSW11VVdicmp6QiIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6 - IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFu - IjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0 - dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVj - dCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAg - ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5 - IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg - ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9k - ZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBu - dWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAg - ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQi - OiAxNTA1NzI0NTAzLAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAg - ICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQi - OiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwK - ICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSEhQQmpPNTczSlciLAog - ICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBw - bGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5n - IjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0 - X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1 - MDU3MjQ0NTgsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUyLAogICAg - ICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NDUyLAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgICAgICAg - ImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRp - c2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAg - ICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAg - ICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAg - ICJpZCI6ICJzaV8xQjNLdWUyc09tZjQ3Tno5MlBDdkRVWksiLAogICAgICAg - ICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAg - ICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MywKICAgICAgICAgICAgICAi - bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAg - ICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50 - LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmpl - Y3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK - ICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAg - ICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAg - ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh - bF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAg - ICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRp - YW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1w - bG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNj - cmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2Rf - ZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJx - dWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAg - ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50 - IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVt - cz9zdWJzY3JpcHRpb249c3ViX0JRQkhIUEJqTzU3M0pXIgogICAgICAgIH0s - CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVu - c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy - NyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFt - b3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgs - CiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRl - cnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAx - LAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYg - csOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQs - IGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0 - ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVy - aW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHki - OiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NTIsCiAgICAgICAgInN0 - YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGws - CiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0 - YXJ0IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFs - c2UsCiAgICAidG90YWxfY291bnQiOiAzLAogICAgInVybCI6ICIvdjEvY3Vz - dG9tZXJzL2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0K - fQo= + ICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICAgICAgICJkaXNjb3VudCI6 + IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl + bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg + ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi + c2lfQndzQnhiZWhoeEhyQ0oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAi + c3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjog + MTUxMzI2NDU3NywKICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAg + ICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJt + ZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcx + ODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAg + ICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJj + cmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRo + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAg + ICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAg + ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVu + c3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywg + ZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAg + ICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg + ICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAg + ICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAg + ICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZh + bHNlLAogICAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1 + cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3Vi + X0J3c0JHblNidE1ZUHdBIgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2Rl + IjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBs + YW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt + c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2Jq + ZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg + ICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVu + Y3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAg + ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVt + b2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg + ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu + dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv + aSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 + IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAg + ICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFy + dCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAog + ICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2Vu + ZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9 + CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291 + bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184Q3pOdE0w + OE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:54:10 GMT + recorded_at: Thu, 14 Dec 2017 15:17:34 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -1162,8 +1060,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -1174,148 +1073,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:11 GMT - Content-Type: - - application/json - Content-Length: - - '1990' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_MD7tR4VWUwGjSi - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "id": "in_1B3L152sOmf47Nz9z31UmWS7", - "object": "invoice", - "amount_due": 2400, - "application_fee": null, - "attempt_count": 0, - "attempted": false, - "billing": "charge_automatically", - "charge": null, - "closed": false, - "currency": "usd", - "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724851, - "description": null, - "discount": null, - "ending_balance": null, - "forgiven": false, - "lines": { - "object": "list", - "data": [ - { - "id": "ii_1B3L112sOmf47Nz9HhdRh67V", - "object": "line_item", - "amount": -1000, - "currency": "usd", - "description": "wallet -10.0", - "discountable": false, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724847, - "end": 1505724847 - }, - "plan": null, - "proration": false, - "quantity": null, - "subscription": null, - "type": "invoiceitem" - }, - { - "id": "ii_1B3L102sOmf47Nz9bcXk9I95", - "object": "line_item", - "amount": 3400, - "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724846, - "end": 1505724846 - }, - "plan": null, - "proration": false, - "quantity": null, - "subscription": null, - "type": "invoiceitem" - } - ], - "has_more": false, - "total_count": 2, - "url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines" - }, - "livemode": false, - "metadata": {}, - "next_payment_attempt": 1505728451, - "number": "9ebfead20b-0007", - "paid": false, - "period_end": 1508316452, - "period_start": 1505724452, - "receipt_number": null, - "starting_balance": 0, - "statement_descriptor": null, - "subscription": null, - "subtotal": 2400, - "tax": null, - "tax_percent": null, - "total": 2400, - "webhooks_delivered_at": null - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:54:11 GMT -- request: - method: post - uri: https://api.stripe.com/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/pay - body: - encoding: ASCII-8BIT - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - Content-Length: - - '0' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:54:13 GMT + - Thu, 14 Dec 2017 15:17:35 GMT Content-Type: - application/json Content-Length: @@ -1335,36 +1093,37 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_frf59awTiJQwLz + - req_AFrmszl7DkMie9 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L152sOmf47Nz9z31UmWS7", + "id": "in_1BYySp2sOmf47Nz9MhEqWBOW", "object": "invoice", "amount_due": 2400, "application_fee": null, - "attempt_count": 1, - "attempted": true, + "attempt_count": 0, + "attempted": false, "billing": "charge_automatically", - "charge": "ch_1B3L162sOmf47Nz9qcHIrHQK", - "closed": true, + "charge": null, + "closed": false, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724851, + "date": 1513264655, "description": null, "discount": null, - "ending_balance": 0, + "due_date": null, + "ending_balance": null, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L112sOmf47Nz9HhdRh67V", + "id": "ii_1BYySl2sOmf47Nz9eO6VUS6v", "object": "line_item", "amount": -1000, "currency": "usd", @@ -1373,8 +1132,8 @@ http_interactions: "livemode": false, "metadata": {}, "period": { - "start": 1505724847, - "end": 1505724847 + "start": 1513264651, + "end": 1513264651 }, "plan": null, "proration": false, @@ -1383,17 +1142,17 @@ http_interactions: "type": "invoiceitem" }, { - "id": "ii_1B3L102sOmf47Nz9bcXk9I95", + "id": "ii_1BYySk2sOmf47Nz9XgDdy31A", "object": "line_item", "amount": 3400, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724846, - "end": 1505724846 + "start": 1513264650, + "end": 1513264650 }, "plan": null, "proration": false, @@ -1404,15 +1163,15 @@ http_interactions: ], "has_more": false, "total_count": 2, - "url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines" + "url": "/v1/invoices/in_1BYySp2sOmf47Nz9MhEqWBOW/lines" }, "livemode": false, "metadata": {}, - "next_payment_attempt": null, - "number": "9ebfead20b-0007", - "paid": true, - "period_end": 1508316452, - "period_start": 1505724452, + "next_payment_attempt": 1513268255, + "number": "9ebfead20b-0011", + "paid": false, + "period_end": 1515942976, + "period_start": 1513264576, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -1421,13 +1180,156 @@ http_interactions: "tax": null, "tax_percent": null, "total": 2400, - "webhooks_delivered_at": 1505724851 + "webhooks_delivered_at": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:13 GMT + recorded_at: Thu, 14 Dec 2017 15:17:35 GMT +- request: + method: post + uri: https://api.stripe.com/v1/invoices/in_1BYySp2sOmf47Nz9MhEqWBOW/pay + body: + encoding: ASCII-8BIT + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '0' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:17:37 GMT + Content-Type: + - application/json + Content-Length: + - '2028' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_b72THUWL4jKRGU + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "in_1BYySp2sOmf47Nz9MhEqWBOW", + "object": "invoice", + "amount_due": 2400, + "application_fee": null, + "attempt_count": 1, + "attempted": true, + "billing": "charge_automatically", + "charge": "ch_1BYySq2sOmf47Nz93sdpVF6c", + "closed": true, + "currency": "usd", + "customer": "cus_8CzNtM08NVlSGN", + "date": 1513264655, + "description": null, + "discount": null, + "due_date": null, + "ending_balance": 0, + "forgiven": false, + "lines": { + "object": "list", + "data": [ + { + "id": "ii_1BYySl2sOmf47Nz9eO6VUS6v", + "object": "line_item", + "amount": -1000, + "currency": "usd", + "description": "wallet -10.0", + "discountable": false, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264651, + "end": 1513264651 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null, + "type": "invoiceitem" + }, + { + "id": "ii_1BYySk2sOmf47Nz9XgDdy31A", + "object": "line_item", + "amount": 3400, + "currency": "usd", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", + "discountable": true, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264650, + "end": 1513264650 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null, + "type": "invoiceitem" + } + ], + "has_more": false, + "total_count": 2, + "url": "/v1/invoices/in_1BYySp2sOmf47Nz9MhEqWBOW/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "9ebfead20b-0011", + "paid": true, + "period_end": 1515942976, + "period_start": 1513264576, + "receipt_number": null, + "starting_balance": 0, + "statement_descriptor": null, + "subscription": null, + "subtotal": 2400, + "tax": null, + "tax_percent": null, + "total": 2400, + "webhooks_delivered_at": 1513264655 + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:17:37 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1B3L0y2sOmf47Nz9AZVEmtnY + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1BYySi2sOmf47Nz92Aixh6ds body: encoding: US-ASCII string: '' @@ -1444,8 +1346,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1454,7 +1357,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:14 GMT + - Thu, 14 Dec 2017 15:17:39 GMT Content-Type: - application/json Content-Length: @@ -1474,18 +1377,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_tk6tIKk8cV3KXX + - req_lOBGoYuXxzuRzx Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "card_1B3L0y2sOmf47Nz9AZVEmtnY" + "id": "card_1BYySi2sOmf47Nz92Aixh6ds" } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:14 GMT + recorded_at: Thu, 14 Dec 2017 15:17:39 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml index e4c4256ea..8ae6f86d3 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_with_subscription_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:24 GMT + - Thu, 14 Dec 2017 15:17:40 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_rBBmJ98gbN56kC + - req_RGBTcAr2p3kDS4 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L1I2sOmf47Nz9UYqYHZPI", + "id": "tok_1BYySu2sOmf47Nz9OFoj8wmr", "object": "token", "card": { - "id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd", + "id": "card_1BYySu2sOmf47Nz97I4Dfiar", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724864, + "created": 1513264660, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:24 GMT + recorded_at: Thu, 14 Dec 2017 15:17:40 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:25 GMT + - Thu, 14 Dec 2017 15:17:41 GMT Content-Type: - application/json Content-Length: - - '4731' + - '6476' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,80 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CUHXfO0pLWL0Mk + - req_mOgR5BqHZDlvP6 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1BYySE2sOmf47Nz9sEPH6aQI", + "object": "invoiceitem", + "amount": 0, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1513264618, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", + "discountable": true, + "invoice": "in_1BYySH2sOmf47Nz9oxZt98nG", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264618, + "end": 1513264618 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q", + "object": "invoiceitem", + "amount": 1000, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1505724866, + "description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM", + "discountable": true, + "invoice": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724866, + "end": 1505724866 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7", + "object": "invoiceitem", + "amount": 0, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1505724865, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724865, + "end": 1505724865 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3L1B2sOmf47Nz9dbDfy0so", "object": "invoiceitem", @@ -327,13 +392,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:25 GMT + recorded_at: Thu, 14 Dec 2017 15:17:41 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM + string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+13%3A00+-+02%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -347,10 +412,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '126' + - '125' response: status: code: 200 @@ -359,11 +425,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:25 GMT + - Thu, 14 Dec 2017 15:17:42 GMT Content-Type: - application/json Content-Length: - - '470' + - '469' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -379,29 +445,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_mBs8AeIi26ArEU + - req_SU9xth4Lx3szWa Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7", + "id": "ii_1BYySw2sOmf47Nz9KRWFUWF2", "object": "invoiceitem", "amount": 0, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724865, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264662, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724865, - "end": 1505724865 + "start": 1513264662, + "end": 1513264662 }, "plan": null, "proration": false, @@ -409,13 +475,13 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:26 GMT + recorded_at: Thu, 14 Dec 2017 15:17:42 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzKe50I0J1gaI&amount=1000¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+15%3A00+-+04%3A00+PM + string: customer=cus_8CzKe50I0J1gaI&amount=1000¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+14%3A00+-+03%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -429,10 +495,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '129' + - '128' response: status: code: 200 @@ -441,11 +508,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:26 GMT + - Thu, 14 Dec 2017 15:17:43 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -461,29 +528,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_X0rtTGbxYcEHNX + - req_P4Fdxw7fhTJ33g Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q", + "id": "ii_1BYySx2sOmf47Nz9wGkamKx1", "object": "invoiceitem", "amount": 1000, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724866, - "description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM", + "date": 1513264663, + "description": "FORM1+ imprimante 3D December 10, 2017 14:00 - 03:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724866, - "end": 1505724866 + "start": 1513264663, + "end": 1513264663 }, "plan": null, "proration": false, @@ -491,7 +558,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:26 GMT + recorded_at: Thu, 14 Dec 2017 15:17:43 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI @@ -511,8 +578,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -521,7 +589,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:27 GMT + - Thu, 14 Dec 2017 15:17:44 GMT Content-Type: - application/json Content-Length: @@ -541,11 +609,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_TGsPAAmcyqQJQW + - req_ooXIMx2poetvfA Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -579,13 +647,13 @@ http_interactions: } } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:27 GMT + recorded_at: Thu, 14 Dec 2017 15:17:44 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources body: encoding: UTF-8 - string: card=tok_1B3L1I2sOmf47Nz9UYqYHZPI + string: card=tok_1BYySu2sOmf47Nz9OFoj8wmr headers: Accept: - "*/*; q=0.5, application/xml" @@ -599,8 +667,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -611,7 +680,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:28 GMT + - Thu, 14 Dec 2017 15:17:45 GMT Content-Type: - application/json Content-Length: @@ -631,16 +700,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_WbVXW7BaLJsFc0 + - req_WqmVkGhACEzH85 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd", + "id": "card_1BYySu2sOmf47Nz97I4Dfiar", "object": "card", "address_city": null, "address_country": null, @@ -665,7 +734,7 @@ http_interactions: "tokenization_method": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:28 GMT + recorded_at: Thu, 14 Dec 2017 15:17:45 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -685,8 +754,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -697,11 +767,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:31 GMT + - Thu, 14 Dec 2017 15:17:48 GMT Content-Type: - application/json Content-Length: - - '2029' + - '2047' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -717,16 +787,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_EB69hb1VatAHXD + - req_rLzEDIZ16gq0Av Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "id": "in_1BYyT12sOmf47Nz9Z3r4gEjJ", "object": "invoice", "amount_due": 1000, "application_fee": null, @@ -737,26 +807,27 @@ http_interactions: "closed": false, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724871, + "date": 1513264667, "description": null, "discount": null, + "due_date": null, "ending_balance": null, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q", + "id": "ii_1BYySx2sOmf47Nz9wGkamKx1", "object": "line_item", "amount": 1000, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 14:00 - 03:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724866, - "end": 1505724866 + "start": 1513264663, + "end": 1513264663 }, "plan": null, "proration": false, @@ -765,17 +836,17 @@ http_interactions: "type": "invoiceitem" }, { - "id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7", + "id": "ii_1BYySw2sOmf47Nz9KRWFUWF2", "object": "line_item", "amount": 0, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724865, - "end": 1505724865 + "start": 1513264662, + "end": 1513264662 }, "plan": null, "proration": false, @@ -786,15 +857,15 @@ http_interactions: ], "has_more": false, "total_count": 2, - "url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines" + "url": "/v1/invoices/in_1BYyT12sOmf47Nz9Z3r4gEjJ/lines" }, "livemode": false, "metadata": {}, - "next_payment_attempt": 1505728471, - "number": "80bcaa9d6c-0004", + "next_payment_attempt": 1513268267, + "number": "80bcaa9d6c-0006", "paid": false, - "period_end": 1505724871, - "period_start": 1505724871, + "period_end": 1513264667, + "period_start": 1513264667, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -806,10 +877,10 @@ http_interactions: "webhooks_delivered_at": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:31 GMT + recorded_at: Thu, 14 Dec 2017 15:17:48 GMT - request: method: post - uri: https://api.stripe.com/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/pay + uri: https://api.stripe.com/v1/invoices/in_1BYyT12sOmf47Nz9Z3r4gEjJ/pay body: encoding: ASCII-8BIT string: '' @@ -826,8 +897,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '0' response: @@ -838,11 +910,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:32 GMT + - Thu, 14 Dec 2017 15:17:49 GMT Content-Type: - application/json Content-Length: - - '2048' + - '2066' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -858,46 +930,47 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_CfM49U0xLMpVKX + - req_iXDzR7kNuDh0ac Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "id": "in_1BYyT12sOmf47Nz9Z3r4gEjJ", "object": "invoice", "amount_due": 1000, "application_fee": null, "attempt_count": 1, "attempted": true, "billing": "charge_automatically", - "charge": "ch_1B3L1Q2sOmf47Nz9BOHlC9jv", + "charge": "ch_1BYyT32sOmf47Nz9LA8ru5Lk", "closed": true, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724871, + "date": 1513264667, "description": null, "discount": null, + "due_date": null, "ending_balance": 0, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q", + "id": "ii_1BYySx2sOmf47Nz9wGkamKx1", "object": "line_item", "amount": 1000, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 14:00 - 03:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724866, - "end": 1505724866 + "start": 1513264663, + "end": 1513264663 }, "plan": null, "proration": false, @@ -906,17 +979,17 @@ http_interactions: "type": "invoiceitem" }, { - "id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7", + "id": "ii_1BYySw2sOmf47Nz9KRWFUWF2", "object": "line_item", "amount": 0, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724865, - "end": 1505724865 + "start": 1513264662, + "end": 1513264662 }, "plan": null, "proration": false, @@ -927,15 +1000,15 @@ http_interactions: ], "has_more": false, "total_count": 2, - "url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines" + "url": "/v1/invoices/in_1BYyT12sOmf47Nz9Z3r4gEjJ/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": null, - "number": "80bcaa9d6c-0004", + "number": "80bcaa9d6c-0006", "paid": true, - "period_end": 1505724871, - "period_start": 1505724871, + "period_end": 1513264667, + "period_start": 1513264667, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -944,13 +1017,13 @@ http_interactions: "tax": null, "tax_percent": null, "total": 1000, - "webhooks_delivered_at": 1505724871 + "webhooks_delivered_at": 1513264668 } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:32 GMT + recorded_at: Thu, 14 Dec 2017 15:17:49 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_1B3L1I2sOmf47Nz9bQ7Ubbqd + uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_1BYySu2sOmf47Nz97I4Dfiar body: encoding: US-ASCII string: '' @@ -967,8 +1040,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -977,7 +1051,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:33 GMT + - Thu, 14 Dec 2017 15:17:50 GMT Content-Type: - application/json Content-Length: @@ -997,18 +1071,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_iV2lD3XQlaQT5F + - req_Df4wZ2ucDoUxsE Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd" + "id": "card_1BYySu2sOmf47Nz97I4Dfiar" } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:33 GMT + recorded_at: Thu, 14 Dec 2017 15:17:50 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml index 21013d2e1..141ee2007 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_error.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:31 GMT + - Thu, 14 Dec 2017 15:17:04 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_uPtkdMZa7Vrhh0 + - req_XlpErLDZLpqaaZ Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0R2sOmf47Nz9kqrwf4rs", + "id": "tok_1BYySK2sOmf47Nz9ZhYV19VB", "object": "token", "card": { - "id": "card_1B3L0R2sOmf47Nz9xB6kupfY", + "id": "card_1BYySK2sOmf47Nz9N7rZWRuG", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724811, + "created": 1513264624, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:31 GMT + recorded_at: Thu, 14 Dec 2017 15:17:04 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:32 GMT + - Thu, 14 Dec 2017 15:17:05 GMT Content-Type: - application/json Content-Length: - - '8647' + - '9816' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,59 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_mxHkH6irMEaPi5 + - req_46X6U1PN3vDt4M Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724830, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "discountable": true, + "invoice": "in_1B3L1k2sOmf47Nz9WrVocGx4", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724830, + "end": 1505724830 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "object": "invoiceitem", + "amount": 3200, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724818, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L0d2sOmf47Nz9sybqyVQx", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724818, + "end": 1505724818 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", "object": "invoiceitem", @@ -474,13 +518,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:32 GMT + recorded_at: Thu, 14 Dec 2017 15:17:05 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM + string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+13%3A00+-+02%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -494,10 +538,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '129' + - '128' response: status: code: 200 @@ -506,11 +551,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:33 GMT + - Thu, 14 Dec 2017 15:17:06 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -526,29 +571,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_dsPsy5cWquMsHp + - req_42cPqtCVmMazrX Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0T2sOmf47Nz9OXEMdidl", + "id": "ii_1BYySM2sOmf47Nz9uXaeT3WS", "object": "invoiceitem", "amount": 3200, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724813, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264626, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724813, - "end": 1505724813 + "start": 1513264626, + "end": 1513264626 }, "plan": null, "proration": false, @@ -556,7 +601,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:33 GMT + recorded_at: Thu, 14 Dec 2017 15:17:06 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -576,8 +621,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -586,11 +632,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:34 GMT + - Thu, 14 Dec 2017 15:17:07 GMT Content-Type: - application/json Content-Length: - - '7733' + - '3541' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -606,11 +652,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_zCowIoVV1dD8Cj + - req_gxtu7l053EALI5 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -620,7 +666,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "default_source": "card_1BYyRH2sOmf47Nz9DntNBKbd", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -632,7 +678,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -665,25 +711,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724789, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -704,7 +751,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -723,137 +770,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBH03MUz5WO4y", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", - "object": "subscription_item", - "created": 1505724494, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -861,18 +778,18 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 1, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:34 GMT + recorded_at: Thu, 14 Dec 2017 15:17:07 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources body: encoding: UTF-8 - string: card=tok_1B3L0R2sOmf47Nz9kqrwf4rs + string: card=tok_1BYySK2sOmf47Nz9ZhYV19VB headers: Accept: - "*/*; q=0.5, application/xml" @@ -886,8 +803,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -898,7 +816,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:35 GMT + - Thu, 14 Dec 2017 15:17:08 GMT Content-Type: - application/json Content-Length: @@ -918,7 +836,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_GnbA1i9ui5RfdB + - req_1M594Zc49RpmbM Stripe-Version: - '2015-10-16' body: @@ -934,5 +852,5 @@ http_interactions: } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:35 GMT + recorded_at: Thu, 14 Dec 2017 15:17:08 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml index 2dc6e6163..f13f9ed0c 100644 --- a/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_machine_without_subscription_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:36 GMT + - Thu, 14 Dec 2017 15:18:38 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_IxVJETx0YE83qh + - req_vNuYBRMz2pg5sX Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0W2sOmf47Nz9YIxXHgWn", + "id": "tok_1BYyTq2sOmf47Nz9cYwVPv3z", "object": "token", "card": { - "id": "card_1B3L0W2sOmf47Nz9IWFm3G6v", + "id": "card_1BYyTq2sOmf47Nz9bVlPjEDz", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724816, + "created": 1513264718, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:36 GMT + recorded_at: Thu, 14 Dec 2017 15:18:38 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:37 GMT + - Thu, 14 Dec 2017 15:18:39 GMT Content-Type: - application/json Content-Length: - - '9205' + - '12089' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,11 +145,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_v0QlFIQhn3VFHz + - req_9eBkw8hBUnLiJh Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -155,20 +157,125 @@ http_interactions: "object": "list", "data": [ { - "id": "ii_1B3L0T2sOmf47Nz9OXEMdidl", + "id": "ii_1BYyTp2sOmf47Nz9ukiXGo41", "object": "invoiceitem", - "amount": 3200, + "amount": 5100, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724813, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264717, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 08:00 AM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724813, - "end": 1505724813 + "start": 1513264717, + "end": 1513264717 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1BYyTK2sOmf47Nz93VzSjIeZ", + "object": "invoiceitem", + "amount": -675, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264686, + "description": "coupon SUNNYFABLAB", + "discountable": false, + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264686, + "end": 1513264686 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", + "object": "invoiceitem", + "amount": 1500, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264685, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", + "discountable": true, + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264685, + "end": 1513264685 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264636, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", + "discountable": true, + "invoice": "in_1BYySe2sOmf47Nz9l8dNUsHJ", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264636, + "end": 1513264636 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724830, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "discountable": true, + "invoice": "in_1B3L1k2sOmf47Nz9WrVocGx4", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724830, + "end": 1505724830 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "object": "invoiceitem", + "amount": 3200, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724818, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L0d2sOmf47Nz9sybqyVQx", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724818, + "end": 1505724818 }, "plan": null, "proration": false, @@ -495,10 +602,10 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:37 GMT + recorded_at: Thu, 14 Dec 2017 15:18:39 GMT - request: method: delete - uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0T2sOmf47Nz9OXEMdidl + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYyTp2sOmf47Nz9ukiXGo41 body: encoding: US-ASCII string: '' @@ -515,8 +622,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -525,7 +633,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:38 GMT + - Thu, 14 Dec 2017 15:18:40 GMT Content-Type: - application/json Content-Length: @@ -545,26 +653,26 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_apPZpzQnYfS7IC + - req_uvtakSrHyDouna Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "ii_1B3L0T2sOmf47Nz9OXEMdidl" + "id": "ii_1BYyTp2sOmf47Nz9ukiXGo41" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:38 GMT + recorded_at: Thu, 14 Dec 2017 15:18:40 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM + string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+13%3A00+-+02%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -578,10 +686,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '129' + - '128' response: status: code: 200 @@ -590,11 +699,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:38 GMT + - Thu, 14 Dec 2017 15:18:41 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -610,29 +719,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_xeDUKVhcpnww2l + - req_xUX74Cop2SE1XV Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "id": "ii_1BYyTt2sOmf47Nz9h7btfoKd", "object": "invoiceitem", "amount": 3200, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724818, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264721, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724818, - "end": 1505724818 + "start": 1513264721, + "end": 1513264721 }, "plan": null, "proration": false, @@ -640,7 +749,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:38 GMT + recorded_at: Thu, 14 Dec 2017 15:18:41 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -660,8 +769,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -670,11 +780,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:40 GMT + - Thu, 14 Dec 2017 15:18:43 GMT Content-Type: - application/json Content-Length: - - '7733' + - '5670' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -690,11 +800,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_NRtlLT39ygNjWM + - req_23DbcKD0931BPD Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -704,7 +814,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "default_source": "card_1BYyTA2sOmf47Nz94Mjuw15e", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -716,7 +826,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyTA2sOmf47Nz94Mjuw15e", "object": "card", "address_city": null, "address_country": null, @@ -749,25 +859,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264695, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -788,7 +899,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -807,32 +918,33 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null }, { - "id": "sub_BQBH03MUz5WO4y", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724494, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -853,7 +965,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -872,72 +984,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -945,18 +992,18 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 2, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:40 GMT + recorded_at: Thu, 14 Dec 2017 15:18:43 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources body: encoding: UTF-8 - string: card=tok_1B3L0W2sOmf47Nz9YIxXHgWn + string: card=tok_1BYyTq2sOmf47Nz9cYwVPv3z headers: Accept: - "*/*; q=0.5, application/xml" @@ -970,8 +1017,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -982,7 +1030,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:41 GMT + - Thu, 14 Dec 2017 15:18:44 GMT Content-Type: - application/json Content-Length: @@ -1002,16 +1050,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_tPZGiOLb8nT67d + - req_GyxoOG7bRdhv6O Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "card_1B3L0W2sOmf47Nz9IWFm3G6v", + "id": "card_1BYyTq2sOmf47Nz9bVlPjEDz", "object": "card", "address_city": null, "address_country": null, @@ -1036,13 +1084,13 @@ http_interactions: "tokenization_method": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:42 GMT + recorded_at: Thu, 14 Dec 2017 15:18:44 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt body: encoding: UTF-8 - string: default_source=card_1B3L0W2sOmf47Nz9IWFm3G6v + string: default_source=card_1BYyTq2sOmf47Nz9bVlPjEDz headers: Accept: - "*/*; q=0.5, application/xml" @@ -1056,8 +1104,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '44' response: @@ -1068,11 +1117,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:42 GMT + - Thu, 14 Dec 2017 15:18:46 GMT Content-Type: - application/json Content-Length: - - '8461' + - '6398' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1088,11 +1137,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_UzJfZWItnduFA2 + - req_d4uZ42vCdpmzRg Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -1102,7 +1151,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3L0W2sOmf47Nz9IWFm3G6v", + "default_source": "card_1BYyTq2sOmf47Nz9bVlPjEDz", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -1114,7 +1163,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3L0W2sOmf47Nz9IWFm3G6v", + "id": "card_1BYyTq2sOmf47Nz9bVlPjEDz", "object": "card", "address_city": null, "address_country": null, @@ -1139,7 +1188,7 @@ http_interactions: "tokenization_method": null }, { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyTA2sOmf47Nz94Mjuw15e", "object": "card", "address_city": null, "address_country": null, @@ -1172,25 +1221,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264695, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1211,7 +1261,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -1230,32 +1280,33 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null }, { - "id": "sub_BQBH03MUz5WO4y", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724494, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1276,7 +1327,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -1295,72 +1346,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -1368,12 +1354,12 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 2, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:43 GMT + recorded_at: Thu, 14 Dec 2017 15:18:46 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -1393,8 +1379,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -1405,129 +1392,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:44 GMT - Content-Type: - - application/json - Content-Length: - - '1498' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_iD3i9JZhcdLh0e - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "id": "in_1B3L0d2sOmf47Nz9sybqyVQx", - "object": "invoice", - "amount_due": 3200, - "application_fee": null, - "attempt_count": 0, - "attempted": false, - "billing": "charge_automatically", - "charge": null, - "closed": false, - "currency": "usd", - "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724823, - "description": null, - "discount": null, - "ending_balance": null, - "forgiven": false, - "lines": { - "object": "list", - "data": [ - { - "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", - "object": "line_item", - "amount": 3200, - "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724818, - "end": 1505724818 - }, - "plan": null, - "proration": false, - "quantity": null, - "subscription": null, - "type": "invoiceitem" - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines" - }, - "livemode": false, - "metadata": {}, - "next_payment_attempt": 1505728423, - "number": "d4cc0e661c-0007", - "paid": false, - "period_end": 1508316421, - "period_start": 1505724421, - "receipt_number": null, - "starting_balance": 0, - "statement_descriptor": null, - "subscription": null, - "subtotal": 3200, - "tax": null, - "tax_percent": null, - "total": 3200, - "webhooks_delivered_at": null - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:53:44 GMT -- request: - method: post - uri: https://api.stripe.com/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/pay - body: - encoding: ASCII-8BIT - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - Content-Length: - - '0' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:53:45 GMT + - Thu, 14 Dec 2017 15:18:47 GMT Content-Type: - application/json Content-Length: @@ -1547,46 +1412,47 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_lmWhdNT85zChxE + - req_kysM9lDKF2GJXV Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L0d2sOmf47Nz9sybqyVQx", + "id": "in_1BYyTz2sOmf47Nz9jyWUyIeG", "object": "invoice", "amount_due": 3200, "application_fee": null, - "attempt_count": 1, - "attempted": true, + "attempt_count": 0, + "attempted": false, "billing": "charge_automatically", - "charge": "ch_1B3L0e2sOmf47Nz9z1pvTozK", - "closed": true, + "charge": null, + "closed": false, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724823, + "date": 1513264727, "description": null, "discount": null, - "ending_balance": 0, + "due_date": null, + "ending_balance": null, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "id": "ii_1BYyTt2sOmf47Nz9h7btfoKd", "object": "line_item", "amount": 3200, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724818, - "end": 1505724818 + "start": 1513264721, + "end": 1513264721 }, "plan": null, "proration": false, @@ -1597,15 +1463,15 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines" + "url": "/v1/invoices/in_1BYyTz2sOmf47Nz9jyWUyIeG/lines" }, "livemode": false, "metadata": {}, - "next_payment_attempt": null, - "number": "d4cc0e661c-0007", - "paid": true, - "period_end": 1508316421, - "period_start": 1505724421, + "next_payment_attempt": 1513268327, + "number": "d4cc0e661c-0012", + "paid": false, + "period_end": 1515942964, + "period_start": 1513264564, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -1614,13 +1480,137 @@ http_interactions: "tax": null, "tax_percent": null, "total": 3200, - "webhooks_delivered_at": 1505724823 + "webhooks_delivered_at": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:45 GMT + recorded_at: Thu, 14 Dec 2017 15:18:47 GMT +- request: + method: post + uri: https://api.stripe.com/v1/invoices/in_1BYyTz2sOmf47Nz9jyWUyIeG/pay + body: + encoding: ASCII-8BIT + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '0' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:18:49 GMT + Content-Type: + - application/json + Content-Length: + - '1536' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_kSdTR6vssUUrf7 + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "in_1BYyTz2sOmf47Nz9jyWUyIeG", + "object": "invoice", + "amount_due": 3200, + "application_fee": null, + "attempt_count": 1, + "attempted": true, + "billing": "charge_automatically", + "charge": "ch_1BYyU02sOmf47Nz9GflZTDlN", + "closed": true, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264727, + "description": null, + "discount": null, + "due_date": null, + "ending_balance": 0, + "forgiven": false, + "lines": { + "object": "list", + "data": [ + { + "id": "ii_1BYyTt2sOmf47Nz9h7btfoKd", + "object": "line_item", + "amount": 3200, + "currency": "usd", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", + "discountable": true, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264721, + "end": 1513264721 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null, + "type": "invoiceitem" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1BYyTz2sOmf47Nz9jyWUyIeG/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "d4cc0e661c-0012", + "paid": true, + "period_end": 1515942964, + "period_start": 1513264564, + "receipt_number": null, + "starting_balance": 0, + "statement_descriptor": null, + "subscription": null, + "subtotal": 3200, + "tax": null, + "tax_percent": null, + "total": 3200, + "webhooks_delivered_at": 1513264727 + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:18:49 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0W2sOmf47Nz9IWFm3G6v + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1BYyTq2sOmf47Nz9bVlPjEDz body: encoding: US-ASCII string: '' @@ -1637,8 +1627,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1647,7 +1638,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:47 GMT + - Thu, 14 Dec 2017 15:18:53 GMT Content-Type: - application/json Content-Length: @@ -1667,18 +1658,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_UcuYTs0yXoHJnn + - req_0FOUd0HpZyoL9x Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "card_1B3L0W2sOmf47Nz9IWFm3G6v" + "id": "card_1BYyTq2sOmf47Nz9bVlPjEDz" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:47 GMT + recorded_at: Thu, 14 Dec 2017 15:18:53 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml b/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml index b462bfc80..d63e34091 100644 --- a/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml +++ b/test/vcr_cassettes/reservations_create_for_training_and_plan_by_pay_wallet_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:51 GMT + - Thu, 14 Dec 2017 15:18:20 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_g5bDFSuFxX1Wjc + - req_S4g8qBFKSAUky5 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0l2sOmf47Nz9dZknQMA5", + "id": "tok_1BYyTY2sOmf47Nz9FqZJpJ4s", "object": "token", "card": { - "id": "card_1B3L0l2sOmf47Nz93J9duAzd", + "id": "card_1BYyTY2sOmf47Nz9VmH2jQYb", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724831, + "created": 1513264700, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:51 GMT + recorded_at: Thu, 14 Dec 2017 15:18:20 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:52 GMT + - Thu, 14 Dec 2017 15:18:21 GMT Content-Type: - application/json Content-Length: - - '9808' + - '16011' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,240 +145,378 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_5q9RX2zw8G2dUx + - req_gffsNq7HlRbUUa Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNLem0yc09tZjQ3Tno5dTJ3V0Foa2IiLAogICAgICAi + ICJpZCI6ICJpaV8xQll5U2wyc09tZjQ3Tno5ZU82VlVTNnYiLAogICAgICAi b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc3 - MCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUxMzI2NDY1 + MSwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg + ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f + MUJZeVNwMnNPbWY0N056OU1oRXFXQk9XIiwKICAgICAgImxpdmVtb2RlIjog + ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog + ewogICAgICAgICJzdGFydCI6IDE1MTMyNjQ2NTEsCiAgICAgICAgImVuZCI6 + IDE1MTMyNjQ2NTEKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws + CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg + ICAiaWQiOiAiaWlfMUJZeVNrMnNPbWY0N056OVhnRGR5MzFBIiwKICAgICAg + Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAzNDAw + LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUxMzI2NDY1 + MCwKICAgICAgImRlc2NyaXB0aW9uIjogIkZPUk0xKyBpbXByaW1hbnRlIDNE + IERlY2VtYmVyIDEwLCAyMDE3IDEzOjAwIC0gMDI6MDAgUE0iLAogICAgICAi + ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUJZ + eVNwMnNPbWY0N056OU1oRXFXQk9XIiwKICAgICAgImxpdmVtb2RlIjogZmFs + c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog + ICAgICAgICJzdGFydCI6IDE1MTMyNjQ2NTAsCiAgICAgICAgImVuZCI6IDE1 + MTMyNjQ2NTAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg + ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi + aWQiOiAiaWlfMUJZeVMxMnNPbWY0N056OWJLVUpockFzIiwKICAgICAgIm9i + amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK + ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj + dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MTMyNjQ2MDUs + CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi + ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC + WXlTODJzT21mNDdOejk0Qmg5c1J1ciIsCiAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK + ICAgICAgICAic3RhcnQiOiAxNTEzMjY0NjA1LAogICAgICAgICJlbmQiOiAx + NTEzMjY0NjA1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg + InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog + ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg + ImlkIjogImlpXzFCWXlTMDJzT21mNDdOejlLcnAxbjVubyIsCiAgICAgICJv + YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAs + CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi + Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTEzMjY0NjA0 + LAogICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIiwK + ICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6 + ICJpbl8xQll5Uzgyc09tZjQ3Tno5NEJoOXNSdXIiLAogICAgICAibGl2ZW1v + ZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJp + b2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTUxMzI2NDYwNCwKICAgICAgICAi + ZW5kIjogMTUxMzI2NDYwNAogICAgICB9LAogICAgICAicGxhbiI6IG51bGws + CiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5Ijog + bnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7 + CiAgICAgICJpZCI6ICJpaV8xQll5Unkyc09tZjQ3Tno5QWxkTXlTdXEiLAog + ICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6 + IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3Rv + bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUx + MzI2NDYwMiwKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlx + dWUgXG5EZWNlbWJlciAyNCwgMjAxNyAxMTowMCBBTSAtIDA3OjAwIFBNXG5E + ZWNlbWJlciAyNSwgMjAxNyAxMTowMCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJl + ciAyNiwgMjAxNyAxMTowMCBBTSAtIDA3OjAwIFBNIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCWXlTODJz + T21mNDdOejk0Qmg5c1J1ciIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNTEzMjY0NjAyLAogICAgICAgICJlbmQiOiAxNTEzMjY0 + NjAyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzFCWXlSWDJzT21mNDdOejlLYXN3ZjI4ZiIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTEzMjY0NTc1LAogICAg + ICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQll5Ulky + c09tZjQ3Tno5bzR6NHFQbGQiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg + ICAgInN0YXJ0IjogMTUxMzI2NDU3NSwKICAgICAgICAiZW5kIjogMTUxMzI2 + NDU3NQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg + InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6 + ICJpaV8xQjNMMXMyc09tZjQ3Tno5WkRwNFBDNWoiLAogICAgICAib2JqZWN0 + IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDkwMCwKICAg + ICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNj + b3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzTDF0 + MnNPbWY0N056OTdzemZ5WkFRIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg + ICAgICJzdGFydCI6IDE1MDU3MjQ5MDAsCiAgICAgICAgImVuZCI6IDE1MDU3 + MjQ5MDAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi + OiAiaWlfMUIzTDExMnNPbWY0N056OUhoZFJoNjdWIiwKICAgICAgIm9iamVj + dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ4NDcsCiAg + ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz + Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0wx + NTJzT21mNDdOejl6MzFVbVdTNyIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg + ICAgICAic3RhcnQiOiAxNTA1NzI0ODQ3LAogICAgICAgICJlbmQiOiAxNTA1 + NzI0ODQ3CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk + IjogImlpXzFCM0wxMDJzT21mNDdOejliY1hrOUk5NSIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwKICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ4NDYsCiAg + ICAgICJkZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBTZXB0 + ZW1iZXIgMTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJkaXNj + b3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNMMTUy + c09tZjQ3Tno5ejMxVW1XUzciLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg + ICAgInN0YXJ0IjogMTUwNTcyNDg0NiwKICAgICAgICAiZW5kIjogMTUwNTcy + NDg0NgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg + InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6 + ICJpaV8xQjNMMG8yc09tZjQ3Tno5RUJWU3pZMzYiLAogICAgICAib2JqZWN0 + IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgzNCwKICAg + ICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNj + b3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzTDBy + MnNPbWY0N056OTRaTXlLVXAxIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg + ICAgICJzdGFydCI6IDE1MDU3MjQ4MzQsCiAgICAgICAgImVuZCI6IDE1MDU3 + MjQ4MzQKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi + OiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAgICAgIm9iamVj + dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgzMywKICAgICAg + ImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNEIFNlcHRl + bWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0wwcjJz + T21mNDdOejk0Wk15S1VwMSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNTA1NzI0ODMzLAogICAgICAgICJlbmQiOiAxNTA1NzI0 + ODMzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NzcwLAogICAg + ICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2Nv + dW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLenEy + c09tZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAg + ICAgInN0YXJ0IjogMTUwNTcyNDc3MCwKICAgICAgICAiZW5kIjogMTUwNTcy + NDc3MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg + InN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6 + ICJpaV8xQjNLemwyc09tZjQ3Tno5bzF1blptc3YiLAogICAgICAib2JqZWN0 + IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc2OSwKICAg + ICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIsCiAgICAg ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f MUIzS3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjog ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog - ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NzAsCiAgICAgICAgImVuZCI6 - IDE1MDU3MjQ3NzAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjksCiAgICAgICAgImVuZCI6 + IDE1MDU3MjQ3NjkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg - ICAiaWQiOiAiaWlfMUIzS3psMnNPbWY0N056OW8xdW5abXN2IiwKICAgICAg - Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1 + ICAiaWQiOiAiaWlfMUIzS3prMnNPbWY0N056OU8zM29BRVM5IiwKICAgICAg + Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiA1MTAw MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ3 - NjksCiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIi - LAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNl - IjogImluXzFCM0t6cTJzT21mNDdOejlJWDdybEhTdSIsCiAgICAgICJsaXZl - bW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBl - cmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY5LAogICAgICAg - ICJlbmQiOiAxNTA1NzI0NzY5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVs - bCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHki - OiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAg - IHsKICAgICAgImlkIjogImlpXzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIs - CiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50 - IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz - dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx - NTA1NzI0NzY4LAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFkaW8gbnVtw6ly - aXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBN - XG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2Vw - dGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE0iLAogICAgICAi - ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz - S3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjogZmFs - c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAgICAgImVuZCI6IDE1 - MDU3MjQ3NjgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi - cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMUIzS3ZTMnNPbWY0N056OWRSZVBsRDd2IiwKICAgICAgIm9i - amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK - ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ1MDIs - CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi - ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC - M0t2VDJzT21mNDdOejlEVnY1ck9MUSIsCiAgICAgICJsaXZlbW9kZSI6IGZh - bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NTAyLAogICAgICAgICJlbmQiOiAx - NTA1NzI0NTAyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg - InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog - ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg - ImlkIjogImlpXzFCM0t2NTJzT21mNDdOejl6TWdtSkJqbiIsCiAgICAgICJv - YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs - CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc5 - LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg + NjgsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJpcXVlIFxu + U2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRl + bWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0ZW1iZXIg + MzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLenEyc09t + ZjQ3Tno5SVg3cmxIU3UiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAg + InN0YXJ0IjogMTUwNTcyNDc2OCwKICAgICAgICAiZW5kIjogMTUwNTcyNDc2 + OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1 + YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJp + aV8xQjNLdlMyc09tZjQ3Tno5ZFJlUGxEN3YiLAogICAgICAib2JqZWN0Ijog + Imludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDUwMiwKICAgICAg + ImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3ZUMnNP + bWY0N056OURWdjVyT0xRIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg + ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAg + ICJzdGFydCI6IDE1MDU3MjQ1MDIsCiAgICAgICAgImVuZCI6IDE1MDU3MjQ1 + MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0 + aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJz + dWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQiOiAi + aWlfMUIzS3Y1MnNPbWY0N056OXpNZ21KQmpuIiwKICAgICAgIm9iamVjdCI6 + ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg + ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6 + TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0NzksCiAgICAg + ICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlzY291 + bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t2OTJz + T21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAg + ICAic3RhcnQiOiAxNTA1NzI0NDc5LAogICAgICAgICJlbmQiOiAxNTA1NzI0 + NDc5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3Jh + dGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAi + c3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjog + ImlpXzFCM0t2NDJzT21mNDdOejk3b1NLYnhhSSIsCiAgICAgICJvYmplY3Qi + OiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAsCiAgICAg + ICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhD + ek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc4LAogICAg + ICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAg ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x QjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBm YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 - CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OSwKICAgICAgICAiZW5kIjog - MTUwNTcyNDQ3OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg + CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OCwKICAgICAgICAiZW5kIjog + MTUwNTcyNDQ3OAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNLdjQyc09tZjQ3Tno5N29TS2J4YUkiLAogICAgICAi - b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUw + ICJpZCI6ICJpaV8xQjNLdjMyc09tZjQ3Tno5blUzc0JtaU4iLAogICAgICAi + b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDUxMDAw LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ3 - OCwKICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIs - CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui - OiAiaW5fMUIzS3Y5MnNPbWY0N056OWtyQW9uaDVZIiwKICAgICAgImxpdmVt - b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy - aW9kIjogewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NzgsCiAgICAgICAg - ImVuZCI6IDE1MDU3MjQ0NzgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs - LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6 - IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg - ewogICAgICAiaWQiOiAiaWlfMUIzS3YzMnNPbWY0N056OW5VM3NCbWlOIiwK - ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi - OiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0 - b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1 - MDU3MjQ0NzcsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJp - cXVlIFxuU2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1c - blNlcHRlbWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0 - ZW1iZXIgMzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJk - aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL - djkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz + NywKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUgXG5T + ZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2VwdGVt + YmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRlbWJlciAz + MCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgImRpc2NvdW50 + YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t2OTJzT21m + NDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg + ICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAgICAi + c3RhcnQiOiAxNTA1NzI0NDc3LAogICAgICAgICJlbmQiOiAxNTA1NzI0NDc3 + CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3JhdGlv + biI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vi + c2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjogImlp + XzFCM0t1YzJzT21mNDdOejk2ajBlMzlZbiIsCiAgICAgICJvYmplY3QiOiAi + aW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAgICJj + dXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50 + TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDUwLAogICAgICAi + ZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRpc2NvdW50 + YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdWUyc09t + ZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAg + InN0YXJ0IjogMTUwNTcyNDQ1MCwKICAgICAgICAiZW5kIjogMTUwNTcyNDQ1 + MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1 + YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJp + aV8xQjNLdWIyc09tZjQ3Tno5aGtpMDJ6UlciLAogICAgICAib2JqZWN0Ijog + Imludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAgICAgICJjdXJy + ZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4 + TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDQ5LAogICAgICAiZGVz + Y3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0QgU2VwdGVtYmVy + IDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAiZGlzY291bnRh + YmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3VlMnNPbWY0 + N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg + ICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAgICJz + dGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1MDU3MjQ0NDkK + ICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0aW9u + IjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJz + Y3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQiOiAiaWlf + MUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9iamVjdCI6ICJp + bnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRN + MDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAgICAgICJk + ZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlzY291bnRh + YmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t0cjJzT21m + NDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg + ICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAgICAgICAi + c3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAxNTA1NzI0Mzk5 + CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInByb3JhdGlv + biI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vi + c2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlkIjogImlp + XzFCM0t0bjJzT21mNDdOejlMWVV3NzNzQiIsCiAgICAgICJvYmplY3QiOiAi + aW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwKICAgICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRN + MDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAgICAgICJk + ZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBTZXB0ZW1iZXIg + MTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJkaXNjb3VudGFi + bGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNLdHIyc09tZjQ3 + Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg + Im1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgInN0 + YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUwNTcyNDM5OQog + ICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRpb24i + OiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1YnNj + cmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJpaV8x + OUttT3gyc09tZjQ3Tno5WEl6dlRqTEMiLAogICAgICAib2JqZWN0IjogImlu + dm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAgICAiY3Vy + cmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0w + OE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMywKICAgICAgImRl + c2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNjb3VudGFi + bGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTlLbVAxMnNPbWY0 + N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg + ICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAgICJz + dGFydCI6IDE0ODAzMjkwMjMsCiAgICAgICAgImVuZCI6IDE0ODAzMjkwMjMK + ICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0aW9u + IjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJz + Y3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQiOiAiaWlf + MTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgIm9iamVjdCI6ICJp + bnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRN + MDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAgICAgICJk + ZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSByZXNlcnZhdGlv + biIsCiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9p + Y2UiOiAiaW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxp + dmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAi + cGVyaW9kIjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIsCiAgICAg + ICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBsYW4iOiBu + dWxsLAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0 + eSI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAog + ICAgewogICAgICAiaWQiOiAiaWlfMTlLbU93MnNPbWY0N056OWYwUGJLYkhx + IiwKICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91 + bnQiOiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJj + dXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6 + IDE0ODAzMjkwMjIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3D + qXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQ + TVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTVxuRGVj + ZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTSIsCiAgICAgICJk + aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOUtt + UDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg - ICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3NywKICAgICAgICAiZW5kIjogMTUw - NTcyNDQ3NwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw + ICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAiZW5kIjogMTQ4 + MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xQjNLdWMyc09tZjQ3Tno5NmowZTM5WW4iLAogICAgICAib2Jq + ZCI6ICJpaV8xOFpoVWgyc09tZjQ3Tno5MDJ5a0d5YkIiLAogICAgICAib2Jq ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ1MCwK + c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEwODc0MywK ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk - aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz - S3VlMnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFs - c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NTAsCiAgICAgICAgImVuZCI6IDE1 - MDU3MjQ0NTAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi - cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMUIzS3ViMnNPbWY0N056OWhraTAyelJXIiwKICAgICAgIm9i - amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAogICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 - Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ0OSwKICAg - ICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNEIFNl - cHRlbWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAgImRp - c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t1 - ZTJzT21mNDdOejlUVmszSzFNWSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl - LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0NDQ5LAogICAgICAgICJlbmQiOiAxNTA1 - NzI0NDQ5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy - b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg - ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk - IjogImlpXzFCM0t0bjJzT21mNDdOejlHeDlvZUt3diIsCiAgICAgICJvYmpl - Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg - ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz - XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog - ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp - c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL - dHIyc09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg - ICAgICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUw - NTcyNDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw - cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg - ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xQjNLdG4yc09tZjQ3Tno5TFlVdzczc0IiLAogICAgICAib2Jq - ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDM0MDAsCiAg - ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz - XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog - ICAgICAiZGVzY3JpcHRpb24iOiAiRk9STTErIGltcHJpbWFudGUgM0QgU2Vw - dGVtYmVyIDE3LCAyMDE3IDE0OjAwIC0gMDM6MDAgUE0iLAogICAgICAiZGlz - Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Ry - MnNPbWY0N056OXN1VTBqT0M4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us - CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg - ICAgICJzdGFydCI6IDE1MDU3MjQzOTksCiAgICAgICAgImVuZCI6IDE1MDU3 - MjQzOTkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv - cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg - ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi - OiAiaWlfMTlLbU94MnNPbWY0N056OVhJenZUakxDIiwKICAgICAgIm9iamVj - dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf - OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjMsCiAg - ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz - Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE5S21Q - MTJzT21mNDdOejlSbDZhS1dGOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl - LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg - ICAgICAic3RhcnQiOiAxNDgwMzI5MDIzLAogICAgICAgICJlbmQiOiAxNDgw - MzI5MDIzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy - b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg - ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk - IjogImlpXzE5S21PdzJzT21mNDdOejlmTWdqSEloZyIsCiAgICAgICJvYmpl - Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAsCiAg - ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz - XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDgwMzI5MDIyLAog - ICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIC0gcmVz - ZXJ2YXRpb24iLAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAg - ICJpbnZvaWNlIjogImluXzE5S21QMTJzT21mNDdOejlSbDZhS1dGOCIsCiAg - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwK - ICAgICAgInBlcmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIy - LAogICAgICAgICJlbmQiOiAxNDgwMzI5MDIyCiAgICAgIH0sCiAgICAgICJw - bGFuIjogbnVsbCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAi - cXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAog - ICAgfSwKICAgIHsKICAgICAgImlkIjogImlpXzE5S21PdzJzT21mNDdOejlm - MFBiS2JIcSIsCiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAg - ICAiYW1vdW50IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog - ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg - ImRhdGUiOiAxNDgwMzI5MDIyLAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFk - aW8gbnVtw6lyaXF1ZSBcbkRlY2VtYmVyIDA4LCAyMDE2IDExOjAwIEFNIC0g - MDc6MDAgUE1cbkRlY2VtYmVyIDA5LCAyMDE2IDExOjAwIEFNIC0gMDc6MDAg - UE1cbkRlY2VtYmVyIDEwLCAyMDE2IDExOjAwIEFNIC0gMDc6MDAgUE0iLAog - ICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAi - aW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2Rl - IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9k - IjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIsCiAgICAgICAgImVu - ZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAog - ICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51 - bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewog - ICAgICAiaWQiOiAiaWlfMThaaFVoMnNPbWY0N056OTAyeWtHeWJCIiwKICAg - ICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAt - MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21l - ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0Njkx - MDg3NDMsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAog - ICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjog - ImluXzE4WmhVajJzT21mNDdOejlyOExLSUJOSyIsCiAgICAgICJsaXZlbW9k - ZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlv - ZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDY5MTA4NzQzLAogICAgICAgICJl - bmQiOiAxNDY5MTA4NzQzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwK - ICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBu - dWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsK - ICAgICAgImlkIjogImlpXzE4WmhVZzJzT21mNDdOejl2U3NsNUo5eiIsCiAg - ICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50Ijog - MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 - ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjkxMDg3 - NDIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50 - ZSAzRCBKdWx5IDE4LCAyMDE2IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAi - ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMTha + aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTha aFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVtb2RlIjogZmFs c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDIsCiAgICAgICAgImVuZCI6IDE0 - NjkxMDg3NDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + ICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDMsCiAgICAgICAgImVuZCI6IDE0 + NjkxMDg3NDMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMThXNEdOMnNPbWY0N056OUsxZFRmVHlBIiwKICAgICAgIm9i - amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK - ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjgyNDI5NTUs - CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi - ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE4 - VzRHTzJzT21mNDdOejlvb3VEUTNoZSIsCiAgICAgICJsaXZlbW9kZSI6IGZh - bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNDY4MjQyOTU1LAogICAgICAgICJlbmQiOiAx - NDY4MjQyOTU1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg - InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog - ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfQogIF0sCiAgImhhc19t - b3JlIjogZmFsc2UsCiAgInVybCI6ICIvdjEvaW52b2ljZWl0ZW1zIgp9Cg== + aWQiOiAiaWlfMThaaFVnMnNPbWY0N056OXZTc2w1Sjl6IiwKICAgICAgIm9i + amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEwODc0MiwKICAg + ICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNEIEp1 + bHkgMTgsIDIwMTYgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xOFpoVWoyc09t + ZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAgICAgICAg + InN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjogMTQ2OTEwODc0 + MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgInN1 + YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJpZCI6ICJp + aV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAib2JqZWN0Ijog + Imludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAogICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1NSwKICAgICAg + ImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJkaXNjb3Vu + dGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMThXNEdPMnNP + bWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg + ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAgICAg + ICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6IDE0NjgyNDI5 + NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJvcmF0 + aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJz + dWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFzX21vcmUiOiBm + YWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:53:52 GMT + recorded_at: Thu, 14 Dec 2017 15:18:21 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzNtM08NVlSGN&amount=0¤cy=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM + string: customer=cus_8CzNtM08NVlSGN&amount=0¤cy=usd&description=Formation+Imprimante+3D+December+11%2C+2017+07%3A00+-+11%3A00+AM headers: Accept: - "*/*; q=0.5, application/xml" @@ -390,10 +530,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '127' + - '126' response: status: code: 200 @@ -402,11 +543,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:53 GMT + - Thu, 14 Dec 2017 15:18:22 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -422,29 +563,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_jhLdk03pPeN19q + - req_TGKwnO7nAo3tMe Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT", + "id": "ii_1BYyTa2sOmf47Nz9tQwdc0m5", "object": "invoiceitem", "amount": 0, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724833, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "date": 1513264702, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724833, - "end": 1505724833 + "start": 1513264702, + "end": 1513264702 }, "plan": null, "proration": false, @@ -452,7 +593,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:53 GMT + recorded_at: Thu, 14 Dec 2017 15:18:22 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -472,8 +613,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: @@ -484,7 +626,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:55 GMT + - Thu, 14 Dec 2017 15:18:24 GMT Content-Type: - application/json Content-Length: @@ -504,29 +646,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_uXl3hD1s1hVtKD + - req_jGks9v2AbGNrXs Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0o2sOmf47Nz9EBVSzY36", + "id": "ii_1BYyTc2sOmf47Nz99jzxoGuv", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724834, + "date": 1513264704, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724834, - "end": 1505724834 + "start": 1513264704, + "end": 1513264704 }, "plan": null, "proration": false, @@ -534,7 +676,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:55 GMT + recorded_at: Thu, 14 Dec 2017 15:18:24 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -554,8 +696,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -564,11 +707,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:55 GMT + - Thu, 14 Dec 2017 15:18:25 GMT Content-Type: - application/json Content-Length: - - '5869' + - '3666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -584,25 +727,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_vWLNKAs5Aweszt + - req_TmZU6XAzP2XdxV Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5UlYyc09tZjQ3Tno5TVNEMmRXYkQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056 - OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJWMnNPbWY0N056 + OU1TRDJkV2JEIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -621,110 +764,61 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl - cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3 - MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj - dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv - dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg - ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg - ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp - ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg - ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi - OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg - ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j - b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 - LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p - IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5 - cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu - dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg - ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog - MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z - dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl - bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs - CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu - dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg - ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh - dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp - ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl - bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k - X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx - LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1 - cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg - ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0 - IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C - UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws - CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog - ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg - ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6 - IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1 - MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw - NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs - U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl - ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i - amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg - ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky - UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz - LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg - ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx - NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg - ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm - IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 - LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s - CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg - ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg - ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv - c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP - NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy - NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh - eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK - ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg - ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg - ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1 - YnNjcmlwdGlvbnMiCiAgfQp9Cg== + cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MTMy + NjQ1ODEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc2LAogICAgICAg + ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQyOTc2LAogICAgICAgICJj + dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgImN1 + c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRheXNf + dW50aWxfZHVlIjogbnVsbCwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAog + ICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewog + ICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjog + WwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpX0J3c0J4 + YmVoaHhIckNKIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw + dGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1 + NzcsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 + YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg + ICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAg + ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6 + IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNk + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAg + ICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAg + ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRh + dGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFy + aWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25h + bnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAg + ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAg + ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAg + fSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0K + ICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAg + ICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92 + MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9Cd3NCR25T + YnRNWVB3QSIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog + ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt + bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw + bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy + ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz + ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt + ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg + MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250 + aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog + ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s + CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTEz + MjY0NTc2LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi + dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs + LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwK + ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK + ICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04v + c3Vic2NyaXB0aW9ucyIKICB9Cn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:53:55 GMT + recorded_at: Thu, 14 Dec 2017 15:18:25 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -744,8 +838,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -754,11 +849,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:56 GMT + - Thu, 14 Dec 2017 15:18:26 GMT Content-Type: - application/json Content-Length: - - '5869' + - '3666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -774,25 +869,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_A4QdLbLnyGL92R + - req_tIIgwDX0T6bigN Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5UlYyc09tZjQ3Tno5TVNEMmRXYkQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056 - OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJWMnNPbWY0N056 + OU1TRDJkV2JEIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -811,116 +906,67 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl - cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3 - MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj - dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv - dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg - ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg - ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp - ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg - ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi - OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg - ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j - b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 - LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p - IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5 - cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu - dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg - ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog - MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z - dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl - bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs - CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu - dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg - ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh - dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp - ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl - bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k - X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx - LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1 - cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg - ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0 - IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C - UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws - CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog - ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg - ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6 - IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1 - MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw - NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs - U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl - ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i - amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg - ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky - UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz - LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg - ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx - NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg - ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm - IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 - LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s - CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg - ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg - ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv - c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP - NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy - NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh - eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK - ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg - ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg - ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1 - YnNjcmlwdGlvbnMiCiAgfQp9Cg== + cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MTMy + NjQ1ODEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc2LAogICAgICAg + ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQyOTc2LAogICAgICAgICJj + dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgImN1 + c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRheXNf + dW50aWxfZHVlIjogbnVsbCwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAog + ICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewog + ICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjog + WwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpX0J3c0J4 + YmVoaHhIckNKIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw + dGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1 + NzcsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 + YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg + ICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAg + ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6 + IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNk + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAg + ICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAg + ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRh + dGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFy + aWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25h + bnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAg + ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAg + ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAg + fSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0K + ICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAg + ICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92 + MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9Cd3NCR25T + YnRNWVB3QSIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog + ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt + bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw + bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy + ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz + ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt + ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg + MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250 + aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog + ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s + CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTEz + MjY0NTc2LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi + dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs + LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwK + ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK + ICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04v + c3Vic2NyaXB0aW9ucyIKICB9Cn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:53:56 GMT + recorded_at: Thu, 14 Dec 2017 15:18:26 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions body: encoding: UTF-8 - string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1B3L0l2sOmf47Nz9dZknQMA5 + string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1BYyTY2sOmf47Nz9FqZJpJ4s headers: Accept: - "*/*; q=0.5, application/xml" @@ -934,8 +980,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '90' response: @@ -946,11 +993,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:58 GMT + - Thu, 14 Dec 2017 15:18:28 GMT Content-Type: - application/json Content-Length: - - '1829' + - '1845' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -966,57 +1013,57 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_YR1JnosO8FxVqH + - req_JVziAcWecU2wG1 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzRXRSRXhpV2t2dWoiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi - OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w - ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO - VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs - bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh - dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0 - N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv - bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi - OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92 - MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV - bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0 - YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt - cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i - amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0 - ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi - aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5 - IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0 - aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu - dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= + OiBudWxsLAogICJjcmVhdGVkIjogMTUxMzI2NDcwNiwKICAiY3VycmVudF9w + ZXJpb2RfZW5kIjogMTUxNTk0MzEwNiwKICAiY3VycmVudF9wZXJpb2Rfc3Rh + cnQiOiAxNTEzMjY0NzA2LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO + VmxTR04iLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRpc2NvdW50 + IjogbnVsbCwKICAiZW5kZWRfYXQiOiBudWxsLAogICJpdGVtcyI6IHsKICAg + ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg + ICAgICJpZCI6ICJzaV9Cd3NFc3VnQ0pLbXRXViIsCiAgICAgICAgIm9iamVj + dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgImNyZWF0ZWQiOiAx + NTEzMjY0NzA3LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw + bGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0 + LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9i + amVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAg + ICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJl + bmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAog + ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlh + bnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBs + b2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii + OiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog + ICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMQogICAgICB9CiAgICBd + LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx + LAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlw + dGlvbj1zdWJfQndzRXRSRXhpV2t2dWoiCiAgfSwKICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAibWV0YWRhdGEiOiB7fSwKICAicGxhbiI6IHsKICAgICJpZCI6 + ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 + MTcxODI3IiwKICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAiYW1vdW50Ijog + MjAwMCwKICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJt + ZXRhZGF0YSI6IHt9LAogICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk + dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt + YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgInN0YXRlbWVudF9kZXNj + cmlwdG9yIjogbnVsbCwKICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwK + ICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0IjogMTUxMzI2NDcwNiwK + ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJjZW50IjogbnVsbCwK + ICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:53:58 GMT + recorded_at: Thu, 14 Dec 2017 15:18:28 GMT - request: method: get uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1 @@ -1036,8 +1083,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1046,11 +1094,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:59 GMT + - Thu, 14 Dec 2017 15:18:30 GMT Content-Type: - application/json Content-Length: - - '3584' + - '3597' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1066,96 +1114,96 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_OnEblbUmBqmr3M + - req_cBh1fE4nslWun0 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg - ICJpZCI6ICJpbl8xQjNMMHIyc09tZjQ3Tno5NFpNeUtVcDEiLAogICAgICAi + ICJpZCI6ICJpbl8xQll5VGYyc09tZjQ3Tno5aVN2azh3TnMiLAogICAgICAi b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICJjaGFy - Z2UiOiAiY2hfMUIzTDByMnNPbWY0N056OU1PV0V0VlpGIiwKICAgICAgImNs + Z2UiOiAiY2hfMUJZeVRmMnNPbWY0N056OVZNblRFNktjIiwKICAgICAgImNs b3NlZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAi Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUi - OiAxNTA1NzI0ODM3LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg - ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFuY2UiOiAw - LAogICAgICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAgICAgImxpbmVzIjogewog - ICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgImRhdGEiOiBbCiAg - ICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3 - Tno5RUJWU3pZMzYiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl - bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAgICAg - ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6 - ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjog - ZmFsc2UsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg - ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODM0LAogICAgICAgICAg - ICAgICJlbmQiOiAxNTA1NzI0ODM0CiAgICAgICAgICAgIH0sCiAgICAgICAg - ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZh - bHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICAg - ICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAi - aW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAg - ICAgICAiaWQiOiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAg - ICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAi - YW1vdW50IjogMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg - ICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50 - ZSAzRCBTZXB0ZW1iZXIgMTgsIDIwMTcgMDg6MDAgLSAxMjowMCBQTSIsCiAg - ICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgICAi - bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjoge30s - CiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0 - IjogMTUwNTcyNDgzMywKICAgICAgICAgICAgICAiZW5kIjogMTUwNTcyNDgz - MwogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IG51bGwsCiAg - ICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1 - YW50aXR5IjogbnVsbCwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51 - bGwsCiAgICAgICAgICAgICJ0eXBlIjogImludm9pY2VpdGVtIgogICAgICAg - ICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgImlkIjogInN1Yl9CUUJO - bmtVbGNpaTNyMSIsCiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVt - IiwKICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICJj - dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiBu - dWxsLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0 - YSI6IHt9LAogICAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAg - ICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgICAgICAgImVuZCI6IDE1 - MDgzMTY4MzcKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBsYW4iOiB7 - CiAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0 - dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICJv - YmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAs - CiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICJpbnRl - cnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgImludGVydmFsX2NvdW50 - IjogMSwKICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAibmFtZSI6 - ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg - YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs - CiAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwK - ICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAg - ICAgICAgIH0sCiAgICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAg - ICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICAgInN1YnNjcmlw - dGlvbiI6IG51bGwsCiAgICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6 - ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAgICAi - dHlwZSI6ICJzdWJzY3JpcHRpb24iCiAgICAgICAgICB9CiAgICAgICAgXSwK - ICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291 - bnQiOiAzLAogICAgICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0ww - cjJzT21mNDdOejk0Wk15S1VwMS9saW5lcyIKICAgICAgfSwKICAgICAgImxp - dmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAi - bmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICAgICAibnVtYmVyIjog - IjllYmZlYWQyMGItMDAwNiIsCiAgICAgICJwYWlkIjogdHJ1ZSwKICAgICAg - InBlcmlvZF9lbmQiOiAxNTA1NzI0ODM3LAogICAgICAicGVyaW9kX3N0YXJ0 - IjogMTUwNTcyNDQ1MiwKICAgICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwK - ICAgICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICAgICAic3RhdGVtZW50 - X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogInN1 - Yl9CUUJObmtVbGNpaTNyMSIsCiAgICAgICJzdWJ0b3RhbCI6IDEwMDAsCiAg - ICAgICJ0YXgiOiBudWxsLAogICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAog - ICAgICAidG90YWwiOiAxMDAwLAogICAgICAid2ViaG9va3NfZGVsaXZlcmVk - X2F0IjogMTUwNTcyNDgzOAogICAgfQogIF0sCiAgImhhc19tb3JlIjogdHJ1 - ZSwKICAidXJsIjogIi92MS9pbnZvaWNlcyIKfQo= + OiAxNTEzMjY0NzA2LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg + ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZHVlX2RhdGUiOiBudWxsLAog + ICAgICAiZW5kaW5nX2JhbGFuY2UiOiAwLAogICAgICAiZm9yZ2l2ZW4iOiBm + YWxzZSwKICAgICAgImxpbmVzIjogewogICAgICAgICJvYmplY3QiOiAibGlz + dCIsCiAgICAgICAgImRhdGEiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAg + ICJpZCI6ICJpaV8xQll5VGMyc09tZjQ3Tno5OWp6eG9HdXYiLAogICAgICAg + ICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAgICJhbW91 + bnQiOiAtMTAwMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg + ICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg + ICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICAgICAgICJs + aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK + ICAgICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgICAic3RhcnQi + OiAxNTEzMjY0NzA0LAogICAgICAgICAgICAgICJlbmQiOiAxNTEzMjY0NzA0 + CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwbGFuIjogbnVsbCwKICAg + ICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVh + bnRpdHkiOiBudWxsLAogICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs + bCwKICAgICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgICAg + ICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiaWlfMUJZeVRh + MnNPbWY0N056OXRRd2RjMG01IiwKICAgICAgICAgICAgIm9iamVjdCI6ICJs + aW5lX2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50IjogMCwKICAgICAgICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlv + biI6ICJGb3JtYXRpb24gSW1wcmltYW50ZSAzRCBEZWNlbWJlciAxMSwgMjAx + NyAwNzowMCAtIDExOjAwIEFNIiwKICAgICAgICAgICAgImRpc2NvdW50YWJs + ZSI6IHRydWUsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg + ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6 + IHsKICAgICAgICAgICAgICAic3RhcnQiOiAxNTEzMjY0NzAyLAogICAgICAg + ICAgICAgICJlbmQiOiAxNTEzMjY0NzAyCiAgICAgICAgICAgIH0sCiAgICAg + ICAgICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6 + IGZhbHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg + ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUi + OiAiaW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAg + ICAgICAgICAiaWQiOiAic3ViX0J3c0V0UkV4aVdrdnVqIiwKICAgICAgICAg + ICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50 + IjogMjAwMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAg + ICAgICAgICJkZXNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJkaXNj + b3VudGFibGUiOiB0cnVlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz + ZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJw + ZXJpb2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTUxMzI2NDcwNiwK + ICAgICAgICAgICAgICAiZW5kIjogMTUxNTk0MzEwNgogICAgICAgICAgICB9 + LAogICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAiaWQiOiAi + bWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3 + MTgyNyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAg + ICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAiY3JlYXRl + ZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVz + ZCIsCiAgICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAg + ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICJs + aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9 + LAogICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVp + dCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFu + ZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAgICAic3RhdGVt + ZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICJ0cmlhbF9w + ZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAg + InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiAx + LAogICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAg + ICAgInN1YnNjcmlwdGlvbl9pdGVtIjogInNpX0J3c0VzdWdDSkttdFdWIiwK + ICAgICAgICAgICAgInR5cGUiOiAic3Vic2NyaXB0aW9uIgogICAgICAgICAg + fQogICAgICAgIF0sCiAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg + ICAgInRvdGFsX2NvdW50IjogMywKICAgICAgICAidXJsIjogIi92MS9pbnZv + aWNlcy9pbl8xQll5VGYyc09tZjQ3Tno5aVN2azh3TnMvbGluZXMiCiAgICAg + IH0sCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEi + OiB7fSwKICAgICAgIm5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAg + ICAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMTIiLAogICAgICAicGFpZCI6 + IHRydWUsCiAgICAgICJwZXJpb2RfZW5kIjogMTUxMzI2NDcwNiwKICAgICAg + InBlcmlvZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgICAgICJyZWNlaXB0X251 + bWJlciI6IG51bGwsCiAgICAgICJzdGFydGluZ19iYWxhbmNlIjogMCwKICAg + ICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgInN1YnNj + cmlwdGlvbiI6ICJzdWJfQndzRXRSRXhpV2t2dWoiLAogICAgICAic3VidG90 + YWwiOiAxMDAwLAogICAgICAidGF4IjogbnVsbCwKICAgICAgInRheF9wZXJj + ZW50IjogbnVsbCwKICAgICAgInRvdGFsIjogMTAwMCwKICAgICAgIndlYmhv + b2tzX2RlbGl2ZXJlZF9hdCI6IDE1MTMyNjQ3MDcKICAgIH0KICBdLAogICJo + YXNfbW9yZSI6IHRydWUsCiAgInVybCI6ICIvdjEvaW52b2ljZXMiCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:53:59 GMT + recorded_at: Thu, 14 Dec 2017 15:18:30 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -1175,8 +1223,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1185,11 +1234,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:00 GMT + - Thu, 14 Dec 2017 15:18:31 GMT Content-Type: - application/json Content-Length: - - '8089' + - '5908' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1205,25 +1254,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Mb0MtGBJXv6u0u + - req_I1Yl5PwVOKBfq2 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5VFkyc09tZjQ3Tno5Vm1IMmpRWWIiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056 - OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVRZMnNPbWY0N056 + OVZtSDJqUVliIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -1242,162 +1291,114 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzRXRSRXhpV2t2dWoiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl cmlvZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxs - LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAgICAgICAiY3Vy - cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAgICAgICAiY3VycmVu - dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJjdXN0b21l - ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6 - IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl - bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg - ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi - c2lfMUIzTDByMnNPbWY0N056OUtLZFYxenNKIiwKICAgICAgICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi - Y3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs - YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg - ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu - YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk - ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v - bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 - IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu - dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki - OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz - X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg - ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny - aXB0aW9uPXN1Yl9CUUJObmtVbGNpaTNyMSIKICAgICAgICB9LAogICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg - LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl - dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl - c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz - IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJzdGF0dXMiOiAi - YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg - ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51 - bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUlt - dVVXYnJqekIiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwK - ICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAg - ICAgICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAg - ICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5j - ZWxlZF9hdCI6IDE1MDU3MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1 - NzI0NTAzLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2 - NTAzLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1 - MDMsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs - CiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQi - OiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3Qi - OiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewog - ICAgICAgICAgICAgICJpZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1 - U3oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0 - ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxh - biI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl - ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg - ICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1v - dW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4 - MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg - ICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAg - ICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2 - ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9 - LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk - dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt - YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0 - YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0 - cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAg - ICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAg - ICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAg - InRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNj - cmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpC - IgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMs - CiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVy - Y2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAg - ICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAg - ICAgImlkIjogInN1Yl9CUUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVj - dCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVf - cGVyY2VudCI6IG51bGwsCiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1 - dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6 - IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAg - ICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRf - cGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVy - aW9kX3N0YXJ0IjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxs - LAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjog - ewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRh - IjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFC - M0t1ZTJzT21mNDdOejkyUEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVj - dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0 - ZWQiOiAxNTA1NzI0NDUzLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9 - LAogICAgICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAgICAgImlk - IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0 - MDQxNzE4MjciLAogICAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwK - ICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAg - ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1 - cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg - ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6 - ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg - YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs - CiAgICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxs - LAogICAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog - ICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQog - ICAgICAgICAgICB9CiAgICAgICAgICBdLAogICAgICAgICAgImhhc19tb3Jl - IjogZmFsc2UsCiAgICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAg - ICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlv - bj1zdWJfQlFCSEhQQmpPNTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2 - ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg - ICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl - ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg - ICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwK - ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj - dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo - IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi - bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0 - dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn - ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51 - bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAg - InN0YXJ0IjogMTUwNTcyNDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2 - ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJp - YWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAg - ICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3Rh - bF9jb3VudCI6IDMsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhD - ek50TTA4TlZsU0dOL3N1YnNjcmlwdGlvbnMiCiAgfQp9Cg== + LAogICAgICAgICJjcmVhdGVkIjogMTUxMzI2NDcwNiwKICAgICAgICAiY3Vy + cmVudF9wZXJpb2RfZW5kIjogMTUxNTk0MzEwNiwKICAgICAgICAiY3VycmVu + dF9wZXJpb2Rfc3RhcnQiOiAxNTEzMjY0NzA2LAogICAgICAgICJjdXN0b21l + ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGls + X2R1ZSI6IG51bGwsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAg + ICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAg + ICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAg + ICAgICAgICAgewogICAgICAgICAgICAgICJpZCI6ICJzaV9Cd3NFc3VnQ0pL + bXRXViIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25f + aXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NzA3LAog + ICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJw + bGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt + cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAg + ICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJh + bW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5 + NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg + ICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJs + aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjog + e30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLD + qWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBk + ZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAi + c3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAg + InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAg + ICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAg + ICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAg + ICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vi + c2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQndzRXRSRXhpV2t2 + dWoiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAg + ICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRo + LTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIs + CiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVk + IjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog + ICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAi + TWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFu + cywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAog + ICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAg + ICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAg + ICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUxMzI2NDcw + NiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9w + ZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAg + ICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAg + ICAgICAiaWQiOiAic3ViX0J3c0JHblNidE1ZUHdBIiwKICAgICAgICAib2Jq + ZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2Zl + ZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2Vf + YXV0b21hdGljYWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5k + IjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTEzMjY0NTgxLAog + ICAgICAgICJjcmVhdGVkIjogMTUxMzI2NDU3NiwKICAgICAgICAiY3VycmVu + dF9wZXJpb2RfZW5kIjogMTUxNTk0Mjk3NiwKICAgICAgICAiY3VycmVudF9w + ZXJpb2Rfc3RhcnQiOiAxNTEzMjY0NTc2LAogICAgICAgICJjdXN0b21lciI6 + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGlsX2R1 + ZSI6IG51bGwsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAi + ZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAg + ICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAg + ICAgICAgewogICAgICAgICAgICAgICJpZCI6ICJzaV9Cd3NCeGJlaGh4SHJD + SiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRl + bSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc3LAogICAg + ICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFu + IjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk + dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAg + ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91 + bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5Nzgz + MTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAg + ICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAg + ICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30s + CiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1 + aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1h + bmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3Rh + dGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRy + aWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAg + ICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAg + ICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAi + dG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2Ny + aXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQndzQkduU2J0TVlQd0Ei + CiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg + ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAg + ICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIw + MTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg + ICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjog + MTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg + ICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZh + bF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVu + c3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywg + ZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAg + ICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAg + ICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAg + ICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUxMzI2NDU3NiwK + ICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJj + ZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAg + ICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAgICAiaGFz + X21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAidXJs + IjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1YnNjcmlw + dGlvbnMiCiAgfQp9Cg== http_version: - recorded_at: Mon, 18 Sep 2017 08:54:00 GMT + recorded_at: Thu, 14 Dec 2017 15:18:31 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1 + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BwsEtRExiWkvuj body: encoding: US-ASCII string: '' @@ -1414,8 +1415,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1424,11 +1426,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:00 GMT + - Thu, 14 Dec 2017 15:18:31 GMT Content-Type: - application/json Content-Length: - - '1829' + - '1845' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1444,60 +1446,60 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_UpIaYMWbYIydxW + - req_uJbUAdoNJTt3Ld Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzRXRSRXhpV2t2dWoiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi - OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w - ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO - VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs - bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh - dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0 - N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv - bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi - OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92 - MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV - bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0 - YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt - cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i - amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0 - ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi - aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5 - IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0 - aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu - dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= + OiBudWxsLAogICJjcmVhdGVkIjogMTUxMzI2NDcwNiwKICAiY3VycmVudF9w + ZXJpb2RfZW5kIjogMTUxNTk0MzEwNiwKICAiY3VycmVudF9wZXJpb2Rfc3Rh + cnQiOiAxNTEzMjY0NzA2LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO + VmxTR04iLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRpc2NvdW50 + IjogbnVsbCwKICAiZW5kZWRfYXQiOiBudWxsLAogICJpdGVtcyI6IHsKICAg + ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg + ICAgICJpZCI6ICJzaV9Cd3NFc3VnQ0pLbXRXViIsCiAgICAgICAgIm9iamVj + dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgImNyZWF0ZWQiOiAx + NTEzMjY0NzA3LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw + bGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0 + LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9i + amVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAg + ICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJl + bmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAog + ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlh + bnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBs + b2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii + OiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog + ICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMQogICAgICB9CiAgICBd + LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx + LAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlw + dGlvbj1zdWJfQndzRXRSRXhpV2t2dWoiCiAgfSwKICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAibWV0YWRhdGEiOiB7fSwKICAicGxhbiI6IHsKICAgICJpZCI6 + ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 + MTcxODI3IiwKICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAiYW1vdW50Ijog + MjAwMCwKICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJt + ZXRhZGF0YSI6IHt9LAogICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk + dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt + YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgInN0YXRlbWVudF9kZXNj + cmlwdG9yIjogbnVsbCwKICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwK + ICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0IjogMTUxMzI2NDcwNiwK + ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJjZW50IjogbnVsbCwK + ICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:54:00 GMT + recorded_at: Thu, 14 Dec 2017 15:18:31 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1?at_period_end=true + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BwsEtRExiWkvuj?at_period_end=true body: encoding: US-ASCII string: '' @@ -1514,8 +1516,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1524,11 +1527,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:01 GMT + - Thu, 14 Dec 2017 15:18:32 GMT Content-Type: - application/json Content-Length: - - '1834' + - '1850' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1544,60 +1547,61 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_d1tT8F1v39ZR9M + - req_Vqo6aVOn3Z9brp Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzRXRSRXhpV2t2dWoiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICJjYW5jZWxlZF9hdCI6 - IDE1MDU3MjQ4NDEsCiAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICJjdXJy - ZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICJjdXJyZW50X3Blcmlv - ZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgImN1c3RvbWVyIjogImN1c184Q3pO - dE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi - OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg - ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV8xQjNMMHIy - c09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICJvYmplY3QiOiAic3Vic2Ny - aXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgfQogICAgXSwKICAgICJoYXNf - bW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwi - OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JR - Qk5ua1VsY2lpM3IxIgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1l - dGFkYXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10 - YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg - ICAib2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAi - Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwK - ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7 - fSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVk - aWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2Vt - cGxvaSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51 - bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVh - bnRpdHkiOiAxLAogICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgInN0YXR1cyI6 - ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2Vu - ZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg== + IDE1MTMyNjQ3MTIsCiAgImNyZWF0ZWQiOiAxNTEzMjY0NzA2LAogICJjdXJy + ZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQzMTA2LAogICJjdXJyZW50X3Blcmlv + ZF9zdGFydCI6IDE1MTMyNjQ3MDYsCiAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlz + Y291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjog + ewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7 + CiAgICAgICAgImlkIjogInNpX0J3c0VzdWdDSkttdFdWIiwKICAgICAgICAi + b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRl + ZCI6IDE1MTMyNjQ3MDcsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1y + ZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAg + ICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAs + CiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250 + aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAg + ImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK + ICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOp + dHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBk + J2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3Jp + cHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu + dWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgIH0K + ICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3Vu + dCI6IDEsCiAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vi + c2NyaXB0aW9uPXN1Yl9Cd3NFdFJFeGlXa3Z1aiIKICB9LAogICJsaXZlbW9k + ZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJwbGFuIjogewogICAg + ImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAx + NjA0MDQxNzE4MjciLAogICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICJhbW91 + bnQiOiAyMDAwLAogICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgIm1ldGFkYXRhIjoge30sCiAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm + IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 + LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAic3RhdGVtZW50 + X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjog + bnVsbAogIH0sCiAgInF1YW50aXR5IjogMSwKICAic3RhcnQiOiAxNTEzMjY0 + NzA2LAogICJzdGF0dXMiOiAiYWN0aXZlIiwKICAidGF4X3BlcmNlbnQiOiBu + dWxsLAogICJ0cmlhbF9lbmQiOiBudWxsLAogICJ0cmlhbF9zdGFydCI6IG51 + bGwKfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:54:01 GMT + recorded_at: Thu, 14 Dec 2017 15:18:32 GMT - request: method: get - uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYyTa2sOmf47Nz9tQwdc0m5 body: encoding: US-ASCII string: '' @@ -1614,8 +1618,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1624,11 +1629,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:02 GMT + - Thu, 14 Dec 2017 15:18:33 GMT Content-Type: - application/json Content-Length: - - '498' + - '497' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1644,29 +1649,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_bQCk9FqnGziAxW + - req_ZeYJSYwoqte7oS Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT", + "id": "ii_1BYyTa2sOmf47Nz9tQwdc0m5", "object": "invoiceitem", "amount": 0, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724833, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "date": 1513264702, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, - "invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1", + "invoice": "in_1BYyTf2sOmf47Nz9iSvk8wNs", "livemode": false, "metadata": {}, "period": { - "start": 1505724833, - "end": 1505724833 + "start": 1513264702, + "end": 1513264702 }, "plan": null, "proration": false, @@ -1674,10 +1679,10 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:02 GMT + recorded_at: Thu, 14 Dec 2017 15:18:33 GMT - request: method: get - uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYyTa2sOmf47Nz9tQwdc0m5 body: encoding: US-ASCII string: '' @@ -1694,8 +1699,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1704,11 +1710,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:03 GMT + - Thu, 14 Dec 2017 15:18:34 GMT Content-Type: - application/json Content-Length: - - '498' + - '497' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1724,29 +1730,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_F4XpYgeD0WsFcF + - req_1HfTi1xgGf6hdO Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT", + "id": "ii_1BYyTa2sOmf47Nz9tQwdc0m5", "object": "invoiceitem", "amount": 0, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724833, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "date": 1513264702, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, - "invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1", + "invoice": "in_1BYyTf2sOmf47Nz9iSvk8wNs", "livemode": false, "metadata": {}, "period": { - "start": 1505724833, - "end": 1505724833 + "start": 1513264702, + "end": 1513264702 }, "plan": null, "proration": false, @@ -1754,5 +1760,5 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:03 GMT + recorded_at: Thu, 14 Dec 2017 15:18:34 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_training_with_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_training_with_subscription_success.yml index 9249337e9..38bdbd0c1 100644 --- a/test/vcr_cassettes/reservations_create_for_training_with_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_training_with_subscription_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:16 GMT + - Thu, 14 Dec 2017 15:16:57 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Q73oCbk2VNeMn0 + - req_X1PsdWijgT53mX Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L1A2sOmf47Nz9pZRSgJR1", + "id": "tok_1BYySD2sOmf47Nz97vxC38Fw", "object": "token", "card": { - "id": "card_1B3L192sOmf47Nz9izgfnmoO", + "id": "card_1BYySC2sOmf47Nz9JpXXD7Xj", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724856, + "created": 1513264617, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:16 GMT + recorded_at: Thu, 14 Dec 2017 15:16:57 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:16 GMT + - Thu, 14 Dec 2017 15:16:57 GMT Content-Type: - application/json Content-Length: - - '4148' + - '5894' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,80 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_1qluZhR4CXKAKw + - req_dpLSv6f8g7Mc0r Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q", + "object": "invoiceitem", + "amount": 1000, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1505724866, + "description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM", + "discountable": true, + "invoice": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724866, + "end": 1505724866 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7", + "object": "invoiceitem", + "amount": 0, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1505724865, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L1P2sOmf47Nz9jJ905GpU", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724865, + "end": 1505724865 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L1B2sOmf47Nz9dbDfy0so", + "object": "invoiceitem", + "amount": 0, + "currency": "usd", + "customer": "cus_8CzKe50I0J1gaI", + "date": 1505724857, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "discountable": true, + "invoice": "in_1B3L1D2sOmf47Nz9ujfC1Wx9", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724857, + "end": 1505724857 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3Kty2sOmf47Nz96UsCcZKF", "object": "invoiceitem", @@ -306,13 +371,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:17 GMT + recorded_at: Thu, 14 Dec 2017 15:16:58 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM + string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=Formation+Imprimante+3D+December+11%2C+2017+07%3A00+-+11%3A00+AM headers: Accept: - "*/*; q=0.5, application/xml" @@ -326,10 +391,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '127' + - '126' response: status: code: 200 @@ -338,11 +404,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:17 GMT + - Thu, 14 Dec 2017 15:16:58 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -358,29 +424,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_ussK5bZvs6zz0I + - req_z2psUk7vrfLohX Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L1B2sOmf47Nz9dbDfy0so", + "id": "ii_1BYySE2sOmf47Nz9sEPH6aQI", "object": "invoiceitem", "amount": 0, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724857, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "date": 1513264618, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724857, - "end": 1505724857 + "start": 1513264618, + "end": 1513264618 }, "plan": null, "proration": false, @@ -388,7 +454,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:17 GMT + recorded_at: Thu, 14 Dec 2017 15:16:58 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI @@ -408,8 +474,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -418,7 +485,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:18 GMT + - Thu, 14 Dec 2017 15:17:00 GMT Content-Type: - application/json Content-Length: @@ -438,11 +505,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_OxOB9pRMBEQkSU + - req_S5Eo588yEfpq9a Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -476,7 +543,7 @@ http_interactions: } } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:18 GMT + recorded_at: Thu, 14 Dec 2017 15:17:00 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -496,8 +563,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -508,11 +576,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:19 GMT + - Thu, 14 Dec 2017 15:17:01 GMT Content-Type: - application/json Content-Length: - - '1489' + - '1508' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -528,16 +596,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_zusobGu1GvbD1H + - req_zxhQ9NPupuJCId Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9", + "id": "in_1BYySH2sOmf47Nz9oxZt98nG", "object": "invoice", "amount_due": 0, "application_fee": null, @@ -548,26 +616,27 @@ http_interactions: "closed": false, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724859, + "date": 1513264621, "description": null, "discount": null, + "due_date": null, "ending_balance": null, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L1B2sOmf47Nz9dbDfy0so", + "id": "ii_1BYySE2sOmf47Nz9sEPH6aQI", "object": "line_item", "amount": 0, "currency": "usd", - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724857, - "end": 1505724857 + "start": 1513264618, + "end": 1513264618 }, "plan": null, "proration": false, @@ -578,15 +647,15 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines" + "url": "/v1/invoices/in_1BYySH2sOmf47Nz9oxZt98nG/lines" }, "livemode": false, "metadata": {}, - "next_payment_attempt": 1505728459, - "number": "80bcaa9d6c-0003", + "next_payment_attempt": 1513268221, + "number": "80bcaa9d6c-0005", "paid": false, - "period_end": 1505724859, - "period_start": 1505724859, + "period_end": 1513264621, + "period_start": 1513264621, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -598,10 +667,10 @@ http_interactions: "webhooks_delivered_at": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:19 GMT + recorded_at: Thu, 14 Dec 2017 15:17:01 GMT - request: method: post - uri: https://api.stripe.com/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/pay + uri: https://api.stripe.com/v1/invoices/in_1BYySH2sOmf47Nz9oxZt98nG/pay body: encoding: ASCII-8BIT string: '' @@ -618,8 +687,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '0' response: @@ -630,11 +700,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:20 GMT + - Thu, 14 Dec 2017 15:17:02 GMT Content-Type: - application/json Content-Length: - - '1483' + - '1502' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -650,16 +720,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_P9DMbovAnaLgpz + - req_7WUEncwdCrALNV Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9", + "id": "in_1BYySH2sOmf47Nz9oxZt98nG", "object": "invoice", "amount_due": 0, "application_fee": null, @@ -670,26 +740,27 @@ http_interactions: "closed": true, "currency": "usd", "customer": "cus_8CzKe50I0J1gaI", - "date": 1505724859, + "date": 1513264621, "description": null, "discount": null, + "due_date": null, "ending_balance": 0, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L1B2sOmf47Nz9dbDfy0so", + "id": "ii_1BYySE2sOmf47Nz9sEPH6aQI", "object": "line_item", "amount": 0, "currency": "usd", - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724857, - "end": 1505724857 + "start": 1513264618, + "end": 1513264618 }, "plan": null, "proration": false, @@ -700,15 +771,15 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines" + "url": "/v1/invoices/in_1BYySH2sOmf47Nz9oxZt98nG/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": null, - "number": "80bcaa9d6c-0003", + "number": "80bcaa9d6c-0005", "paid": true, - "period_end": 1505724859, - "period_start": 1505724859, + "period_end": 1513264621, + "period_start": 1513264621, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -717,8 +788,8 @@ http_interactions: "tax": null, "tax_percent": null, "total": 0, - "webhooks_delivered_at": 1505724859 + "webhooks_delivered_at": 1513264621 } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:20 GMT + recorded_at: Thu, 14 Dec 2017 15:17:02 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml b/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml index dad8da8d5..f92e9ad19 100644 --- a/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml +++ b/test/vcr_cassettes/reservations_create_for_training_without_subscription_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:19 GMT + - Thu, 14 Dec 2017 15:17:09 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_SFWzRMsEWkmQaB + - req_og0ZYORw0Eatq6 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0F2sOmf47Nz90Uq0PJwi", + "id": "tok_1BYySP2sOmf47Nz9N5HZKIOJ", "object": "token", "card": { - "id": "card_1B3L0F2sOmf47Nz9aqfWs2B0", + "id": "card_1BYySP2sOmf47Nz9c0o0bkgA", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724799, + "created": 1513264629, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:19 GMT + recorded_at: Thu, 14 Dec 2017 15:17:09 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:22 GMT + - Thu, 14 Dec 2017 15:17:10 GMT Content-Type: - application/json Content-Length: - - '8061' + - '10373' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,101 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_IoO4LMAnWWJpPi + - req_06gRMae5wTvu9Z Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1BYySM2sOmf47Nz9uXaeT3WS", + "object": "invoiceitem", + "amount": 3200, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264626, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", + "discountable": true, + "invoice": null, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264626, + "end": 1513264626 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724830, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "discountable": true, + "invoice": "in_1B3L1k2sOmf47Nz9WrVocGx4", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724830, + "end": 1505724830 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "object": "invoiceitem", + "amount": 3200, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724818, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L0d2sOmf47Nz9sybqyVQx", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724818, + "end": 1505724818 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724803, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "discountable": true, + "invoice": "in_1B3L0N2sOmf47Nz9YpYod08J", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724803, + "end": 1505724803 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3L012sOmf47Nz948JNFRoK", "object": "invoiceitem", @@ -453,13 +539,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:22 GMT + recorded_at: Thu, 14 Dec 2017 15:17:10 GMT - request: - method: post - uri: https://api.stripe.com/v1/invoiceitems + method: delete + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYySM2sOmf47Nz9uXaeT3WS body: - encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+12%3A00+PM + encoding: US-ASCII + string: '' headers: Accept: - "*/*; q=0.5, application/xml" @@ -473,10 +559,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - Content-Length: - - '130' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -485,11 +570,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:23 GMT + - Thu, 14 Dec 2017 15:17:11 GMT Content-Type: - application/json Content-Length: - - '476' + - '61' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -505,29 +590,95 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_TXuF3WscQXuP0C + - req_cLExxQ2dxBPJhD Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", + "deleted": true, + "id": "ii_1BYySM2sOmf47Nz9uXaeT3WS" + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:17:11 GMT +- request: + method: post + uri: https://api.stripe.com/v1/invoiceitems + body: + encoding: UTF-8 + string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+December+11%2C+2017+07%3A00+-+11%3A00+AM + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '129' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:17:16 GMT + Content-Type: + - application/json + Content-Length: + - '475' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_tcc88IDluW2bkq + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", "object": "invoiceitem", "amount": 5100, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724803, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "date": 1513264636, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724803, - "end": 1505724803 + "start": 1513264636, + "end": 1513264636 }, "plan": null, "proration": false, @@ -535,7 +686,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:23 GMT + recorded_at: Thu, 14 Dec 2017 15:17:17 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -555,8 +706,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -565,11 +717,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:24 GMT + - Thu, 14 Dec 2017 15:17:19 GMT Content-Type: - application/json Content-Length: - - '7733' + - '3541' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -585,11 +737,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_d4T6tXihTxKkIM + - req_lYBAvcRFBSojDT Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -599,7 +751,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "default_source": "card_1BYyRH2sOmf47Nz9DntNBKbd", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -611,7 +763,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -644,25 +796,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724789, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -683,7 +836,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -702,137 +855,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBH03MUz5WO4y", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", - "object": "subscription_item", - "created": 1505724494, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -840,18 +863,18 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 1, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:24 GMT + recorded_at: Thu, 14 Dec 2017 15:17:19 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources body: encoding: UTF-8 - string: card=tok_1B3L0F2sOmf47Nz90Uq0PJwi + string: card=tok_1BYySP2sOmf47Nz9N5HZKIOJ headers: Accept: - "*/*; q=0.5, application/xml" @@ -865,8 +888,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -877,7 +901,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:25 GMT + - Thu, 14 Dec 2017 15:17:20 GMT Content-Type: - application/json Content-Length: @@ -897,16 +921,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_gofh7Q1SqT6S9h + - req_xyjFDsmGFdM24g Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "card_1B3L0F2sOmf47Nz9aqfWs2B0", + "id": "card_1BYySP2sOmf47Nz9c0o0bkgA", "object": "card", "address_city": null, "address_country": null, @@ -931,13 +955,13 @@ http_interactions: "tokenization_method": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:25 GMT + recorded_at: Thu, 14 Dec 2017 15:17:20 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt body: encoding: UTF-8 - string: default_source=card_1B3L0F2sOmf47Nz9aqfWs2B0 + string: default_source=card_1BYySP2sOmf47Nz9c0o0bkgA headers: Accept: - "*/*; q=0.5, application/xml" @@ -951,8 +975,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '44' response: @@ -963,11 +988,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:26 GMT + - Thu, 14 Dec 2017 15:17:23 GMT Content-Type: - application/json Content-Length: - - '8461' + - '4269' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -983,11 +1008,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_5CQT08Jg1P126V + - req_wGFqjz9Vhu7XGL Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -997,7 +1022,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3L0F2sOmf47Nz9aqfWs2B0", + "default_source": "card_1BYySP2sOmf47Nz9c0o0bkgA", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -1009,7 +1034,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3L0F2sOmf47Nz9aqfWs2B0", + "id": "card_1BYySP2sOmf47Nz9c0o0bkgA", "object": "card", "address_city": null, "address_country": null, @@ -1034,7 +1059,7 @@ http_interactions: "tokenization_method": null }, { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -1067,25 +1092,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724789, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1106,7 +1132,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -1125,137 +1151,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBH03MUz5WO4y", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", - "object": "subscription_item", - "created": 1505724494, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -1263,12 +1159,12 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 1, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:26 GMT + recorded_at: Thu, 14 Dec 2017 15:17:23 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -1288,8 +1184,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -1300,129 +1197,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:27 GMT - Content-Type: - - application/json - Content-Length: - - '1501' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_lLsyHtioA7pdvd - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "id": "in_1B3L0N2sOmf47Nz9YpYod08J", - "object": "invoice", - "amount_due": 5100, - "application_fee": null, - "attempt_count": 0, - "attempted": false, - "billing": "charge_automatically", - "charge": null, - "closed": false, - "currency": "usd", - "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724807, - "description": null, - "discount": null, - "ending_balance": null, - "forgiven": false, - "lines": { - "object": "list", - "data": [ - { - "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", - "object": "line_item", - "amount": 5100, - "currency": "usd", - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724803, - "end": 1505724803 - }, - "plan": null, - "proration": false, - "quantity": null, - "subscription": null, - "type": "invoiceitem" - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines" - }, - "livemode": false, - "metadata": {}, - "next_payment_attempt": 1505728407, - "number": "d4cc0e661c-0006", - "paid": false, - "period_end": 1508316421, - "period_start": 1505724421, - "receipt_number": null, - "starting_balance": 0, - "statement_descriptor": null, - "subscription": null, - "subtotal": 5100, - "tax": null, - "tax_percent": null, - "total": 5100, - "webhooks_delivered_at": null - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:53:27 GMT -- request: - method: post - uri: https://api.stripe.com/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/pay - body: - encoding: ASCII-8BIT - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - Content-Length: - - '0' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:53:28 GMT + - Thu, 14 Dec 2017 15:17:24 GMT Content-Type: - application/json Content-Length: @@ -1442,46 +1217,47 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Q1JY5c7c5oOcvH + - req_kclwIn90W0dNXG Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L0N2sOmf47Nz9YpYod08J", + "id": "in_1BYySe2sOmf47Nz9l8dNUsHJ", "object": "invoice", "amount_due": 5100, "application_fee": null, - "attempt_count": 1, - "attempted": true, + "attempt_count": 0, + "attempted": false, "billing": "charge_automatically", - "charge": "ch_1B3L0O2sOmf47Nz9Qfo2Mx6j", - "closed": true, + "charge": null, + "closed": false, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724807, + "date": 1513264644, "description": null, "discount": null, - "ending_balance": 0, + "due_date": null, + "ending_balance": null, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", "object": "line_item", "amount": 5100, "currency": "usd", - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724803, - "end": 1505724803 + "start": 1513264636, + "end": 1513264636 }, "plan": null, "proration": false, @@ -1492,15 +1268,15 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines" + "url": "/v1/invoices/in_1BYySe2sOmf47Nz9l8dNUsHJ/lines" }, "livemode": false, "metadata": {}, - "next_payment_attempt": null, - "number": "d4cc0e661c-0006", - "paid": true, - "period_end": 1508316421, - "period_start": 1505724421, + "next_payment_attempt": 1513268244, + "number": "d4cc0e661c-0010", + "paid": false, + "period_end": 1515942964, + "period_start": 1513264564, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, @@ -1509,13 +1285,137 @@ http_interactions: "tax": null, "tax_percent": null, "total": 5100, - "webhooks_delivered_at": 1505724807 + "webhooks_delivered_at": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:29 GMT + recorded_at: Thu, 14 Dec 2017 15:17:24 GMT +- request: + method: post + uri: https://api.stripe.com/v1/invoices/in_1BYySe2sOmf47Nz9l8dNUsHJ/pay + body: + encoding: ASCII-8BIT + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '0' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:17:25 GMT + Content-Type: + - application/json + Content-Length: + - '1539' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_1Bo4eX02AIn0Is + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "in_1BYySe2sOmf47Nz9l8dNUsHJ", + "object": "invoice", + "amount_due": 5100, + "application_fee": null, + "attempt_count": 1, + "attempted": true, + "billing": "charge_automatically", + "charge": "ch_1BYySf2sOmf47Nz99A5GbPEF", + "closed": true, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264644, + "description": null, + "discount": null, + "due_date": null, + "ending_balance": 0, + "forgiven": false, + "lines": { + "object": "list", + "data": [ + { + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", + "object": "line_item", + "amount": 5100, + "currency": "usd", + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", + "discountable": true, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264636, + "end": 1513264636 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null, + "type": "invoiceitem" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1BYySe2sOmf47Nz9l8dNUsHJ/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "d4cc0e661c-0010", + "paid": true, + "period_end": 1515942964, + "period_start": 1513264564, + "receipt_number": null, + "starting_balance": 0, + "statement_descriptor": null, + "subscription": null, + "subtotal": 5100, + "tax": null, + "tax_percent": null, + "total": 5100, + "webhooks_delivered_at": 1513264644 + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:17:26 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0F2sOmf47Nz9aqfWs2B0 + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1BYySP2sOmf47Nz9c0o0bkgA body: encoding: US-ASCII string: '' @@ -1532,8 +1432,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1542,7 +1443,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:29 GMT + - Thu, 14 Dec 2017 15:17:27 GMT Content-Type: - application/json Content-Length: @@ -1562,18 +1463,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_uZzsRyDtYBkcsg + - req_zo8XXvE5RSSlJg Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "card_1B3L0F2sOmf47Nz9aqfWs2B0" + "id": "card_1BYySP2sOmf47Nz9c0o0bkgA" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:30 GMT + recorded_at: Thu, 14 Dec 2017 15:17:27 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml index a7370e9b5..1cc33cc66 100644 --- a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml +++ b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_retrieve_invoice_from_stripe.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://api.stripe.com/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks + uri: https://api.stripe.com/v1/invoices/in_1BYyTO2sOmf47Nz952qqhaQ0 body: encoding: US-ASCII string: '' @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -29,11 +30,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:17 GMT + - Thu, 14 Dec 2017 15:18:19 GMT Content-Type: - application/json Content-Length: - - '2993' + - '3002' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -49,36 +50,37 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Yq5lCXzK2PtgOo + - req_p5RWdwGBfBMGrg Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "in_1B3L052sOmf47Nz9zx9vIGks", + "id": "in_1BYyTO2sOmf47Nz952qqhaQ0", "object": "invoice", "amount_due": 3825, "application_fee": null, "attempt_count": 1, "attempted": true, "billing": "charge_automatically", - "charge": "ch_1B3L052sOmf47Nz9yFwS4Xua", + "charge": "ch_1BYyTO2sOmf47Nz99247G4T5", "closed": true, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724789, + "date": 1513264690, "description": null, "discount": null, + "due_date": null, "ending_balance": 0, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L012sOmf47Nz948JNFRoK", + "id": "ii_1BYyTK2sOmf47Nz93VzSjIeZ", "object": "line_item", "amount": -675, "currency": "usd", @@ -87,8 +89,8 @@ http_interactions: "livemode": false, "metadata": {}, "period": { - "start": 1505724785, - "end": 1505724785 + "start": 1513264686, + "end": 1513264686 }, "plan": null, "proration": false, @@ -97,17 +99,17 @@ http_interactions: "type": "invoiceitem" }, { - "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", "object": "line_item", "amount": 1500, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724784, - "end": 1505724784 + "start": 1513264685, + "end": 1513264685 }, "plan": null, "proration": false, @@ -116,7 +118,7 @@ http_interactions: "type": "invoiceitem" }, { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "line_item", "amount": 3000, "currency": "usd", @@ -125,8 +127,8 @@ http_interactions: "livemode": false, "metadata": {}, "period": { - "start": 1505724789, - "end": 1508316789 + "start": 1513264690, + "end": 1515943090 }, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -145,31 +147,31 @@ http_interactions: "proration": false, "quantity": 1, "subscription": null, - "subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i", + "subscription_item": "si_BwsD3JfMx4qtyf", "type": "subscription" } ], "has_more": false, "total_count": 3, - "url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines" + "url": "/v1/invoices/in_1BYyTO2sOmf47Nz952qqhaQ0/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": null, - "number": "d4cc0e661c-0005", + "number": "d4cc0e661c-0011", "paid": true, - "period_end": 1505724789, - "period_start": 1505724421, + "period_end": 1513264690, + "period_start": 1513264564, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, - "subscription": "sub_BQBMKKS6nutZLr", + "subscription": "sub_BwsD5zY39xMYcO", "subtotal": 3825, "tax": null, "tax_percent": null, "total": 3825, - "webhooks_delivered_at": 1505724789 + "webhooks_delivered_at": 1513264691 } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:17 GMT + recorded_at: Thu, 14 Dec 2017 15:18:19 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml index 63fef2cbe..7358956c5 100644 --- a/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml +++ b/test/vcr_cassettes/reservations_machine_and_plan_using_coupon_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:02 GMT + - Thu, 14 Dec 2017 15:17:57 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_vbKmqleGbrZcOb + - req_Gbblmbi3d4FG3N Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3Kzy2sOmf47Nz9sGjFTkgo", + "id": "tok_1BYyTB2sOmf47Nz9TJ5R5OhH", "object": "token", "card": { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyTA2sOmf47Nz94Mjuw15e", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724782, + "created": 1513264677, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:02 GMT + recorded_at: Thu, 14 Dec 2017 15:17:57 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:03 GMT + - Thu, 14 Dec 2017 15:18:03 GMT Content-Type: - application/json Content-Length: - - '6932' + - '10401' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,143 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_BimRmUWzO804MR + - req_EKdyWwhN7iyBUe Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264636, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", + "discountable": true, + "invoice": "in_1BYySe2sOmf47Nz9l8dNUsHJ", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264636, + "end": 1513264636 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724830, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "discountable": true, + "invoice": "in_1B3L1k2sOmf47Nz9WrVocGx4", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724830, + "end": 1505724830 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", + "object": "invoiceitem", + "amount": 3200, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724818, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L0d2sOmf47Nz9sybqyVQx", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724818, + "end": 1505724818 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724803, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM", + "discountable": true, + "invoice": "in_1B3L0N2sOmf47Nz9YpYod08J", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724803, + "end": 1505724803 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L012sOmf47Nz948JNFRoK", + "object": "invoiceitem", + "amount": -675, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724785, + "description": "coupon SUNNYFABLAB", + "discountable": false, + "invoice": "in_1B3L052sOmf47Nz9zx9vIGks", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724785, + "end": 1505724785 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "object": "invoiceitem", + "amount": 1500, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724784, + "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "discountable": true, + "invoice": "in_1B3L052sOmf47Nz9zx9vIGks", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724784, + "end": 1505724784 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3Kuo2sOmf47Nz9egmtGncE", "object": "invoiceitem", @@ -411,13 +539,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:03 GMT + recorded_at: Thu, 14 Dec 2017 15:18:03 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&amount=1500¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+14%3A00+-+03%3A00+PM + string: customer=cus_8Di1wjdVktv5kt&amount=1500¤cy=usd&description=FORM1%2B+imprimante+3D+December+10%2C+2017+13%3A00+-+02%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -431,10 +559,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '129' + - '128' response: status: code: 200 @@ -443,11 +572,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:04 GMT + - Thu, 14 Dec 2017 15:18:05 GMT Content-Type: - application/json Content-Length: - - '473' + - '472' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -463,29 +592,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_3uaSnoGLh6fY1j + - req_wK6FNBwUYVo71y Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", "object": "invoiceitem", "amount": 1500, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724784, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264685, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724784, - "end": 1505724784 + "start": 1513264685, + "end": 1513264685 }, "plan": null, "proration": false, @@ -493,7 +622,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:05 GMT + recorded_at: Thu, 14 Dec 2017 15:18:05 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -513,8 +642,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '83' response: @@ -525,7 +655,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:05 GMT + - Thu, 14 Dec 2017 15:18:06 GMT Content-Type: - application/json Content-Length: @@ -545,29 +675,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_PvqUnWyunXe4ET + - req_0pB9fu7jLomrTV Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L012sOmf47Nz948JNFRoK", + "id": "ii_1BYyTK2sOmf47Nz93VzSjIeZ", "object": "invoiceitem", "amount": -675, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724785, + "date": 1513264686, "description": "coupon SUNNYFABLAB", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724785, - "end": 1505724785 + "start": 1513264686, + "end": 1513264686 }, "plan": null, "proration": false, @@ -575,7 +705,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:05 GMT + recorded_at: Thu, 14 Dec 2017 15:18:06 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -595,8 +725,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -605,11 +736,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:06 GMT + - Thu, 14 Dec 2017 15:18:08 GMT Content-Type: - application/json Content-Length: - - '5626' + - '3541' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -625,11 +756,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_RWcPI7fiydE5H4 + - req_cTY0roNKz1ryhA Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -639,7 +770,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh", + "default_source": "card_1BYyRH2sOmf47Nz9DntNBKbd", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -651,7 +782,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3KvG2sOmf47Nz9vdggtLMh", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -684,25 +815,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBH03MUz5WO4y", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724494, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -723,7 +855,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -742,72 +874,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -815,12 +882,12 @@ http_interactions: } ], "has_more": false, - "total_count": 2, + "total_count": 1, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:06 GMT + recorded_at: Thu, 14 Dec 2017 15:18:08 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -840,8 +907,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -850,11 +918,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:07 GMT + - Thu, 14 Dec 2017 15:18:09 GMT Content-Type: - application/json Content-Length: - - '5626' + - '3541' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -870,11 +938,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Q3pIj8r3XdrR0g + - req_GXFflAytGdGtsR Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -884,7 +952,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh", + "default_source": "card_1BYyRH2sOmf47Nz9DntNBKbd", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -896,7 +964,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3KvG2sOmf47Nz9vdggtLMh", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -929,25 +997,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBH03MUz5WO4y", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724494, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -968,7 +1037,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -987,72 +1056,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -1060,18 +1064,18 @@ http_interactions: } ], "has_more": false, - "total_count": 2, + "total_count": 1, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:07 GMT + recorded_at: Thu, 14 Dec 2017 15:18:10 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions body: encoding: UTF-8 - string: plan=mensuel-standard-month-20160404171519&source=tok_1B3Kzy2sOmf47Nz9sGjFTkgo + string: plan=mensuel-standard-month-20160404171519&source=tok_1BYyTB2sOmf47Nz9TJ5R5OhH headers: Accept: - "*/*; q=0.5, application/xml" @@ -1085,8 +1089,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: @@ -1097,11 +1102,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:10 GMT + - Thu, 14 Dec 2017 15:18:11 GMT Content-Type: - application/json Content-Length: - - '1711' + - '1727' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1117,34 +1122,35 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_uxFA9gyDW762gv + - req_xLiUuMeJZv02xZ Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": false, "canceled_at": null, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1165,7 +1171,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -1184,14 +1190,14 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:10 GMT + recorded_at: Thu, 14 Dec 2017 15:18:11 GMT - request: method: get uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1 @@ -1211,8 +1217,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1221,11 +1228,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:10 GMT + - Thu, 14 Dec 2017 15:18:12 GMT Content-Type: - application/json Content-Length: - - '3530' + - '3543' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1241,11 +1248,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_xIAGJ2MsU1Gmkp + - req_61sWFGfYneayfA Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -1253,27 +1260,28 @@ http_interactions: "object": "list", "data": [ { - "id": "in_1B3L052sOmf47Nz9zx9vIGks", + "id": "in_1BYyTO2sOmf47Nz952qqhaQ0", "object": "invoice", "amount_due": 3825, "application_fee": null, "attempt_count": 1, "attempted": true, "billing": "charge_automatically", - "charge": "ch_1B3L052sOmf47Nz9yFwS4Xua", + "charge": "ch_1BYyTO2sOmf47Nz99247G4T5", "closed": true, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724789, + "date": 1513264690, "description": null, "discount": null, + "due_date": null, "ending_balance": 0, "forgiven": false, "lines": { "object": "list", "data": [ { - "id": "ii_1B3L012sOmf47Nz948JNFRoK", + "id": "ii_1BYyTK2sOmf47Nz93VzSjIeZ", "object": "line_item", "amount": -675, "currency": "usd", @@ -1282,8 +1290,8 @@ http_interactions: "livemode": false, "metadata": {}, "period": { - "start": 1505724785, - "end": 1505724785 + "start": 1513264686, + "end": 1513264686 }, "plan": null, "proration": false, @@ -1292,17 +1300,17 @@ http_interactions: "type": "invoiceitem" }, { - "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", "object": "line_item", "amount": 1500, "currency": "usd", - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, "livemode": false, "metadata": {}, "period": { - "start": 1505724784, - "end": 1505724784 + "start": 1513264685, + "end": 1513264685 }, "plan": null, "proration": false, @@ -1311,7 +1319,7 @@ http_interactions: "type": "invoiceitem" }, { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "line_item", "amount": 3000, "currency": "usd", @@ -1320,8 +1328,8 @@ http_interactions: "livemode": false, "metadata": {}, "period": { - "start": 1505724789, - "end": 1508316789 + "start": 1513264690, + "end": 1515943090 }, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1340,37 +1348,37 @@ http_interactions: "proration": false, "quantity": 1, "subscription": null, - "subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i", + "subscription_item": "si_BwsD3JfMx4qtyf", "type": "subscription" } ], "has_more": false, "total_count": 3, - "url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines" + "url": "/v1/invoices/in_1BYyTO2sOmf47Nz952qqhaQ0/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": null, - "number": "d4cc0e661c-0005", + "number": "d4cc0e661c-0011", "paid": true, - "period_end": 1505724789, - "period_start": 1505724421, + "period_end": 1513264690, + "period_start": 1513264564, "receipt_number": null, "starting_balance": 0, "statement_descriptor": null, - "subscription": "sub_BQBMKKS6nutZLr", + "subscription": "sub_BwsD5zY39xMYcO", "subtotal": 3825, "tax": null, "tax_percent": null, "total": 3825, - "webhooks_delivered_at": 1505724789 + "webhooks_delivered_at": 1513264691 } ], "has_more": true, "url": "/v1/invoices" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:11 GMT + recorded_at: Thu, 14 Dec 2017 15:18:12 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -1390,8 +1398,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1400,11 +1409,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:11 GMT + - Thu, 14 Dec 2017 15:18:13 GMT Content-Type: - application/json Content-Length: - - '7728' + - '5665' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1420,11 +1429,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_TovqsTQa37G0Rf + - req_xgq506Cqnfl0HM Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -1434,7 +1443,7 @@ http_interactions: "account_balance": 0, "created": 1459948888, "currency": "usd", - "default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "default_source": "card_1BYyTA2sOmf47Nz94Mjuw15e", "delinquent": false, "description": "Jean Dupond", "discount": null, @@ -1446,7 +1455,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", + "id": "card_1BYyTA2sOmf47Nz94Mjuw15e", "object": "card", "address_city": null, "address_country": null, @@ -1479,25 +1488,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": false, "canceled_at": null, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1518,7 +1528,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -1537,32 +1547,33 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null }, { - "id": "sub_BQBH03MUz5WO4y", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724494, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1583,7 +1594,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -1602,72 +1613,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, @@ -1675,15 +1621,15 @@ http_interactions: } ], "has_more": false, - "total_count": 3, + "total_count": 2, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:11 GMT + recorded_at: Thu, 14 Dec 2017 15:18:13 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BwsD5zY39xMYcO body: encoding: US-ASCII string: '' @@ -1700,8 +1646,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1710,11 +1657,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:12 GMT + - Thu, 14 Dec 2017 15:18:14 GMT Content-Type: - application/json Content-Length: - - '1711' + - '1727' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1730,34 +1677,35 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_BUffG3CwZVDTAr + - req_QN6Z5kGDqB2pOv Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": false, "canceled_at": null, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1778,7 +1726,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -1797,17 +1745,17 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:12 GMT + recorded_at: Thu, 14 Dec 2017 15:18:14 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr?at_period_end=true + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BwsD5zY39xMYcO?at_period_end=true body: encoding: US-ASCII string: '' @@ -1824,8 +1772,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1834,11 +1783,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:13 GMT + - Thu, 14 Dec 2017 15:18:15 GMT Content-Type: - application/json Content-Length: - - '1716' + - '1732' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1854,34 +1803,35 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_9qV2Y6X7g0d8xs + - req_I15NHFKMd3Xosg Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_BQBMKKS6nutZLr", + "id": "sub_BwsD5zY39xMYcO", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, + "canceled_at": 1513264695, + "created": 1513264690, + "current_period_end": 1515943090, + "current_period_start": 1513264690, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", + "id": "si_BwsD3JfMx4qtyf", "object": "subscription_item", - "created": 1505724789, + "created": 1513264691, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1902,7 +1852,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" + "url": "/v1/subscription_items?subscription=sub_BwsD5zY39xMYcO" }, "livemode": false, "metadata": {}, @@ -1921,17 +1871,17 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724789, + "start": 1513264690, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:13 GMT + recorded_at: Thu, 14 Dec 2017 15:18:15 GMT - request: method: get - uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYyTJ2sOmf47Nz9zcESvCJe body: encoding: US-ASCII string: '' @@ -1948,8 +1898,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1958,11 +1909,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:14 GMT + - Thu, 14 Dec 2017 15:18:17 GMT Content-Type: - application/json Content-Length: - - '498' + - '497' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1978,29 +1929,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_gFmWwKxUTE3l6H + - req_GMNDKsewhX2YVd Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", "object": "invoiceitem", "amount": 1500, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724784, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264685, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, - "invoice": "in_1B3L052sOmf47Nz9zx9vIGks", + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", "livemode": false, "metadata": {}, "period": { - "start": 1505724784, - "end": 1505724784 + "start": 1513264685, + "end": 1513264685 }, "plan": null, "proration": false, @@ -2008,10 +1959,10 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:14 GMT + recorded_at: Thu, 14 Dec 2017 15:18:17 GMT - request: method: get - uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye + uri: https://api.stripe.com/v1/invoiceitems/ii_1BYyTJ2sOmf47Nz9zcESvCJe body: encoding: US-ASCII string: '' @@ -2028,8 +1979,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -2038,11 +1990,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:15 GMT + - Thu, 14 Dec 2017 15:18:18 GMT Content-Type: - application/json Content-Length: - - '498' + - '497' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -2058,29 +2010,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_PPoPtWzqAFdG2L + - req_X3PIsFSsyAY8Zg Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L002sOmf47Nz9FjqPZEye", + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", "object": "invoiceitem", "amount": 1500, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724784, - "description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM", + "date": 1513264685, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", "discountable": true, - "invoice": "in_1B3L052sOmf47Nz9zx9vIGks", + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", "livemode": false, "metadata": {}, "period": { - "start": 1505724784, - "end": 1505724784 + "start": 1513264685, + "end": 1513264685 }, "plan": null, "proration": false, @@ -2088,5 +2040,5 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:15 GMT + recorded_at: Thu, 14 Dec 2017 15:18:18 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml b/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml index a446435a8..02d8c2455 100644 --- a/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml +++ b/test/vcr_cassettes/reservations_training_with_expired_coupon_error.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:48 GMT + - Thu, 14 Dec 2017 15:18:35 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_7ARWgjiB69On3h + - req_KMROhlO5Nkbk3a Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L0i2sOmf47Nz9NLjcWb4n", + "id": "tok_1BYyTn2sOmf47Nz9LTDfT8V0", "object": "token", "card": { - "id": "card_1B3L0i2sOmf47Nz9LsdJmm5g", + "id": "card_1BYyTn2sOmf47Nz9GS7ahF4Z", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724828, + "created": 1513264715, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:48 GMT + recorded_at: Thu, 14 Dec 2017 15:18:36 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:49 GMT + - Thu, 14 Dec 2017 15:18:36 GMT Content-Type: - application/json Content-Length: - - '9230' + - '11529' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,17 +145,101 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_XjlZoFBGR3Fwpu + - req_lqMxqsZcDSN1eL Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "object": "list", "data": [ + { + "id": "ii_1BYyTK2sOmf47Nz93VzSjIeZ", + "object": "invoiceitem", + "amount": -675, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264686, + "description": "coupon SUNNYFABLAB", + "discountable": false, + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264686, + "end": 1513264686 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1BYyTJ2sOmf47Nz9zcESvCJe", + "object": "invoiceitem", + "amount": 1500, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264685, + "description": "FORM1+ imprimante 3D December 10, 2017 13:00 - 02:00 PM", + "discountable": true, + "invoice": "in_1BYyTO2sOmf47Nz952qqhaQ0", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264685, + "end": 1513264685 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1BYySW2sOmf47Nz9UnnvBAh3", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264636, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 11:00 AM", + "discountable": true, + "invoice": "in_1BYySe2sOmf47Nz9l8dNUsHJ", + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264636, + "end": 1513264636 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, + { + "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "object": "invoiceitem", + "amount": 5100, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1505724830, + "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "discountable": true, + "invoice": "in_1B3L1k2sOmf47Nz9WrVocGx4", + "livemode": false, + "metadata": {}, + "period": { + "start": 1505724830, + "end": 1505724830 + }, + "plan": null, + "proration": false, + "quantity": null, + "subscription": null + }, { "id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z", "object": "invoiceitem", @@ -495,13 +581,13 @@ http_interactions: "url": "/v1/invoiceitems" } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:49 GMT + recorded_at: Thu, 14 Dec 2017 15:18:36 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+September+18%2C+2017+08%3A00+-+09%3A00+AM + string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+December+11%2C+2017+07%3A00+-+08%3A00+AM headers: Accept: - "*/*; q=0.5, application/xml" @@ -515,10 +601,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '130' + - '129' response: status: code: 200 @@ -527,11 +614,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:53:50 GMT + - Thu, 14 Dec 2017 15:18:37 GMT Content-Type: - application/json Content-Length: - - '476' + - '475' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -547,29 +634,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_dN98nnq9OtFfFX + - req_dvk3QZvjLMgO1s Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", + "id": "ii_1BYyTp2sOmf47Nz9ukiXGo41", "object": "invoiceitem", "amount": 5100, "currency": "usd", "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724830, - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", + "date": 1513264717, + "description": "Formation Imprimante 3D December 11, 2017 07:00 - 08:00 AM", "discountable": true, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724830, - "end": 1505724830 + "start": 1513264717, + "end": 1513264717 }, "plan": null, "proration": false, @@ -577,5 +664,5 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:53:50 GMT + recorded_at: Thu, 14 Dec 2017 15:18:37 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml index a92dbce0d..ef42b1577 100644 --- a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml +++ b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:47 GMT + - Thu, 14 Dec 2017 15:16:41 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_Ti0Tujzc4pghIA + - req_01SGV7W06EbkrR Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3Kzj2sOmf47Nz9z8i09Ngi", + "id": "tok_1BYyRw2sOmf47Nz9HmDIpULp", "object": "token", "card": { - "id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb", + "id": "card_1BYyRw2sOmf47Nz9hJyfmA1B", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724767, + "created": 1513264600, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:52:47 GMT + recorded_at: Thu, 14 Dec 2017 15:16:41 GMT - request: method: get uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100 @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:48 GMT + - Thu, 14 Dec 2017 15:16:41 GMT Content-Type: - application/json Content-Length: - - '8055' + - '13138' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,201 +145,314 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_7l7k6uAsnv9DOJ + - req_Pxjb6jVCbKGvLt Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNLdlMyc09tZjQ3Tno5ZFJlUGxEN3YiLAogICAgICAi + ICJpZCI6ICJpaV8xQll5Ulgyc09tZjQ3Tno5S2Fzd2YyOGYiLAogICAgICAi b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDUw - MiwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUxMzI2NDU3 + NSwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f - MUIzS3ZUMnNPbWY0N056OURWdjVyT0xRIiwKICAgICAgImxpdmVtb2RlIjog + MUJZeVJZMnNPbWY0N056OW80ejRxUGxkIiwKICAgICAgImxpdmVtb2RlIjog ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog - ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDIsCiAgICAgICAgImVuZCI6 - IDE1MDU3MjQ1MDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ewogICAgICAgICJzdGFydCI6IDE1MTMyNjQ1NzUsCiAgICAgICAgImVuZCI6 + IDE1MTMyNjQ1NzUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg - ICAiaWQiOiAiaWlfMUIzS3Y1MnNPbWY0N056OXpNZ21KQmpuIiwKICAgICAg + ICAiaWQiOiAiaWlfMUIzTDFzMnNPbWY0N056OVpEcDRQQzVqIiwKICAgICAg Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAw MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 - ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ0 - NzksCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ5 + MDAsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg ICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImlu - XzFCM0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6 + XzFCM0wxdDJzT21mNDdOejk3c3pmeVpBUSIsCiAgICAgICJsaXZlbW9kZSI6 IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6 - IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc5LAogICAgICAgICJlbmQi - OiAxNTA1NzI0NDc5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAg + IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0OTAwLAogICAgICAgICJlbmQi + OiAxNTA1NzI0OTAwCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAg ICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxs LAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAg - ICAgImlkIjogImlpXzFCM0t2NDJzT21mNDdOejk3b1NLYnhhSSIsCiAgICAg - ICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2 - NTAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIi + ICAgImlkIjogImlpXzFCM0wxMTJzT21mNDdOejlIaGRSaDY3ViIsCiAgICAg + ICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEw + MDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIi OiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0 - NDc4LAogICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFC - IiwKICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2lj - ZSI6ICJpbl8xQjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2 - ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJw - ZXJpb2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OCwKICAgICAg - ICAiZW5kIjogMTUwNTcyNDQ3OAogICAgICB9LAogICAgICAicGxhbiI6IG51 - bGwsCiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5 - IjogbnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAg - ICB7CiAgICAgICJpZCI6ICJpaV8xQjNLdjMyc09tZjQ3Tno5blUzc0JtaU4i - LAogICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3Vu - dCI6IDUxMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjog - MTUwNTcyNDQ3NywKICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOp - cmlxdWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQ - TVxuU2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNl - cHRlbWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAg - ImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFC - M0t2OTJzT21mNDdOejlrckFvbmg1WSIsCiAgICAgICJsaXZlbW9kZSI6IGZh - bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDc3LAogICAgICAgICJlbmQiOiAx - NTA1NzI0NDc3CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg - InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog - ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg - ImlkIjogImlpXzFCM0t1YzJzT21mNDdOejk2ajBlMzlZbiIsCiAgICAgICJv - YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs - CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDUw - LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg - ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x - QjNLdWUyc09tZjQ3Tno5VFZrM0sxTVkiLAogICAgICAibGl2ZW1vZGUiOiBm + ODQ3LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAg + ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJp + bl8xQjNMMTUyc09tZjQ3Tno5ejMxVW1XUzciLAogICAgICAibGl2ZW1vZGUi + OiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2Qi + OiB7CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDg0NywKICAgICAgICAiZW5k + IjogMTUwNTcyNDg0NwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAg + ICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVs + bCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAg + ICAgICJpZCI6ICJpaV8xQjNMMTAyc09tZjQ3Tno5YmNYazlJOTUiLAogICAg + ICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDM0 + MDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIi + OiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0 + ODQ2LAogICAgICAiZGVzY3JpcHRpb24iOiAiRk9STTErIGltcHJpbWFudGUg + M0QgU2VwdGVtYmVyIDE3LCAyMDE3IDE0OjAwIC0gMDM6MDAgUE0iLAogICAg + ICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5f + MUIzTDE1MnNPbWY0N056OXozMVVtV1M3IiwKICAgICAgImxpdmVtb2RlIjog + ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog + ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4NDYsCiAgICAgICAgImVuZCI6 + IDE1MDU3MjQ4NDYKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws + CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg + ICAiaWQiOiAiaWlfMUIzTDBvMnNPbWY0N056OUVCVlN6WTM2IiwKICAgICAg + Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAw + MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ4 + MzQsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg + ICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImlu + XzFCM0wwcjJzT21mNDdOejk0Wk15S1VwMSIsCiAgICAgICJsaXZlbW9kZSI6 + IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6 + IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODM0LAogICAgICAgICJlbmQi + OiAxNTA1NzI0ODM0CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAg + ICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxs + LAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAg + ICAgImlkIjogImlpXzFCM0wwbjJzT21mNDdOejlBdXpxbFhrVCIsCiAgICAg + ICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMCwK + ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj + dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ4MzMs + CiAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50ZSAz + RCBTZXB0ZW1iZXIgMTgsIDIwMTcgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAg + ICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8x + QjNMMHIyc09tZjQ3Tno5NFpNeUtVcDEiLAogICAgICAibGl2ZW1vZGUiOiBm YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 - CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ1MCwKICAgICAgICAiZW5kIjog - MTUwNTcyNDQ1MAogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg + CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDgzMywKICAgICAgICAiZW5kIjog + MTUwNTcyNDgzMwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xQjNLdWIyc09tZjQ3Tno5aGtpMDJ6UlciLAogICAgICAi - b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDAsCiAg - ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz - XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDQ5LAog - ICAgICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJpbWFudGUgM0Qg - U2VwdGVtYmVyIDE4LCAyMDE3IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAi + ICJpZCI6ICJpaV8xQjNLem0yc09tZjQ3Tno5dTJ3V0Foa2IiLAogICAgICAi + b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw + LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDc3 + MCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg + ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f + MUIzS3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjog + ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog + ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NzAsCiAgICAgICAgImVuZCI6 + IDE1MDU3MjQ3NzAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg + ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws + CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAg + ICAiaWQiOiAiaWlfMUIzS3psMnNPbWY0N056OW8xdW5abXN2IiwKICAgICAg + Im9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1 + MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ3 + NjksCiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIi + LAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNl + IjogImluXzFCM0t6cTJzT21mNDdOejlJWDdybEhTdSIsCiAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBl + cmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY5LAogICAgICAg + ICJlbmQiOiAxNTA1NzI0NzY5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVs + bCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHki + OiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAg + IHsKICAgICAgImlkIjogImlpXzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIs + CiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50 + IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3Vz + dG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAx + NTA1NzI0NzY4LAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFkaW8gbnVtw6ly + aXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBN + XG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2Vw + dGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE0iLAogICAgICAi ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz - S3VlMnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFs + S3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjogZmFs c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1 - MDU3MjQ0NDkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + ICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAgICAgImVuZCI6IDE1 + MDU3MjQ3NjgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9i + aWQiOiAiaWlfMUIzS3ZTMnNPbWY0N056OWRSZVBsRDd2IiwKICAgICAgIm9i amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTks + dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ1MDIs CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC - M0t0cjJzT21mNDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZh + M0t2VDJzT21mNDdOejlEVnY1ck9MUSIsCiAgICAgICJsaXZlbW9kZSI6IGZh bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAic3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAx - NTA1NzI0Mzk5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg + ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NTAyLAogICAgICAgICJlbmQiOiAx + NTA1NzI0NTAyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg - ImlkIjogImlpXzFCM0t0bjJzT21mNDdOejlMWVV3NzNzQiIsCiAgICAgICJv - YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogMzQwMCwK - ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTks - CiAgICAgICJkZXNjcmlwdGlvbiI6ICJGT1JNMSsgaW1wcmltYW50ZSAzRCBT - ZXB0ZW1iZXIgMTcsIDIwMTcgMTQ6MDAgLSAwMzowMCBQTSIsCiAgICAgICJk + ImlkIjogImlpXzFCM0t2NTJzT21mNDdOejl6TWdtSkJqbiIsCiAgICAgICJv + YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAs + CiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAi + Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0NDc5 + LAogICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAg + ImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8x + QjNLdjkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 + CiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3OSwKICAgICAgICAiZW5kIjog + MTUwNTcyNDQ3OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg + ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK + ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg + ICJpZCI6ICJpaV8xQjNLdjQyc09tZjQ3Tno5N29TS2J4YUkiLAogICAgICAi + b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC03NjUw + LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog + ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ3 + OCwKICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIs + CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui + OiAiaW5fMUIzS3Y5MnNPbWY0N056OWtyQW9uaDVZIiwKICAgICAgImxpdmVt + b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy + aW9kIjogewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NzgsCiAgICAgICAg + ImVuZCI6IDE1MDU3MjQ0NzgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs + LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6 + IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg + ewogICAgICAiaWQiOiAiaWlfMUIzS3YzMnNPbWY0N056OW5VM3NCbWlOIiwK + ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi + OiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0 + b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1 + MDU3MjQ0NzcsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJp + cXVlIFxuU2VwdGVtYmVyIDI4LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1c + blNlcHRlbWJlciAyOSwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNXG5TZXB0 + ZW1iZXIgMzAsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTSIsCiAgICAgICJk aXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL + djkyc09tZjQ3Tno5a3JBb25oNVkiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz + ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg + ICAgICAgInN0YXJ0IjogMTUwNTcyNDQ3NywKICAgICAgICAiZW5kIjogMTUw + NTcyNDQ3NwogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw + cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg + ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp + ZCI6ICJpaV8xQjNLdWMyc09tZjQ3Tno5NmowZTM5WW4iLAogICAgICAib2Jq + ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog + ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 + c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ1MCwK + ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk + aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIz + S3VlMnNPbWY0N056OVRWazNLMU1ZIiwKICAgICAgImxpdmVtb2RlIjogZmFs + c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog + ICAgICAgICJzdGFydCI6IDE1MDU3MjQ0NTAsCiAgICAgICAgImVuZCI6IDE1 + MDU3MjQ0NTAKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg + ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi + aWQiOiAiaWlfMUIzS3ViMnNPbWY0N056OWhraTAyelJXIiwKICAgICAgIm9i + amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAwLAogICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1c184 + Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDQ0OSwKICAg + ICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1hbnRlIDNEIFNl + cHRlbWJlciAxOCwgMjAxNyAwODowMCAtIDEyOjAwIFBNIiwKICAgICAgImRp + c2NvdW50YWJsZSI6IHRydWUsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t1 + ZTJzT21mNDdOejlUVmszSzFNWSIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg + ICAgICAic3RhcnQiOiAxNTA1NzI0NDQ5LAogICAgICAgICJlbmQiOiAxNTA1 + NzI0NDQ5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk + IjogImlpXzFCM0t0bjJzT21mNDdOejlHeDlvZUt3diIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTEwMDAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog + ICAgICAiZGVzY3JpcHRpb24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgImRp + c2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAiaW52b2ljZSI6ICJpbl8xQjNL dHIyc09tZjQ3Tno5c3VVMGpPQzgiLAogICAgICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg ICAgICAgInN0YXJ0IjogMTUwNTcyNDM5OSwKICAgICAgICAiZW5kIjogMTUw NTcyNDM5OQogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp - ZCI6ICJpaV8xOUttT3gyc09tZjQ3Tno5WEl6dlRqTEMiLAogICAgICAib2Jq - ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog - ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ4MDMyOTAyMywK - ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk - aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMTlL - bVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2RlIjogZmFs + ZCI6ICJpaV8xQjNLdG4yc09tZjQ3Tno5TFlVdzczc0IiLAogICAgICAib2Jq + ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IDM0MDAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNTA1NzI0Mzk5LAog + ICAgICAiZGVzY3JpcHRpb24iOiAiRk9STTErIGltcHJpbWFudGUgM0QgU2Vw + dGVtYmVyIDE3LCAyMDE3IDE0OjAwIC0gMDM6MDAgUE0iLAogICAgICAiZGlz + Y291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMUIzS3Ry + MnNPbWY0N056OXN1VTBqT0M4IiwKICAgICAgImxpdmVtb2RlIjogZmFsc2Us + CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg + ICAgICJzdGFydCI6IDE1MDU3MjQzOTksCiAgICAgICAgImVuZCI6IDE1MDU3 + MjQzOTkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv + cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi + OiAiaWlfMTlLbU94MnNPbWY0N056OVhJenZUakxDIiwKICAgICAgIm9iamVj + dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg + ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf + OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjMsCiAg + ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz + Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE5S21Q + MTJzT21mNDdOejlSbDZhS1dGOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg + ICAgICAic3RhcnQiOiAxNDgwMzI5MDIzLAogICAgICAgICJlbmQiOiAxNDgw + MzI5MDIzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy + b3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAgImlk + IjogImlpXzE5S21PdzJzT21mNDdOejlmTWdqSEloZyIsCiAgICAgICJvYmpl + Y3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50IjogLTc2NTAsCiAg + ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAiY3VzdG9tZXIiOiAiY3Vz + XzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUiOiAxNDgwMzI5MDIyLAog + ICAgICAiZGVzY3JpcHRpb24iOiAiY291cG9uIFNVTk5ZRkFCTEFCIC0gcmVz + ZXJ2YXRpb24iLAogICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAg + ICJpbnZvaWNlIjogImluXzE5S21QMTJzT21mNDdOejlSbDZhS1dGOCIsCiAg + ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwK + ICAgICAgInBlcmlvZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDgwMzI5MDIy + LAogICAgICAgICJlbmQiOiAxNDgwMzI5MDIyCiAgICAgIH0sCiAgICAgICJw + bGFuIjogbnVsbCwKICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAi + cXVhbnRpdHkiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAog + ICAgfSwKICAgIHsKICAgICAgImlkIjogImlpXzE5S21PdzJzT21mNDdOejlm + MFBiS2JIcSIsCiAgICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAg + ICAiYW1vdW50IjogNTEwMDAsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog + ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg + ImRhdGUiOiAxNDgwMzI5MDIyLAogICAgICAiZGVzY3JpcHRpb24iOiAiUmFk + aW8gbnVtw6lyaXF1ZSBcbkRlY2VtYmVyIDA4LCAyMDE2IDExOjAwIEFNIC0g + MDc6MDAgUE1cbkRlY2VtYmVyIDA5LCAyMDE2IDExOjAwIEFNIC0gMDc6MDAg + UE1cbkRlY2VtYmVyIDEwLCAyMDE2IDExOjAwIEFNIC0gMDc6MDAgUE0iLAog + ICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAi + aW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwKICAgICAgImxpdmVtb2Rl + IjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9k + IjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjIsCiAgICAgICAgImVu + ZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAog + ICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51 + bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewog + ICAgICAiaWQiOiAiaWlfMThaaFVoMnNPbWY0N056OTAyeWtHeWJCIiwKICAg + ICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAt + MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21l + ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0Njkx + MDg3NDMsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAog + ICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjog + ImluXzE4WmhVajJzT21mNDdOejlyOExLSUJOSyIsCiAgICAgICJsaXZlbW9k + ZSI6IGZhbHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlv + ZCI6IHsKICAgICAgICAic3RhcnQiOiAxNDY5MTA4NzQzLAogICAgICAgICJl + bmQiOiAxNDY5MTA4NzQzCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwK + ICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBu + dWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsK + ICAgICAgImlkIjogImlpXzE4WmhVZzJzT21mNDdOejl2U3NsNUo5eiIsCiAg + ICAgICJvYmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICAgICAiYW1vdW50Ijog + MCwKICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6 + ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjkxMDg3 + NDIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50 + ZSAzRCBKdWx5IDE4LCAyMDE2IDA4OjAwIC0gMTI6MDAgUE0iLAogICAgICAi + ZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAgImludm9pY2UiOiAiaW5fMTha + aFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVtb2RlIjogZmFs c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog - ICAgICAgICJzdGFydCI6IDE0ODAzMjkwMjMsCiAgICAgICAgImVuZCI6IDE0 - ODAzMjkwMjMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi + ICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDIsCiAgICAgICAgImVuZCI6IDE0 + NjkxMDg3NDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi - aWQiOiAiaWlfMTlLbU93MnNPbWY0N056OWZNZ2pISWhnIiwKICAgICAgIm9i - amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtNzY1MCwK + aWQiOiAiaWlfMThXNEdOMnNPbWY0N056OUsxZFRmVHlBIiwKICAgICAgIm9i + amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj - dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0ODAzMjkwMjIs - CiAgICAgICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIgLSBy - ZXNlcnZhdGlvbiIsCiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAg - ICAgImludm9pY2UiOiAiaW5fMTlLbVAxMnNPbWY0N056OVJsNmFLV0Y4IiwK - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9 - LAogICAgICAicGVyaW9kIjogewogICAgICAgICJzdGFydCI6IDE0ODAzMjkw - MjIsCiAgICAgICAgImVuZCI6IDE0ODAzMjkwMjIKICAgICAgfSwKICAgICAg - InBsYW4iOiBudWxsLAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAg - ICJxdWFudGl0eSI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxs - CiAgICB9LAogICAgewogICAgICAiaWQiOiAiaWlfMTlLbU93MnNPbWY0N056 - OWYwUGJLYkhxIiwKICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAg - ICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAg - ICAiZGF0ZSI6IDE0ODAzMjkwMjIsCiAgICAgICJkZXNjcmlwdGlvbiI6ICJS - YWRpbyBudW3DqXJpcXVlIFxuRGVjZW1iZXIgMDgsIDIwMTYgMTE6MDAgQU0g - LSAwNzowMCBQTVxuRGVjZW1iZXIgMDksIDIwMTYgMTE6MDAgQU0gLSAwNzow - MCBQTVxuRGVjZW1iZXIgMTAsIDIwMTYgMTE6MDAgQU0gLSAwNzowMCBQTSIs - CiAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6 - ICJpbl8xOUttUDEyc09tZjQ3Tno5Umw2YUtXRjgiLAogICAgICAibGl2ZW1v - ZGUiOiBmYWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJp - b2QiOiB7CiAgICAgICAgInN0YXJ0IjogMTQ4MDMyOTAyMiwKICAgICAgICAi - ZW5kIjogMTQ4MDMyOTAyMgogICAgICB9LAogICAgICAicGxhbiI6IG51bGws - CiAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5Ijog - bnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7 - CiAgICAgICJpZCI6ICJpaV8xOFpoVWgyc09tZjQ3Tno5MDJ5a0d5YkIiLAog - ICAgICAib2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6 - IC0xMDAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3Rv - bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2 - OTEwODc0MywKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIs - CiAgICAgICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2Ui - OiAiaW5fMThaaFVqMnNPbWY0N056OXI4TEtJQk5LIiwKICAgICAgImxpdmVt - b2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVy - aW9kIjogewogICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDMsCiAgICAgICAg - ImVuZCI6IDE0NjkxMDg3NDMKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxs - LAogICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6 - IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAg - ewogICAgICAiaWQiOiAiaWlfMThaaFVnMnNPbWY0N056OXZTc2w1Sjl6IiwK - ICAgICAgIm9iamVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQi - OiAwLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVy - IjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2OTEw - ODc0MiwKICAgICAgImRlc2NyaXB0aW9uIjogIkZvcm1hdGlvbiBJbXByaW1h - bnRlIDNEIEp1bHkgMTgsIDIwMTYgMDg6MDAgLSAxMjowMCBQTSIsCiAgICAg - ICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAiaW52b2ljZSI6ICJpbl8x - OFpoVWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAibGl2ZW1vZGUiOiBm - YWxzZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7 - CiAgICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjog - MTQ2OTEwODc0MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAg - ICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwK - ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAg - ICJpZCI6ICJpaV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAi - b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw - LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog - ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1 - NSwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg - ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f - MThXNEdPMnNPbWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjog - ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog - ewogICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6 - IDE0NjgyNDI5NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg - ICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGws - CiAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFz - X21vcmUiOiBmYWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K + dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjgyNDI5NTUs + CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi + ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE4 + VzRHTzJzT21mNDdOejlvb3VEUTNoZSIsCiAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK + ICAgICAgICAic3RhcnQiOiAxNDY4MjQyOTU1LAogICAgICAgICJlbmQiOiAx + NDY4MjQyOTU1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg + InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog + ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfQogIF0sCiAgImhhc19t + b3JlIjogZmFsc2UsCiAgInVybCI6ICIvdjEvaW52b2ljZWl0ZW1zIgp9Cg== http_version: - recorded_at: Mon, 18 Sep 2017 08:52:48 GMT + recorded_at: Thu, 14 Dec 2017 15:16:42 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems body: encoding: UTF-8 - string: customer=cus_8CzNtM08NVlSGN&amount=51000¤cy=usd&description=Radio+num%C3%A9rique+%0ASeptember+28%2C+2017+12%3A00+PM+-+08%3A00+PM%0ASeptember+29%2C+2017+12%3A00+PM+-+08%3A00+PM%0ASeptember+30%2C+2017+12%3A00+PM+-+08%3A00+PM + string: customer=cus_8CzNtM08NVlSGN&amount=51000¤cy=usd&description=Radio+num%C3%A9rique+%0ADecember+24%2C+2017+11%3A00+AM+-+07%3A00+PM%0ADecember+25%2C+2017+11%3A00+AM+-+07%3A00+PM%0ADecember+26%2C+2017+11%3A00+AM+-+07%3A00+PM headers: Accept: - "*/*; q=0.5, application/xml" @@ -351,10 +466,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - - '228' + - '225' response: status: code: 200 @@ -363,11 +479,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:49 GMT + - Thu, 14 Dec 2017 15:16:42 GMT Content-Type: - application/json Content-Length: - - '555' + - '552' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -383,29 +499,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_9mpI4AO8bxYCEf + - req_3mve0skKP4yBl0 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJpaV8xQjNLemsyc09tZjQ3Tno5TzMzb0FFUzkiLAogICJv + ewogICJpZCI6ICJpaV8xQll5Unkyc09tZjQ3Tno5QWxkTXlTdXEiLAogICJv YmplY3QiOiAiaW52b2ljZWl0ZW0iLAogICJhbW91bnQiOiA1MTAwMCwKICAi Y3VycmVuY3kiOiAidXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4 - TlZsU0dOIiwKICAiZGF0ZSI6IDE1MDU3MjQ3NjgsCiAgImRlc2NyaXB0aW9u - IjogIlJhZGlvIG51bcOpcmlxdWUgXG5TZXB0ZW1iZXIgMjgsIDIwMTcgMTI6 - MDAgUE0gLSAwODowMCBQTVxuU2VwdGVtYmVyIDI5LCAyMDE3IDEyOjAwIFBN - IC0gMDg6MDAgUE1cblNlcHRlbWJlciAzMCwgMjAxNyAxMjowMCBQTSAtIDA4 - OjAwIFBNIiwKICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAiaW52b2ljZSI6 - IG51bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30s - CiAgInBlcmlvZCI6IHsKICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAi - ZW5kIjogMTUwNTcyNDc2OAogIH0sCiAgInBsYW4iOiBudWxsLAogICJwcm9y - YXRpb24iOiBmYWxzZSwKICAicXVhbnRpdHkiOiBudWxsLAogICJzdWJzY3Jp - cHRpb24iOiBudWxsCn0K + TlZsU0dOIiwKICAiZGF0ZSI6IDE1MTMyNjQ2MDIsCiAgImRlc2NyaXB0aW9u + IjogIlJhZGlvIG51bcOpcmlxdWUgXG5EZWNlbWJlciAyNCwgMjAxNyAxMTow + MCBBTSAtIDA3OjAwIFBNXG5EZWNlbWJlciAyNSwgMjAxNyAxMTowMCBBTSAt + IDA3OjAwIFBNXG5EZWNlbWJlciAyNiwgMjAxNyAxMTowMCBBTSAtIDA3OjAw + IFBNIiwKICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAiaW52b2ljZSI6IG51 + bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30sCiAg + InBlcmlvZCI6IHsKICAgICJzdGFydCI6IDE1MTMyNjQ2MDIsCiAgICAiZW5k + IjogMTUxMzI2NDYwMgogIH0sCiAgInBsYW4iOiBudWxsLAogICJwcm9yYXRp + b24iOiBmYWxzZSwKICAicXVhbnRpdHkiOiBudWxsLAogICJzdWJzY3JpcHRp + b24iOiBudWxsCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:52:49 GMT + recorded_at: Thu, 14 Dec 2017 15:16:42 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -425,8 +541,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '84' response: @@ -437,7 +554,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:49 GMT + - Thu, 14 Dec 2017 15:16:44 GMT Content-Type: - application/json Content-Length: @@ -457,29 +574,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_fpTOe0okV2Pgoe + - req_TMu9tNCvEzTDw6 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3Kzl2sOmf47Nz9o1unZmsv", + "id": "ii_1BYyS02sOmf47Nz9Krp1n5no", "object": "invoiceitem", "amount": -7650, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724769, + "date": 1513264604, "description": "coupon SUNNYFABLAB", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724769, - "end": 1505724769 + "start": 1513264604, + "end": 1513264604 }, "plan": null, "proration": false, @@ -487,7 +604,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:52:50 GMT + recorded_at: Thu, 14 Dec 2017 15:16:44 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -507,8 +624,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: @@ -519,7 +637,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:50 GMT + - Thu, 14 Dec 2017 15:16:45 GMT Content-Type: - application/json Content-Length: @@ -539,29 +657,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_RJIu5058w639KE + - req_KfpTrNJ5DegHl0 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3Kzm2sOmf47Nz9u2wWAhkb", + "id": "ii_1BYyS12sOmf47Nz9bKUJhrAs", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724770, + "date": 1513264605, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724770, - "end": 1505724770 + "start": 1513264605, + "end": 1513264605 }, "plan": null, "proration": false, @@ -569,7 +687,7 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:52:50 GMT + recorded_at: Thu, 14 Dec 2017 15:16:45 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -589,8 +707,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -599,11 +718,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:51 GMT + - Thu, 14 Dec 2017 15:16:46 GMT Content-Type: - application/json Content-Length: - - '5869' + - '3666' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -619,25 +738,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_sjzL5W8F6LJMgu + - req_AjH4wMqxgcAY1Z Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5UlYyc09tZjQ3Tno5TVNEMmRXYkQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056 - OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJWMnNPbWY0N056 + OU1TRDJkV2JEIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -656,116 +775,67 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl - cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3 - MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj - dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv - dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg - ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg - ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp - ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg - ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi - OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg - ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j - b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 - LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p - IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5 - cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu - dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg - ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog - MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z - dWJzY3JpcHRpb249c3ViX0JRQklJbXVVV2JyanpCIgogICAgICAgIH0sCiAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl - bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs - CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu - dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg - ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh - dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp - ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl - bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k - X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx - LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgInN0YXR1 - cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg - ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0 - IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C - UUJISFBCak81NzNKVyIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws - CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog - ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg - ImNhbmNlbGVkX2F0IjogMTUwNTcyNDQ1OCwKICAgICAgICAiY3JlYXRlZCI6 - IDE1MDU3MjQ0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1 - MDgzMTY0NTIsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw - NTcyNDQ1MiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs - U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl - ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i - amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg - ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t1ZTJzT21mNDdOejky - UEN2RFVaSyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NDUz - LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg - ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx - NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg - ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm - IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 - LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s - CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg - ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg - ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv - c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSEhQQmpP - NTczSlciCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy - NDQ1MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh - eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK - ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAg - ICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDIsCiAg - ICAidXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1 - YnNjcmlwdGlvbnMiCiAgfQp9Cg== + cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MTMy + NjQ1ODEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc2LAogICAgICAg + ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQyOTc2LAogICAgICAgICJj + dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgImN1 + c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRheXNf + dW50aWxfZHVlIjogbnVsbCwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAog + ICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewog + ICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjog + WwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpX0J3c0J4 + YmVoaHhIckNKIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw + dGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1 + NzcsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10 + YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg + ICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAg + ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6 + IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNk + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAg + ICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAg + ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRh + dGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFy + aWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25h + bnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAg + ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAg + ICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAg + fSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0K + ICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAg + ICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92 + MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9Cd3NCR25T + YnRNWVB3QSIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNl + LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog + ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt + bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw + bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy + ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz + ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt + ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg + MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250 + aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog + ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s + CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTEz + MjY0NTc2LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi + dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs + LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwK + ICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwK + ICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04v + c3Vic2NyaXB0aW9ucyIKICB9Cn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:52:51 GMT + recorded_at: Thu, 14 Dec 2017 15:16:46 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources body: encoding: UTF-8 - string: card=tok_1B3Kzj2sOmf47Nz9z8i09Ngi + string: card=tok_1BYyRw2sOmf47Nz9HmDIpULp headers: Accept: - "*/*; q=0.5, application/xml" @@ -779,8 +849,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '33' response: @@ -791,7 +862,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:52 GMT + - Thu, 14 Dec 2017 15:16:47 GMT Content-Type: - application/json Content-Length: @@ -811,16 +882,16 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_WvNGWkor60oazG + - req_cIaIa0ytx1wDhT Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb", + "id": "card_1BYyRw2sOmf47Nz9hJyfmA1B", "object": "card", "address_city": null, "address_country": null, @@ -845,13 +916,13 @@ http_interactions: "tokenization_method": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:52:52 GMT + recorded_at: Thu, 14 Dec 2017 15:16:47 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN body: encoding: UTF-8 - string: default_source=card_1B3Kzj2sOmf47Nz9fXss1Zsb + string: default_source=card_1BYyRw2sOmf47Nz9hJyfmA1B headers: Accept: - "*/*; q=0.5, application/xml" @@ -865,8 +936,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '44' response: @@ -877,11 +949,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:53 GMT + - Thu, 14 Dec 2017 15:16:48 GMT Content-Type: - application/json Content-Length: - - '6597' + - '4394' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -897,25 +969,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_u07y9KLEtAs5gt + - req_uEz6TezhL1K4Dk Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNLemoyc09tZjQ3Tno5ZlhzczFac2IiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5Uncyc09tZjQ3Tno5aEp5Zm1BMUIiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3pqMnNPbWY0N056 - OWZYc3MxWnNiIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJ3MnNPbWY0N056 + OWhKeWZtQTFCIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -930,8 +1002,8 @@ http_interactions: ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6 ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs - CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQjNLdlEy - c09tZjQ3Tno5Rmc2QWxjUzEiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs + CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQll5UlYy + c09tZjQ3Tno5TVNEMmRXYkQiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs CiAgICAgICAgImFkZHJlc3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJl c3NfY291bnRyeSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBu dWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAg @@ -950,110 +1022,61 @@ http_interactions: LAogICAgInRvdGFsX2NvdW50IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3Rv bWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc291cmNlcyIKICB9LAogICJzdWJz Y3JpcHRpb25zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRh - IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9CUUJJSW11VVdicmp6 - QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg + IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9Cd3NCR25TYnRNWVB3 + QSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg ICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImJp bGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5j ZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0 - IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ1MDMs - CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MDgzMTY1MDMsCiAg - ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUwNTcyNDUwMywKICAg + IjogMTUxMzI2NDU4MSwKICAgICAgICAiY3JlYXRlZCI6IDE1MTMyNjQ1NzYs + CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MTU5NDI5NzYsCiAg + ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUxMzI2NDU3NiwKICAg ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg - ICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGws - CiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0 - IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAgICAg - ICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1M2lNYTVTeiIsCiAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAg - ICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAgICAg - ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewog - ICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0 - dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAg - Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAog - ICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAg - ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6 - IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg - ICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD - qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg - ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50 - X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRyaWFsX3Bl - cmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAg - ICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAgICBdLAog - ICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxf - Y291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9u - X2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVXYnJqekIiCiAgICAg - ICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6 - ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 - MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg - ICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4 - MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg - ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu - dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg - ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0 - YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWln - bmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAg - InN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlh - bF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFu - dGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDUwMywKICAgICAg - ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50Ijog - bnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJp - YWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi - OiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAib2JqZWN0IjogInN1 - YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50 - IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGlj - YWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwK - ICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4LAogICAgICAgICJj - cmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rf - ZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6 - TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAg - ICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAg - ICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRhdGEiOiBbCiAg - ICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lfMUIzS3VlMnNP - bWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1 - YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1 - MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg - ICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVu - c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy - NyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3Jl - YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3ki - OiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAi - bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1 - ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVu - c2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAg - ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg - ICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAg - ICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAg - ICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxz - ZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJs - IjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9C - UUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6 - IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFu - IjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0 - dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVj - dCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAg - ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5 - IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg - ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9k - ZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBu - dWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAg - ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQi - OiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAg - ICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQi - OiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQog - ICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50 - IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhO - VmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K + ICAiZGF5c191bnRpbF9kdWUiOiBudWxsLAogICAgICAgICJkaXNjb3VudCI6 + IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl + bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg + ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi + c2lfQndzQnhiZWhoeEhyQ0oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAi + c3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjog + MTUxMzI2NDU3NywKICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAg + ICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJt + ZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcx + ODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAg + ICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJj + cmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRo + IiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAg + ICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAg + ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVu + c3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywg + ZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAg + ICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg + ICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAg + ICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAg + ICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZh + bHNlLAogICAgICAgICAgInRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1 + cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3Vi + X0J3c0JHblNidE1ZUHdBIgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2Rl + IjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBs + YW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt + c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2Jq + ZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg + ICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVu + Y3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAg + ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVt + b2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg + ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu + dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv + aSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 + IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAg + ICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFy + dCI6IDE1MTMyNjQ1NzYsCiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAog + ICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2Vu + ZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9 + CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291 + bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1c184Q3pOdE0w + OE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:52:53 GMT + recorded_at: Thu, 14 Dec 2017 15:16:48 GMT - request: method: post uri: https://api.stripe.com/v1/invoices @@ -1073,8 +1096,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '27' response: @@ -1085,11 +1109,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:54 GMT + - Thu, 14 Dec 2017 15:16:52 GMT Content-Type: - application/json Content-Length: - - '2573' + - '2590' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1105,77 +1129,77 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_J4AeU95QFrz4g9 + - req_dqEIaR8pr4luTk Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv + ewogICJpZCI6ICJpbl8xQll5Uzgyc09tZjQ3Tno5NEJoOXNSdXIiLAogICJv YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDAs CiAgImF0dGVtcHRlZCI6IGZhbHNlLAogICJiaWxsaW5nIjogImNoYXJnZV9h dXRvbWF0aWNhbGx5IiwKICAiY2hhcmdlIjogbnVsbCwKICAiY2xvc2VkIjog ZmFsc2UsCiAgImN1cnJlbmN5IjogInVzZCIsCiAgImN1c3RvbWVyIjogImN1 - c184Q3pOdE0wOE5WbFNHTiIsCiAgImRhdGUiOiAxNTA1NzI0Nzc0LAogICJk - ZXNjcmlwdGlvbiI6IG51bGwsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5k - aW5nX2JhbGFuY2UiOiBudWxsLAogICJmb3JnaXZlbiI6IGZhbHNlLAogICJs - aW5lcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsK - ICAgICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLem0yc09tZjQ3Tno5dTJ3 - V0Foa2IiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAg - ICAiYW1vdW50IjogLTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg - ICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9kZSI6 - IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwZXJp - b2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzcwLAogICAgICAg - ICAgImVuZCI6IDE1MDU3MjQ3NzAKICAgICAgICB9LAogICAgICAgICJwbGFu - IjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICAg - InF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs - bCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwKICAg - ICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLemwyc09tZjQ3Tno5bzF1blpt - c3YiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAi - YW1vdW50IjogLTc2NTAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg - ICAgICAgImRlc2NyaXB0aW9uIjogImNvdXBvbiBTVU5OWUZBQkxBQiIsCiAg - ICAgICAgImRpc2NvdW50YWJsZSI6IGZhbHNlLAogICAgICAgICJsaXZlbW9k - ZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw - ZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY5LAogICAg - ICAgICAgImVuZCI6IDE1MDU3MjQ3NjkKICAgICAgICB9LAogICAgICAgICJw - bGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAgICAg - ICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9uIjog - bnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAgfSwK - ICAgICAgewogICAgICAgICJpZCI6ICJpaV8xQjNLemsyc09tZjQ3Tno5TzMz - b0FFUzkiLAogICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAg - ICAiYW1vdW50IjogNTEwMDAsCiAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgImRlc2NyaXB0aW9uIjogIlJhZGlvIG51bcOpcmlxdWUgXG5T - ZXB0ZW1iZXIgMjgsIDIwMTcgMTI6MDAgUE0gLSAwODowMCBQTVxuU2VwdGVt - YmVyIDI5LCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAgUE1cblNlcHRlbWJlciAz - MCwgMjAxNyAxMjowMCBQTSAtIDA4OjAwIFBNIiwKICAgICAgICAiZGlzY291 - bnRhYmxlIjogdHJ1ZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg - ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjogewogICAg - ICAgICAgInN0YXJ0IjogMTUwNTcyNDc2OCwKICAgICAgICAgICJlbmQiOiAx - NTA1NzI0NzY4CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51bGwsCiAg - ICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFudGl0eSI6 - IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAg - InR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0KICAgIF0sCiAgICAiaGFz - X21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDMsCiAgICAidXJs - IjogIi92MS9pbnZvaWNlcy9pbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3Uv - bGluZXMiCiAgfSwKICAibGl2ZW1vZGUiOiBmYWxzZSwKICAibWV0YWRhdGEi - OiB7fSwKICAibmV4dF9wYXltZW50X2F0dGVtcHQiOiAxNTA1NzI4Mzc0LAog - ICJudW1iZXIiOiAiOWViZmVhZDIwYi0wMDA1IiwKICAicGFpZCI6IGZhbHNl - LAogICJwZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAicGVyaW9kX3N0YXJ0 - IjogMTUwNTcyNDQ1MiwKICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICJz - dGFydGluZ19iYWxhbmNlIjogMCwKICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii - OiBudWxsLAogICJzdWJzY3JpcHRpb24iOiBudWxsLAogICJzdWJ0b3RhbCI6 - IDQyMzUwLAogICJ0YXgiOiBudWxsLAogICJ0YXhfcGVyY2VudCI6IG51bGws - CiAgInRvdGFsIjogNDIzNTAsCiAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6 - IG51bGwKfQo= + c184Q3pOdE0wOE5WbFNHTiIsCiAgImRhdGUiOiAxNTEzMjY0NjExLAogICJk + ZXNjcmlwdGlvbiI6IG51bGwsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZHVl + X2RhdGUiOiBudWxsLAogICJlbmRpbmdfYmFsYW5jZSI6IG51bGwsCiAgImZv + cmdpdmVuIjogZmFsc2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJs + aXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlp + XzFCWXlTMTJzT21mNDdOejliS1VKaHJBcyIsCiAgICAgICAgIm9iamVjdCI6 + ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi + d2FsbGV0IC0xMC4wIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2Us + CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh + Ijoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6 + IDE1MTMyNjQ2MDUsCiAgICAgICAgICAiZW5kIjogMTUxMzI2NDYwNQogICAg + ICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRp + b24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg + ICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9p + Y2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzFC + WXlTMDJzT21mNDdOejlLcnAxbjVubyIsCiAgICAgICAgIm9iamVjdCI6ICJs + aW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291 + cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFs + c2UsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFk + YXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFy + dCI6IDE1MTMyNjQ2MDQsCiAgICAgICAgICAiZW5kIjogMTUxMzI2NDYwNAog + ICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9y + YXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg + ICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImlu + dm9pY2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlp + XzFCWXlSeTJzT21mNDdOejlBbGRNeVN1cSIsCiAgICAgICAgIm9iamVjdCI6 + ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAg + ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi + UmFkaW8gbnVtw6lyaXF1ZSBcbkRlY2VtYmVyIDI0LCAyMDE3IDExOjAwIEFN + IC0gMDc6MDAgUE1cbkRlY2VtYmVyIDI1LCAyMDE3IDExOjAwIEFNIC0gMDc6 + MDAgUE1cbkRlY2VtYmVyIDI2LCAyMDE3IDExOjAwIEFNIC0gMDc6MDAgUE0i + LAogICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAg + ICJwZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTEzMjY0NjAyLAog + ICAgICAgICAgImVuZCI6IDE1MTMyNjQ2MDIKICAgICAgICB9LAogICAgICAg + ICJwbGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2UsCiAg + ICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0aW9u + IjogbnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAgICAg + fQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2Nv + dW50IjogMywKICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCWXlTODJz + T21mNDdOejk0Qmg5c1J1ci9saW5lcyIKICB9LAogICJsaXZlbW9kZSI6IGZh + bHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJuZXh0X3BheW1lbnRfYXR0ZW1w + dCI6IDE1MTMyNjgyMTEsCiAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMTAi + LAogICJwYWlkIjogZmFsc2UsCiAgInBlcmlvZF9lbmQiOiAxNTE1OTQyOTc2 + LAogICJwZXJpb2Rfc3RhcnQiOiAxNTEzMjY0NTc2LAogICJyZWNlaXB0X251 + bWJlciI6IG51bGwsCiAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICJzdGF0 + ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgInN1YnNjcmlwdGlvbiI6IG51 + bGwsCiAgInN1YnRvdGFsIjogNDIzNTAsCiAgInRheCI6IG51bGwsCiAgInRh + eF9wZXJjZW50IjogbnVsbCwKICAidG90YWwiOiA0MjM1MCwKICAid2ViaG9v + a3NfZGVsaXZlcmVkX2F0IjogbnVsbAp9Cg== http_version: - recorded_at: Mon, 18 Sep 2017 08:52:54 GMT + recorded_at: Thu, 14 Dec 2017 15:16:52 GMT - request: method: post - uri: https://api.stripe.com/v1/invoices/in_1B3Kzq2sOmf47Nz9IX7rlHSu/pay + uri: https://api.stripe.com/v1/invoices/in_1BYyS82sOmf47Nz94Bh9sRur/pay body: encoding: ASCII-8BIT string: '' @@ -1192,8 +1216,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '0' response: @@ -1204,11 +1229,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:56 GMT + - Thu, 14 Dec 2017 15:16:53 GMT Content-Type: - application/json Content-Length: - - '2592' + - '2609' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1224,77 +1249,77 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_AS442hKKxDzUn1 + - req_7wq4JwrbUIJWpP Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv + ewogICJpZCI6ICJpbl8xQll5Uzgyc09tZjQ3Tno5NEJoOXNSdXIiLAogICJv YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDEs CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1 - dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUIzS3pyMnNPbWY0N056 - OVZjTFJybUFkIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi + dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUJZeVM5MnNPbWY0N056 + OVVvdU1vbHZoIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi dXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAi - ZGF0ZSI6IDE1MDU3MjQ3NzQsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi - ZGlzY291bnQiOiBudWxsLAogICJlbmRpbmdfYmFsYW5jZSI6IDAsCiAgImZv - cmdpdmVuIjogZmFsc2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJs - aXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlp - XzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICAgIm9iamVjdCI6 - ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi - d2FsbGV0IC0xMC4wIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2Us - CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6 - IDE1MDU3MjQ3NzAsCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc3MAogICAg - ICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRp - b24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg - ICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9p - Y2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzFC - M0t6bDJzT21mNDdOejlvMXVuWm1zdiIsCiAgICAgICAgIm9iamVjdCI6ICJs - aW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAi - Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291 - cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFs - c2UsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFk - YXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFy - dCI6IDE1MDU3MjQ3NjksCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc2OQog - ICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9y - YXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImlu - dm9pY2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlp - XzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIsCiAgICAgICAgIm9iamVjdCI6 - ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi - UmFkaW8gbnVtw6lyaXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQ - TSAtIDA4OjAwIFBNXG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAw - ODowMCBQTVxuU2VwdGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAg - UE0iLAogICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICJs - aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg - ICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY4 - LAogICAgICAgICAgImVuZCI6IDE1MDU3MjQ3NjgKICAgICAgICB9LAogICAg - ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2Us - CiAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0 - aW9uIjogbnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAg - ICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFs - X2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0t6 - cTJzT21mNDdOejlJWDdybEhTdS9saW5lcyIKICB9LAogICJsaXZlbW9kZSI6 - IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJuZXh0X3BheW1lbnRfYXR0 - ZW1wdCI6IG51bGwsCiAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMDUiLAog - ICJwYWlkIjogdHJ1ZSwKICAicGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAg - InBlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgInJlY2VpcHRfbnVtYmVy - IjogbnVsbCwKICAic3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVu - dF9kZXNjcmlwdG9yIjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwK - ICAic3VidG90YWwiOiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3Bl - cmNlbnQiOiBudWxsLAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19k - ZWxpdmVyZWRfYXQiOiAxNTA1NzI0Nzc0Cn0K + ZGF0ZSI6IDE1MTMyNjQ2MTEsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi + ZGlzY291bnQiOiBudWxsLAogICJkdWVfZGF0ZSI6IG51bGwsCiAgImVuZGlu + Z19iYWxhbmNlIjogMCwKICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAibGluZXMi + OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg + IHsKICAgICAgICAiaWQiOiAiaWlfMUJZeVMxMnNPbWY0N056OWJLVUpockFz + IiwKICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFt + b3VudCI6IC0xMDAwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg + ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICJk + aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxz + ZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjog + ewogICAgICAgICAgInN0YXJ0IjogMTUxMzI2NDYwNSwKICAgICAgICAgICJl + bmQiOiAxNTEzMjY0NjA1CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51 + bGwsCiAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFu + dGl0eSI6IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAg + ICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAgIHsK + ICAgICAgICAiaWQiOiAiaWlfMUJZeVMwMnNPbWY0N056OUtycDFuNW5vIiwK + ICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3Vu + dCI6IC03NjUwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAg + ICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIiLAogICAgICAg + ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9k + IjogewogICAgICAgICAgInN0YXJ0IjogMTUxMzI2NDYwNCwKICAgICAgICAg + ICJlbmQiOiAxNTEzMjY0NjA0CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6 + IG51bGwsCiAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJx + dWFudGl0eSI6IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGws + CiAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAg + IHsKICAgICAgICAiaWQiOiAiaWlfMUJZeVJ5MnNPbWY0N056OUFsZE15U3Vx + IiwKICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFt + b3VudCI6IDUxMDAwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg + ICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJpcXVlIFxuRGVjZW1i + ZXIgMjQsIDIwMTcgMTE6MDAgQU0gLSAwNzowMCBQTVxuRGVjZW1iZXIgMjUs + IDIwMTcgMTE6MDAgQU0gLSAwNzowMCBQTVxuRGVjZW1iZXIgMjYsIDIwMTcg + MTE6MDAgQU0gLSAwNzowMCBQTSIsCiAgICAgICAgImRpc2NvdW50YWJsZSI6 + IHRydWUsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1l + dGFkYXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJz + dGFydCI6IDE1MTMyNjQ2MDIsCiAgICAgICAgICAiZW5kIjogMTUxMzI2NDYw + MgogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJw + cm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAog + ICAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjog + Imludm9pY2VpdGVtIgogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjog + ZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAzLAogICAgInVybCI6ICIvdjEv + aW52b2ljZXMvaW5fMUJZeVM4MnNPbWY0N056OTRCaDlzUnVyL2xpbmVzIgog + IH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30sCiAg + Im5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAibnVtYmVyIjogIjll + YmZlYWQyMGItMDAxMCIsCiAgInBhaWQiOiB0cnVlLAogICJwZXJpb2RfZW5k + IjogMTUxNTk0Mjk3NiwKICAicGVyaW9kX3N0YXJ0IjogMTUxMzI2NDU3NiwK + ICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICJzdGFydGluZ19iYWxhbmNl + IjogMCwKICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICJzdWJz + Y3JpcHRpb24iOiBudWxsLAogICJzdWJ0b3RhbCI6IDQyMzUwLAogICJ0YXgi + OiBudWxsLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRvdGFsIjogNDIz + NTAsCiAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IDE1MTMyNjQ2MTIKfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:52:56 GMT + recorded_at: Thu, 14 Dec 2017 15:16:53 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1B3Kzj2sOmf47Nz9fXss1Zsb + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1BYyRw2sOmf47Nz9hJyfmA1B body: encoding: US-ASCII string: '' @@ -1311,8 +1336,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1321,7 +1347,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:57 GMT + - Thu, 14 Dec 2017 15:16:54 GMT Content-Type: - application/json Content-Length: @@ -1341,18 +1367,18 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_J19PXJWpDd7oUO + - req_0tlbkYym3du6vo Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { "deleted": true, - "id": "card_1B3Kzj2sOmf47Nz9fXss1Zsb" + "id": "card_1BYyRw2sOmf47Nz9hJyfmA1B" } http_version: - recorded_at: Mon, 18 Sep 2017 08:52:57 GMT + recorded_at: Thu, 14 Dec 2017 15:16:54 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml index 5e0a9957c..265d42aeb 100644 --- a/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml +++ b/test/vcr_cassettes/reserve_event_with_many_prices_and_payment_means_retrieve_invoice_from_stripe.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: get - uri: https://api.stripe.com/v1/invoices/in_1B3Kzq2sOmf47Nz9IX7rlHSu + uri: https://api.stripe.com/v1/invoices/in_1BYyS82sOmf47Nz94Bh9sRur body: encoding: US-ASCII string: '' @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -29,11 +30,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:52:59 GMT + - Thu, 14 Dec 2017 15:16:56 GMT Content-Type: - application/json Content-Length: - - '2592' + - '2609' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -49,72 +50,72 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_qGcB1AKK7WLv1F + - req_VpN4NbTnWaYNFM Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJpbl8xQjNLenEyc09tZjQ3Tno5SVg3cmxIU3UiLAogICJv + ewogICJpZCI6ICJpbl8xQll5Uzgyc09tZjQ3Tno5NEJoOXNSdXIiLAogICJv YmplY3QiOiAiaW52b2ljZSIsCiAgImFtb3VudF9kdWUiOiA0MjM1MCwKICAi YXBwbGljYXRpb25fZmVlIjogbnVsbCwKICAiYXR0ZW1wdF9jb3VudCI6IDEs CiAgImF0dGVtcHRlZCI6IHRydWUsCiAgImJpbGxpbmciOiAiY2hhcmdlX2F1 - dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUIzS3pyMnNPbWY0N056 - OVZjTFJybUFkIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi + dG9tYXRpY2FsbHkiLAogICJjaGFyZ2UiOiAiY2hfMUJZeVM5MnNPbWY0N056 + OVVvdU1vbHZoIiwKICAiY2xvc2VkIjogdHJ1ZSwKICAiY3VycmVuY3kiOiAi dXNkIiwKICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAi - ZGF0ZSI6IDE1MDU3MjQ3NzQsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi - ZGlzY291bnQiOiBudWxsLAogICJlbmRpbmdfYmFsYW5jZSI6IDAsCiAgImZv - cmdpdmVuIjogZmFsc2UsCiAgImxpbmVzIjogewogICAgIm9iamVjdCI6ICJs - aXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAgICAgICAgImlkIjogImlp - XzFCM0t6bTJzT21mNDdOejl1MndXQWhrYiIsCiAgICAgICAgIm9iamVjdCI6 - ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi - d2FsbGV0IC0xMC4wIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2Us - CiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFydCI6 - IDE1MDU3MjQ3NzAsCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc3MAogICAg - ICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9yYXRp - b24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAg - ICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImludm9p - Y2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlpXzFC - M0t6bDJzT21mNDdOejlvMXVuWm1zdiIsCiAgICAgICAgIm9iamVjdCI6ICJs - aW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiAtNzY1MCwKICAgICAgICAi - Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAiY291 - cG9uIFNVTk5ZRkFCTEFCIiwKICAgICAgICAiZGlzY291bnRhYmxlIjogZmFs - c2UsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFk - YXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJzdGFy - dCI6IDE1MDU3MjQ3NjksCiAgICAgICAgICAiZW5kIjogMTUwNTcyNDc2OQog - ICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJwcm9y - YXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAg - ICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjogImlu - dm9pY2VpdGVtIgogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogImlp - XzFCM0t6azJzT21mNDdOejlPMzNvQUVTOSIsCiAgICAgICAgIm9iamVjdCI6 - ICJsaW5lX2l0ZW0iLAogICAgICAgICJhbW91bnQiOiA1MTAwMCwKICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAiZGVzY3JpcHRpb24iOiAi - UmFkaW8gbnVtw6lyaXF1ZSBcblNlcHRlbWJlciAyOCwgMjAxNyAxMjowMCBQ - TSAtIDA4OjAwIFBNXG5TZXB0ZW1iZXIgMjksIDIwMTcgMTI6MDAgUE0gLSAw - ODowMCBQTVxuU2VwdGVtYmVyIDMwLCAyMDE3IDEyOjAwIFBNIC0gMDg6MDAg - UE0iLAogICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICJs - aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg - ICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0NzY4 - LAogICAgICAgICAgImVuZCI6IDE1MDU3MjQ3NjgKICAgICAgICB9LAogICAg - ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAicHJvcmF0aW9uIjogZmFsc2Us - CiAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAgICAic3Vic2NyaXB0 - aW9uIjogbnVsbCwKICAgICAgICAidHlwZSI6ICJpbnZvaWNlaXRlbSIKICAg - ICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFs - X2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0t6 - cTJzT21mNDdOejlJWDdybEhTdS9saW5lcyIKICB9LAogICJsaXZlbW9kZSI6 - IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJuZXh0X3BheW1lbnRfYXR0 - ZW1wdCI6IG51bGwsCiAgIm51bWJlciI6ICI5ZWJmZWFkMjBiLTAwMDUiLAog - ICJwYWlkIjogdHJ1ZSwKICAicGVyaW9kX2VuZCI6IDE1MDgzMTY0NTIsCiAg - InBlcmlvZF9zdGFydCI6IDE1MDU3MjQ0NTIsCiAgInJlY2VpcHRfbnVtYmVy - IjogbnVsbCwKICAic3RhcnRpbmdfYmFsYW5jZSI6IDAsCiAgInN0YXRlbWVu - dF9kZXNjcmlwdG9yIjogbnVsbCwKICAic3Vic2NyaXB0aW9uIjogbnVsbCwK - ICAic3VidG90YWwiOiA0MjM1MCwKICAidGF4IjogbnVsbCwKICAidGF4X3Bl - cmNlbnQiOiBudWxsLAogICJ0b3RhbCI6IDQyMzUwLAogICJ3ZWJob29rc19k - ZWxpdmVyZWRfYXQiOiAxNTA1NzI0Nzc0Cn0K + ZGF0ZSI6IDE1MTMyNjQ2MTEsCiAgImRlc2NyaXB0aW9uIjogbnVsbCwKICAi + ZGlzY291bnQiOiBudWxsLAogICJkdWVfZGF0ZSI6IG51bGwsCiAgImVuZGlu + Z19iYWxhbmNlIjogMCwKICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAibGluZXMi + OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg + IHsKICAgICAgICAiaWQiOiAiaWlfMUJZeVMxMnNPbWY0N056OWJLVUpockFz + IiwKICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFt + b3VudCI6IC0xMDAwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg + ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICJk + aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxz + ZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9kIjog + ewogICAgICAgICAgInN0YXJ0IjogMTUxMzI2NDYwNSwKICAgICAgICAgICJl + bmQiOiAxNTEzMjY0NjA1CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6IG51 + bGwsCiAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJxdWFu + dGl0eSI6IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAg + ICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAgIHsK + ICAgICAgICAiaWQiOiAiaWlfMUJZeVMwMnNPbWY0N056OUtycDFuNW5vIiwK + ICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFtb3Vu + dCI6IC03NjUwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAg + ICJkZXNjcmlwdGlvbiI6ICJjb3Vwb24gU1VOTllGQUJMQUIiLAogICAgICAg + ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGVyaW9k + IjogewogICAgICAgICAgInN0YXJ0IjogMTUxMzI2NDYwNCwKICAgICAgICAg + ICJlbmQiOiAxNTEzMjY0NjA0CiAgICAgICAgfSwKICAgICAgICAicGxhbiI6 + IG51bGwsCiAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICJx + dWFudGl0eSI6IG51bGwsCiAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGws + CiAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgIH0sCiAgICAg + IHsKICAgICAgICAiaWQiOiAiaWlfMUJZeVJ5MnNPbWY0N056OUFsZE15U3Vx + IiwKICAgICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgImFt + b3VudCI6IDUxMDAwLAogICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg + ICAgICJkZXNjcmlwdGlvbiI6ICJSYWRpbyBudW3DqXJpcXVlIFxuRGVjZW1i + ZXIgMjQsIDIwMTcgMTE6MDAgQU0gLSAwNzowMCBQTVxuRGVjZW1iZXIgMjUs + IDIwMTcgMTE6MDAgQU0gLSAwNzowMCBQTVxuRGVjZW1iZXIgMjYsIDIwMTcg + MTE6MDAgQU0gLSAwNzowMCBQTSIsCiAgICAgICAgImRpc2NvdW50YWJsZSI6 + IHRydWUsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1l + dGFkYXRhIjoge30sCiAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICJz + dGFydCI6IDE1MTMyNjQ2MDIsCiAgICAgICAgICAiZW5kIjogMTUxMzI2NDYw + MgogICAgICAgIH0sCiAgICAgICAgInBsYW4iOiBudWxsLAogICAgICAgICJw + cm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAicXVhbnRpdHkiOiBudWxsLAog + ICAgICAgICJzdWJzY3JpcHRpb24iOiBudWxsLAogICAgICAgICJ0eXBlIjog + Imludm9pY2VpdGVtIgogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjog + ZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAzLAogICAgInVybCI6ICIvdjEv + aW52b2ljZXMvaW5fMUJZeVM4MnNPbWY0N056OTRCaDlzUnVyL2xpbmVzIgog + IH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFkYXRhIjoge30sCiAg + Im5leHRfcGF5bWVudF9hdHRlbXB0IjogbnVsbCwKICAibnVtYmVyIjogIjll + YmZlYWQyMGItMDAxMCIsCiAgInBhaWQiOiB0cnVlLAogICJwZXJpb2RfZW5k + IjogMTUxNTk0Mjk3NiwKICAicGVyaW9kX3N0YXJ0IjogMTUxMzI2NDU3NiwK + ICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICJzdGFydGluZ19iYWxhbmNl + IjogMCwKICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICJzdWJz + Y3JpcHRpb24iOiBudWxsLAogICJzdWJ0b3RhbCI6IDQyMzUwLAogICJ0YXgi + OiBudWxsLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRvdGFsIjogNDIz + NTAsCiAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IDE1MTMyNjQ2MTIKfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:52:59 GMT + recorded_at: Thu, 14 Dec 2017 15:16:56 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/subscriptions_user_create_failed.yml b/test/vcr_cassettes/subscriptions_user_create_failed.yml index 8f64129fc..7e69e3ca2 100644 --- a/test/vcr_cassettes/subscriptions_user_create_failed.yml +++ b/test/vcr_cassettes/subscriptions_user_create_failed.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:49 GMT + - Thu, 14 Dec 2017 15:16:12 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_ZdzdOQ290aS1Hw + - req_XqhUMqt5Xlh260 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L1h2sOmf47Nz9n7DDyM9a", + "id": "tok_1BYyRU2sOmf47Nz9nONn350z", "object": "token", "card": { - "id": "card_1B3L1h2sOmf47Nz9ub5Q7DZz", + "id": "card_1BYyRU2sOmf47Nz9AcduZEmd", "object": "card", "address_city": null, "address_country": null, @@ -87,11 +88,11 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724889, + "created": 1513264572, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:49 GMT + recorded_at: Thu, 14 Dec 2017 15:16:13 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/subscriptions_user_create_success.yml b/test/vcr_cassettes/subscriptions_user_create_success.yml index 282c21b93..41779b6b7 100644 --- a/test/vcr_cassettes/subscriptions_user_create_success.yml +++ b/test/vcr_cassettes/subscriptions_user_create_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:50 GMT + - Thu, 14 Dec 2017 15:15:59 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_xGDFaSDmVbL2m9 + - req_FkWuNWgcJJyWRr Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L1i2sOmf47Nz9CpbaBivb", + "id": "tok_1BYyRH2sOmf47Nz9w3U5hd5r", "object": "token", "card": { - "id": "card_1B3L1h2sOmf47Nz9NAHrANqS", + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724890, + "created": 1513264559, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:50 GMT + recorded_at: Thu, 14 Dec 2017 15:16:00 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:51 GMT + - Thu, 14 Dec 2017 15:16:02 GMT Content-Type: - application/json Content-Length: - - '7733' + - '1408' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,607 +145,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_jc6NgRbYP6JYBW + - req_oKt3VSR2P0YDSy Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "id": "cus_8Di1wjdVktv5kt", - "object": "customer", - "account_balance": 0, - "created": 1459948888, - "currency": "usd", - "default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", - "delinquent": false, - "description": "Jean Dupond", - "discount": null, - "email": "jean.dupond@gmail.com", - "livemode": false, - "metadata": {}, - "shipping": null, - "sources": { - "object": "list", - "data": [ - { - "id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ", - "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_8Di1wjdVktv5kt", - "cvc_check": "pass", - "dynamic_last4": null, - "exp_month": 4, - "exp_year": 2018, - "fingerprint": "o52jybR7bnmNn6AT", - "funding": "credit", - "last4": "4242", - "metadata": {}, - "name": null, - "tokenization_method": null - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/customers/cus_8Di1wjdVktv5kt/sources" - }, - "subscriptions": { - "object": "list", - "data": [ - { - "id": "sub_BQBMKKS6nutZLr", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", - "object": "subscription_item", - "created": 1505724789, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724789, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBH03MUz5WO4y", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", - "object": "subscription_item", - "created": 1505724494, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - } - ], - "has_more": false, - "total_count": 3, - "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" - } - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:54:52 GMT -- request: - method: post - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions - body: - encoding: UTF-8 - string: plan=mensuel-standard-month-20160404171519&source=tok_1B3L1i2sOmf47Nz9CpbaBivb - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - Content-Length: - - '78' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:54:53 GMT - Content-Type: - - application/json - Content-Length: - - '1711' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_w127ZjwMeU3Ikd - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "id": "sub_BQBOHLXRrG3Z1Q", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": false, - "canceled_at": null, - "created": 1505724892, - "current_period_end": 1508316892, - "current_period_start": 1505724892, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH", - "object": "subscription_item", - "created": 1505724893, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724892, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:54:53 GMT -- request: - method: get - uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:54:54 GMT - Content-Type: - - application/json - Content-Length: - - '2960' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_Mh3Lj8hxg2TXFk - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains - body: - encoding: UTF-8 - string: | - { - "object": "list", - "data": [ - { - "id": "in_1B3L1k2sOmf47Nz9WrVocGx4", - "object": "invoice", - "amount_due": 8100, - "application_fee": null, - "attempt_count": 1, - "attempted": true, - "billing": "charge_automatically", - "charge": "ch_1B3L1k2sOmf47Nz9lkDNMQnv", - "closed": true, - "currency": "usd", - "customer": "cus_8Di1wjdVktv5kt", - "date": 1505724892, - "description": null, - "discount": null, - "ending_balance": 0, - "forgiven": false, - "lines": { - "object": "list", - "data": [ - { - "id": "ii_1B3L0k2sOmf47Nz9y87SMg3r", - "object": "line_item", - "amount": 5100, - "currency": "usd", - "description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM", - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724830, - "end": 1505724830 - }, - "plan": null, - "proration": false, - "quantity": null, - "subscription": null, - "type": "invoiceitem" - }, - { - "id": "sub_BQBOHLXRrG3Z1Q", - "object": "line_item", - "amount": 3000, - "currency": "usd", - "description": null, - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1505724892, - "end": 1508316892 - }, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "proration": false, - "quantity": 1, - "subscription": null, - "subscription_item": "si_1B3L1k2sOmf47Nz9Ua5wYTNH", - "type": "subscription" - } - ], - "has_more": false, - "total_count": 2, - "url": "/v1/invoices/in_1B3L1k2sOmf47Nz9WrVocGx4/lines" - }, - "livemode": false, - "metadata": {}, - "next_payment_attempt": null, - "number": "d4cc0e661c-0008", - "paid": true, - "period_end": 1505724892, - "period_start": 1505724421, - "receipt_number": null, - "starting_balance": 0, - "statement_descriptor": null, - "subscription": "sub_BQBOHLXRrG3Z1Q", - "subtotal": 8100, - "tax": null, - "tax_percent": null, - "total": 8100, - "webhooks_delivered_at": 1505724893 - } - ], - "has_more": true, - "url": "/v1/invoices" - } - http_version: - recorded_at: Mon, 18 Sep 2017 08:54:54 GMT -- request: - method: get - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 18 Sep 2017 08:54:55 GMT - Content-Type: - - application/json - Content-Length: - - '9835' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_TcwwuN6UqqEKmV - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -796,281 +202,20 @@ http_interactions: }, "subscriptions": { "object": "list", - "data": [ - { - "id": "sub_BQBOHLXRrG3Z1Q", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": false, - "canceled_at": null, - "created": 1505724892, - "current_period_end": 1508316892, - "current_period_start": 1505724892, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH", - "object": "subscription_item", - "created": 1505724893, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724892, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBMKKS6nutZLr", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724793, - "created": 1505724789, - "current_period_end": 1508316789, - "current_period_start": 1505724789, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3L052sOmf47Nz9MoxGlk6i", - "object": "subscription_item", - "created": 1505724789, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724789, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBH03MUz5WO4y", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724499, - "created": 1505724494, - "current_period_end": 1508316494, - "current_period_start": 1505724494, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3KvK2sOmf47Nz9mNLN0l2q", - "object": "subscription_item", - "created": 1505724494, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBH03MUz5WO4y" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724494, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - }, - { - "id": "sub_BQBGRftUBikhtm", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724425, - "created": 1505724421, - "current_period_end": 1508316421, - "current_period_start": 1505724421, - "customer": "cus_8Di1wjdVktv5kt", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_1B3Ku92sOmf47Nz9sdo927vf", - "object": "subscription_item", - "created": 1505724421, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBGRftUBikhtm" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1505724421, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - } - ], + "data": [], "has_more": false, - "total_count": 4, + "total_count": 0, "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" } } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:55 GMT + recorded_at: Thu, 14 Dec 2017 15:16:02 GMT - request: - method: get - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBOHLXRrG3Z1Q + method: post + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions body: - encoding: US-ASCII - string: '' + encoding: UTF-8 + string: plan=mensuel-standard-month-20160404171519&source=tok_1BYyRH2sOmf47Nz9w3U5hd5r headers: Accept: - "*/*; q=0.5, application/xml" @@ -1084,8 +229,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '78' response: status: code: 200 @@ -1094,11 +242,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:56 GMT + - Thu, 14 Dec 2017 15:16:05 GMT Content-Type: - application/json Content-Length: - - '1711' + - '1727' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1114,34 +262,35 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_ZjIgDQ34jlghLo + - req_JM1iEGDl8GXGYa Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_BQBOHLXRrG3Z1Q", + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": false, "canceled_at": null, - "created": 1505724892, - "current_period_end": 1508316892, - "current_period_start": 1505724892, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724893, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1162,7 +311,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -1181,17 +330,17 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724892, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:56 GMT + recorded_at: Thu, 14 Dec 2017 15:16:05 GMT - request: - method: delete - uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBOHLXRrG3Z1Q?at_period_end=true + method: get + uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1 body: encoding: US-ASCII string: '' @@ -1208,8 +357,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1218,11 +368,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:57 GMT + - Thu, 14 Dec 2017 15:16:06 GMT Content-Type: - application/json Content-Length: - - '1716' + - '2361' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1238,34 +388,360 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_KxbHmVYfDwpiHi + - req_BMvad7LWQ4JVUP Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "sub_BQBOHLXRrG3Z1Q", + "object": "list", + "data": [ + { + "id": "in_1BYyRM2sOmf47Nz9qbY6yIIq", + "object": "invoice", + "amount_due": 3000, + "application_fee": null, + "attempt_count": 1, + "attempted": true, + "billing": "charge_automatically", + "charge": "ch_1BYyRM2sOmf47Nz9Elmtet5t", + "closed": true, + "currency": "usd", + "customer": "cus_8Di1wjdVktv5kt", + "date": 1513264564, + "description": null, + "discount": null, + "due_date": null, + "ending_balance": 0, + "forgiven": false, + "lines": { + "object": "list", + "data": [ + { + "id": "sub_BwsBKRtVCiYsaH", + "object": "line_item", + "amount": 3000, + "currency": "usd", + "description": null, + "discountable": true, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264564, + "end": 1515942964 + }, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "proration": false, + "quantity": 1, + "subscription": null, + "subscription_item": "si_BwsB8qub1LUQaJ", + "type": "subscription" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1BYyRM2sOmf47Nz9qbY6yIIq/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "d4cc0e661c-0009", + "paid": true, + "period_end": 1513264564, + "period_start": 1513264564, + "receipt_number": null, + "starting_balance": 0, + "statement_descriptor": null, + "subscription": "sub_BwsBKRtVCiYsaH", + "subtotal": 3000, + "tax": null, + "tax_percent": null, + "total": 3000, + "webhooks_delivered_at": 1513264565 + } + ], + "has_more": true, + "url": "/v1/invoices" + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:06 GMT +- request: + method: get + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:07 GMT + Content-Type: + - application/json + Content-Length: + - '3536' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_K0YLwtvtyTAbbJ + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "cus_8Di1wjdVktv5kt", + "object": "customer", + "account_balance": 0, + "created": 1459948888, + "currency": "usd", + "default_source": "card_1BYyRH2sOmf47Nz9DntNBKbd", + "delinquent": false, + "description": "Jean Dupond", + "discount": null, + "email": "jean.dupond@gmail.com", + "livemode": false, + "metadata": {}, + "shipping": null, + "sources": { + "object": "list", + "data": [ + { + "id": "card_1BYyRH2sOmf47Nz9DntNBKbd", + "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_8Di1wjdVktv5kt", + "cvc_check": "pass", + "dynamic_last4": null, + "exp_month": 4, + "exp_year": 2018, + "fingerprint": "o52jybR7bnmNn6AT", + "funding": "credit", + "last4": "4242", + "metadata": {}, + "name": null, + "tokenization_method": null + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/customers/cus_8Di1wjdVktv5kt/sources" + }, + "subscriptions": { + "object": "list", + "data": [ + { + "id": "sub_BwsBKRtVCiYsaH", + "object": "subscription", + "application_fee_percent": null, + "billing": "charge_automatically", + "cancel_at_period_end": false, + "canceled_at": null, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_BwsB8qub1LUQaJ", + "object": "subscription_item", + "created": 1513264564, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1 + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" + }, + "livemode": false, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1, + "start": 1513264564, + "status": "active", + "tax_percent": null, + "trial_end": null, + "trial_start": null + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions" + } + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:07 GMT +- request: + method: get + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BwsBKRtVCiYsaH + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:08 GMT + Content-Type: + - application/json + Content-Length: + - '1727' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_IeOROLvS0ZHqkB + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "sub_BwsBKRtVCiYsaH", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1505724897, - "created": 1505724892, - "current_period_end": 1508316892, - "current_period_start": 1505724892, + "cancel_at_period_end": false, + "canceled_at": null, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3L1k2sOmf47Nz9Ua5wYTNH", + "id": "si_BwsB8qub1LUQaJ", "object": "subscription_item", - "created": 1505724893, + "created": 1513264564, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -1286,7 +762,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBOHLXRrG3Z1Q" + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" }, "livemode": false, "metadata": {}, @@ -1305,12 +781,138 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724892, + "start": 1513264564, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:57 GMT + recorded_at: Thu, 14 Dec 2017 15:16:08 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BwsBKRtVCiYsaH?at_period_end=true + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:08 GMT + Content-Type: + - application/json + Content-Length: + - '1732' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_3KIBgDbxIGLn3p + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "sub_BwsBKRtVCiYsaH", + "object": "subscription", + "application_fee_percent": null, + "billing": "charge_automatically", + "cancel_at_period_end": true, + "canceled_at": 1513264568, + "created": 1513264564, + "current_period_end": 1515942964, + "current_period_start": 1513264564, + "customer": "cus_8Di1wjdVktv5kt", + "days_until_due": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_BwsB8qub1LUQaJ", + "object": "subscription_item", + "created": 1513264564, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1 + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_BwsBKRtVCiYsaH" + }, + "livemode": false, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1, + "start": 1513264564, + "status": "active", + "tax_percent": null, + "trial_end": null, + "trial_start": null + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:09 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml b/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml index d522a52ff..73d498c4b 100644 --- a/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml +++ b/test/vcr_cassettes/subscriptions_user_create_success_with_wallet.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,7 +32,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:58 GMT + - Thu, 14 Dec 2017 15:16:13 GMT Content-Type: - application/json Content-Length: @@ -51,19 +52,19 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_nqq9N9aArJQxcT + - req_KOGsqSfqfcXSiI Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "tok_1B3L1q2sOmf47Nz9S4Af81m3", + "id": "tok_1BYyRV2sOmf47Nz9xbEqqeK3", "object": "token", "card": { - "id": "card_1B3L1q2sOmf47Nz9b903fHHV", + "id": "card_1BYyRV2sOmf47Nz9MSD2dWbD", "object": "card", "address_city": null, "address_country": null, @@ -87,13 +88,13 @@ http_interactions: "tokenization_method": null }, "client_ip": "90.112.59.71", - "created": 1505724898, + "created": 1513264573, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:58 GMT + recorded_at: Thu, 14 Dec 2017 15:16:14 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:59 GMT + - Thu, 14 Dec 2017 15:16:14 GMT Content-Type: - application/json Content-Length: - - '8094' + - '1415' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,196 +145,71 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_suenXAM64j8E8N + - req_jy90ddOVMOWVwF Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: - encoding: ASCII-8BIT - string: !binary |- - ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi - Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk - IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog - ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz - c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog - InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz - b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056 - OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg - ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 - cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg - ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk - ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog - bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh - ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp - c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t - ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr - IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg - ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4 - LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK - ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6 - ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt - ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs - CiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0 - b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz - XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u - cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj - YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog - ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl - cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3 - MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICAgICAg - ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICAgICAgICJj - dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgImN1 - c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv - dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg - ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg - ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp - ZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAg - ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg - ICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAgICAgICAgICAgICAibWV0 - YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi - OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg - ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg - ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu - dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j - b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50 - LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p - IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5 - cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu - dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg - ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog - MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z - dWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3IxIgogICAgICAgIH0sCiAg - ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl - bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs - CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu - dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg - ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog - ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh - dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp - ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl - bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k - X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx - LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgInN0YXR1 - cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg - ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0 - IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C - UUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws - CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog - ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg - ImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6 - IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1 - MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw - NTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs - U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl - ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i - amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg - ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1 - M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp - b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAz - LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg - ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg - ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx - NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg - ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm - IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 - LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s - CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg - ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg - ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv - c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVX - YnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcy - NDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh - eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK - ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK - ICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3M0pXIiwKICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u - X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFy - Z2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf - ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NDU4 - LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1MiwKICAgICAgICAiY3Vy - cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwKICAgICAgICAiY3VycmVu - dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJjdXN0b21l - ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6 - IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl - bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg - ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi - c2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwKICAgICAgICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi - Y3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs - YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg - ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu - YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk - ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v - bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 - IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu - dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki - OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz - X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg - ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny - aXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAgICAgICB9LAogICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg - LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl - dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl - c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz - IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAgICJzdGF0dXMiOiAi - YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg - ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51 - bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAg - InRvdGFsX2NvdW50IjogMywKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9j - dXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9ucyIKICB9Cn0K + encoding: UTF-8 + string: | + { + "id": "cus_8CzNtM08NVlSGN", + "object": "customer", + "account_balance": 0, + "created": 1459782849, + "currency": "usd", + "default_source": "card_1B3L1q2sOmf47Nz9b903fHHV", + "delinquent": false, + "description": "Vanessa Lonchamp", + "discount": null, + "email": "vanessa.lonchamp@sfr.fr", + "livemode": false, + "metadata": {}, + "shipping": null, + "sources": { + "object": "list", + "data": [ + { + "id": "card_1B3L1q2sOmf47Nz9b903fHHV", + "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_8CzNtM08NVlSGN", + "cvc_check": "pass", + "dynamic_last4": null, + "exp_month": 4, + "exp_year": 2018, + "fingerprint": "o52jybR7bnmNn6AT", + "funding": "credit", + "last4": "4242", + "metadata": {}, + "name": null, + "tokenization_method": null + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/customers/cus_8CzNtM08NVlSGN/sources" + }, + "subscriptions": { + "object": "list", + "data": [], + "has_more": false, + "total_count": 0, + "url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions" + } + } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:59 GMT + recorded_at: Thu, 14 Dec 2017 15:16:14 GMT - request: method: post uri: https://api.stripe.com/v1/invoiceitems @@ -352,8 +229,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '78' response: @@ -364,7 +242,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:00 GMT + - Thu, 14 Dec 2017 15:16:15 GMT Content-Type: - application/json Content-Length: @@ -384,29 +262,29 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_pF0zyB1PHHa0vK + - req_FQsvXJnUFqVFoq Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | { - "id": "ii_1B3L1s2sOmf47Nz9ZDp4PC5j", + "id": "ii_1BYyRX2sOmf47Nz9Kaswf28f", "object": "invoiceitem", "amount": -1000, "currency": "usd", "customer": "cus_8CzNtM08NVlSGN", - "date": 1505724900, + "date": 1513264575, "description": "wallet -10.0", "discountable": false, "invoice": null, "livemode": false, "metadata": {}, "period": { - "start": 1505724900, - "end": 1505724900 + "start": 1513264575, + "end": 1513264575 }, "plan": null, "proration": false, @@ -414,13 +292,13 @@ http_interactions: "subscription": null } http_version: - recorded_at: Mon, 18 Sep 2017 08:55:00 GMT + recorded_at: Thu, 14 Dec 2017 15:16:15 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions body: encoding: UTF-8 - string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1B3L1q2sOmf47Nz9S4Af81m3 + string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1BYyRV2sOmf47Nz9xbEqqeK3 headers: Accept: - "*/*; q=0.5, application/xml" @@ -434,8 +312,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '90' response: @@ -446,11 +325,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:02 GMT + - Thu, 14 Dec 2017 15:16:17 GMT Content-Type: - application/json Content-Length: - - '1829' + - '1845' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -466,57 +345,57 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_jmFKLSWMGW5vX4 + - req_p7HkYrigvIWrNl Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi - OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAiY3VycmVudF9w - ZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0OTAxLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO - VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs - bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh - dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDF0MnNPbWY0 - N056OVlJa1duUmpiIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv - bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi - OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92 - MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJPajZJ - UEN5dmtzTyIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0 - YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt - cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i - amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0 - ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi - aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5 - IjogMSwKICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICJzdGF0dXMiOiAiYWN0 - aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu - dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= + OiBudWxsLAogICJjcmVhdGVkIjogMTUxMzI2NDU3NiwKICAiY3VycmVudF9w + ZXJpb2RfZW5kIjogMTUxNTk0Mjk3NiwKICAiY3VycmVudF9wZXJpb2Rfc3Rh + cnQiOiAxNTEzMjY0NTc2LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO + VmxTR04iLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRpc2NvdW50 + IjogbnVsbCwKICAiZW5kZWRfYXQiOiBudWxsLAogICJpdGVtcyI6IHsKICAg + ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg + ICAgICJpZCI6ICJzaV9Cd3NCeGJlaGh4SHJDSiIsCiAgICAgICAgIm9iamVj + dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgImNyZWF0ZWQiOiAx + NTEzMjY0NTc3LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw + bGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0 + LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9i + amVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAg + ICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJl + bmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAog + ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlh + bnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBs + b2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii + OiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog + ICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMQogICAgICB9CiAgICBd + LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx + LAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlw + dGlvbj1zdWJfQndzQkduU2J0TVlQd0EiCiAgfSwKICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAibWV0YWRhdGEiOiB7fSwKICAicGxhbiI6IHsKICAgICJpZCI6 + ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 + MTcxODI3IiwKICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAiYW1vdW50Ijog + MjAwMCwKICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJt + ZXRhZGF0YSI6IHt9LAogICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk + dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt + YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgInN0YXRlbWVudF9kZXNj + cmlwdG9yIjogbnVsbCwKICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwK + ICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0IjogMTUxMzI2NDU3NiwK + ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJjZW50IjogbnVsbCwK + ICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:55:02 GMT + recorded_at: Thu, 14 Dec 2017 15:16:17 GMT - request: method: get uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1 @@ -536,8 +415,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -546,11 +426,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:03 GMT + - Thu, 14 Dec 2017 15:16:18 GMT Content-Type: - application/json Content-Length: - - '2974' + - '2988' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -566,83 +446,83 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_xiy9OnbA17A4u0 + - req_99uZrkuj665rjs Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg - ICJpZCI6ICJpbl8xQjNMMXQyc09tZjQ3Tno5N3N6ZnlaQVEiLAogICAgICAi + ICJpZCI6ICJpbl8xQll5Ulkyc09tZjQ3Tno5bzR6NHFQbGQiLAogICAgICAi b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICJjaGFy - Z2UiOiAiY2hfMUIzTDF0MnNPbWY0N056OXVjeUlma3poIiwKICAgICAgImNs + Z2UiOiAiY2hfMUJZeVJZMnNPbWY0N056OXN2WDJ2N0JqIiwKICAgICAgImNs b3NlZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAi Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUi - OiAxNTA1NzI0OTAxLAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg - ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFuY2UiOiAw - LAogICAgICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAgICAgImxpbmVzIjogewog - ICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgImRhdGEiOiBbCiAg - ICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJpaV8xQjNMMXMyc09tZjQ3 - Tno5WkRwNFBDNWoiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl - bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAgICAg - ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6 - ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjog - ZmFsc2UsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg - ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsK - ICAgICAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0OTAwLAogICAgICAgICAg - ICAgICJlbmQiOiAxNTA1NzI0OTAwCiAgICAgICAgICAgIH0sCiAgICAgICAg - ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZh - bHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICAg - ICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAi - aW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAg - ICAgICAiaWQiOiAic3ViX0JRQk9qNklQQ3l2a3NPIiwKICAgICAgICAgICAg - Im9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50Ijog - MjAwMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAg - ICAgICJkZXNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJkaXNjb3Vu - dGFibGUiOiB0cnVlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK - ICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJp - b2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTUwNTcyNDkwMSwKICAg - ICAgICAgICAgICAiZW5kIjogMTUwODMxNjkwMQogICAgICAgICAgICB9LAog - ICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICAgICAiaWQiOiAibWVu - c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy - NyIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAg - ICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs - CiAgICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAg - ICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICJsaXZl - bW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAt - IMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1 - ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAgICAic3RhdGVtZW50 - X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICJ0cmlhbF9wZXJp - b2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBy - b3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiAxLAog - ICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAg - InN1YnNjcmlwdGlvbl9pdGVtIjogInNpXzFCM0wxdDJzT21mNDdOejlZSWtX - blJqYiIsCiAgICAgICAgICAgICJ0eXBlIjogInN1YnNjcmlwdGlvbiIKICAg - ICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJoYXNfbW9yZSI6IGZhbHNl - LAogICAgICAgICJ0b3RhbF9jb3VudCI6IDIsCiAgICAgICAgInVybCI6ICIv - djEvaW52b2ljZXMvaW5fMUIzTDF0MnNPbWY0N056OTdzemZ5WkFRL2xpbmVz - IgogICAgICB9LAogICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgIm1l - dGFkYXRhIjoge30sCiAgICAgICJuZXh0X3BheW1lbnRfYXR0ZW1wdCI6IG51 - bGwsCiAgICAgICJudW1iZXIiOiAiOWViZmVhZDIwYi0wMDA4IiwKICAgICAg - InBhaWQiOiB0cnVlLAogICAgICAicGVyaW9kX2VuZCI6IDE1MDU3MjQ5MDEs - CiAgICAgICJwZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAogICAgICAicmVj - ZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAic3RhcnRpbmdfYmFsYW5jZSI6 - IDAsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg - ICJzdWJzY3JpcHRpb24iOiAic3ViX0JRQk9qNklQQ3l2a3NPIiwKICAgICAg - InN1YnRvdGFsIjogMTAwMCwKICAgICAgInRheCI6IG51bGwsCiAgICAgICJ0 - YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICJ0b3RhbCI6IDEwMDAsCiAgICAg - ICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNTA1NzI0OTAyCiAgICB9CiAg - XSwKICAiaGFzX21vcmUiOiB0cnVlLAogICJ1cmwiOiAiL3YxL2ludm9pY2Vz - Igp9Cg== + OiAxNTEzMjY0NTc2LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg + ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZHVlX2RhdGUiOiBudWxsLAog + ICAgICAiZW5kaW5nX2JhbGFuY2UiOiAwLAogICAgICAiZm9yZ2l2ZW4iOiBm + YWxzZSwKICAgICAgImxpbmVzIjogewogICAgICAgICJvYmplY3QiOiAibGlz + dCIsCiAgICAgICAgImRhdGEiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAg + ICJpZCI6ICJpaV8xQll5Ulgyc09tZjQ3Tno5S2Fzd2YyOGYiLAogICAgICAg + ICAgICAib2JqZWN0IjogImxpbmVfaXRlbSIsCiAgICAgICAgICAgICJhbW91 + bnQiOiAtMTAwMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg + ICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAg + ICAgICAgICAiZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICAgICAgICJs + aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK + ICAgICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgICAic3RhcnQi + OiAxNTEzMjY0NTc1LAogICAgICAgICAgICAgICJlbmQiOiAxNTEzMjY0NTc1 + CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwbGFuIjogbnVsbCwKICAg + ICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVh + bnRpdHkiOiBudWxsLAogICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs + bCwKICAgICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgICAg + ICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAic3ViX0J3c0JH + blNidE1ZUHdBIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0i + LAogICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6IG51 + bGwsCiAgICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAg + ICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRh + Ijoge30sCiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAg + InN0YXJ0IjogMTUxMzI2NDU3NiwKICAgICAgICAgICAgICAiZW5kIjogMTUx + NTk0Mjk3NgogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IHsK + ICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1 + ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgIm9i + amVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK + ICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAg + ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgImludGVy + dmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi + OiAxLAogICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg + ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJuYW1lIjog + Ik1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBh + bnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwK + ICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog + ICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAg + ICAgICAgfSwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAg + ICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgICAic3Vic2NyaXB0 + aW9uIjogbnVsbCwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbl9pdGVtIjog + InNpX0J3c0J4YmVoaHhIckNKIiwKICAgICAgICAgICAgInR5cGUiOiAic3Vi + c2NyaXB0aW9uIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImhh + c19tb3JlIjogZmFsc2UsCiAgICAgICAgInRvdGFsX2NvdW50IjogMiwKICAg + ICAgICAidXJsIjogIi92MS9pbnZvaWNlcy9pbl8xQll5Ulkyc09tZjQ3Tno5 + bzR6NHFQbGQvbGluZXMiCiAgICAgIH0sCiAgICAgICJsaXZlbW9kZSI6IGZh + bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgIm5leHRfcGF5bWVu + dF9hdHRlbXB0IjogbnVsbCwKICAgICAgIm51bWJlciI6ICI5ZWJmZWFkMjBi + LTAwMDkiLAogICAgICAicGFpZCI6IHRydWUsCiAgICAgICJwZXJpb2RfZW5k + IjogMTUxMzI2NDU3NiwKICAgICAgInBlcmlvZF9zdGFydCI6IDE1MTMyNjQ1 + NzYsCiAgICAgICJyZWNlaXB0X251bWJlciI6IG51bGwsCiAgICAgICJzdGFy + dGluZ19iYWxhbmNlIjogMCwKICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9y + IjogbnVsbCwKICAgICAgInN1YnNjcmlwdGlvbiI6ICJzdWJfQndzQkduU2J0 + TVlQd0EiLAogICAgICAic3VidG90YWwiOiAxMDAwLAogICAgICAidGF4Ijog + bnVsbCwKICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgInRvdGFs + IjogMTAwMCwKICAgICAgIndlYmhvb2tzX2RlbGl2ZXJlZF9hdCI6IDE1MTMy + NjQ1NzcKICAgIH0KICBdLAogICJoYXNfbW9yZSI6IHRydWUsCiAgInVybCI6 + ICIvdjEvaW52b2ljZXMiCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:55:03 GMT + recorded_at: Thu, 14 Dec 2017 15:16:18 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN @@ -662,8 +542,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -672,11 +553,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:04 GMT + - Thu, 14 Dec 2017 15:16:19 GMT Content-Type: - application/json Content-Length: - - '10314' + - '3661' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -692,25 +573,25 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_rQYKrDVDUg2F4l + - req_mEVVMDfCYzFGoZ Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs - dF9zb3VyY2UiOiAiY2FyZF8xQjNMMXEyc09tZjQ3Tno5YjkwM2ZISFYiLAog + dF9zb3VyY2UiOiAiY2FyZF8xQll5UlYyc09tZjQ3Tno5TVNEMmRXYkQiLAog ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog - WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDFxMnNPbWY0N056 - OWI5MDNmSEhWIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg + WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUJZeVJWMnNPbWY0N056 + OU1TRDJkV2JEIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50 cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk @@ -729,212 +610,64 @@ http_interactions: b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg - ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICAg + ICAgewogICAgICAgICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICAg ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl cmlvZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxs - LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAgICAgICAiY3Vy - cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAgICAgICAiY3VycmVu - dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0OTAxLAogICAgICAgICJjdXN0b21l - ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6 - IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl - bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg - ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi - c2lfMUIzTDF0MnNPbWY0N056OVlJa1duUmpiIiwKICAgICAgICAgICAgICAi - b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi - Y3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAgICAgICAgICAgIm1ldGFkYXRh - Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs - YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg - ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg - ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh - bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu - YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk - ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v - bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6 - IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu - dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki - OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz - X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg - ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny - aXB0aW9uPXN1Yl9CUUJPajZJUEN5dmtzTyIKICAgICAgICB9LAogICAgICAg - ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy - aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg - ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy - MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg - ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog - e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg - LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl - dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl - c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz - IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg - ICAgICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICAgICAgICJzdGF0dXMiOiAi - YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg - ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51 - bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5r - VWxjaWkzcjEiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwK - ICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAg - ICAgICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAg - ICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5j - ZWxlZF9hdCI6IDE1MDU3MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1 - NzI0ODM3LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2 - ODM3LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4 - MzcsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIs - CiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQi - OiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3Qi - OiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewog - ICAgICAgICAgICAgICJpZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6 - c0oiLAogICAgICAgICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0 - ZW0iLAogICAgICAgICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAg - ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxh - biI6IHsKICAgICAgICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl - ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg - ICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1v - dW50IjogMjAwMCwKICAgICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4 - MzEwOCwKICAgICAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg - ICAgICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAg - ICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2 - ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9 - LAogICAgICAgICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk - dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt - YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0 - YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0 - cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAg - ICAgICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAg - ICAgXSwKICAgICAgICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAg - InRvdGFsX2NvdW50IjogMSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNj - cmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3Ix - IgogICAgICAgIH0sCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4Mzcs - CiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVy - Y2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAg - ICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAg - ICAgImlkIjogInN1Yl9CUUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVj - dCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVf - cGVyY2VudCI6IG51bGwsCiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1 - dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6 - IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAg - ICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRf - cGVyaW9kX2VuZCI6IDE1MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVy - aW9kX3N0YXJ0IjogMTUwNTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAi - Y3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxs - LAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjog - ewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRh - IjogWwogICAgICAgICAgICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFC - M0t2VDJzT21mNDdOejl1M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVj - dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0 - ZWQiOiAxNTA1NzI0NTAzLAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9 - LAogICAgICAgICAgICAgICJwbGFuIjogewogICAgICAgICAgICAgICAgImlk - IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0 - MDQxNzE4MjciLAogICAgICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwK - ICAgICAgICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAg - ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1 - cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAi - bW9udGgiLAogICAgICAgICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAg - ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6 - ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg - YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs - CiAgICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxs - LAogICAgICAgICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog - ICAgICAgICAgICAgIH0sCiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQog - ICAgICAgICAgICB9CiAgICAgICAgICBdLAogICAgICAgICAgImhhc19tb3Jl - IjogZmFsc2UsCiAgICAgICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAg - ICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlv - bj1zdWJfQlFCSUltdVVXYnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2 - ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg - ICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJl - ZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAg - ICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwK - ICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJj - dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVydmFsIjogIm1vbnRo - IiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAi - bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAog - ICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0 - dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQn - ZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw - dG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51 - bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAg - InN0YXJ0IjogMTUwNTcyNDUwMywKICAgICAgICAic3RhdHVzIjogImFjdGl2 - ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJp - YWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAg - ICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3ViX0JRQkhIUEJqTzU3 - M0pXIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAg - ICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAi - YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICAgImNh - bmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRf - YXQiOiAxNTA1NzI0NDU4LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDQ1 - MiwKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjQ1MiwK - ICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0NDUyLAog - ICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAg - ICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVs - bCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxp - c3QiLAogICAgICAgICAgImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAg - ICAgICAgICAiaWQiOiAic2lfMUIzS3VlMnNPbWY0N056OTJQQ3ZEVVpLIiwK - ICAgICAgICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwK - ICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ0NTMsCiAgICAgICAg - ICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7 - CiAgICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt - c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAg - ICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6 - IDIwMDAsCiAgICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgs - CiAgICAgICAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAi - aW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2Rl - IjogZmFsc2UsCiAgICAgICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAg - ICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAt - IMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1 - ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1l - bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxf - cGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAg - ICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0s - CiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3Rh - bF9jb3VudCI6IDEsCiAgICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRp - b25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJISFBCak81NzNKVyIKICAg - ICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJt - ZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAgICAgImlk - IjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0 - MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAg - ICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5 - NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAg - ICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2Nv - dW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVs - IHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNl - aWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAg - ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRy - aWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1 - YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNTA1NzI0NDUyLAogICAg - ICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQi - OiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0 - cmlhbF9zdGFydCI6IG51bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9y - ZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogNCwKICAgICJ1cmwiOiAi - L3YxL2N1c3RvbWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc3Vic2NyaXB0aW9u - cyIKICB9Cn0K + LAogICAgICAgICJjcmVhdGVkIjogMTUxMzI2NDU3NiwKICAgICAgICAiY3Vy + cmVudF9wZXJpb2RfZW5kIjogMTUxNTk0Mjk3NiwKICAgICAgICAiY3VycmVu + dF9wZXJpb2Rfc3RhcnQiOiAxNTEzMjY0NTc2LAogICAgICAgICJjdXN0b21l + ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkYXlzX3VudGls + X2R1ZSI6IG51bGwsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAg + ICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJpdGVtcyI6IHsKICAgICAg + ICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgICAiZGF0YSI6IFsKICAg + ICAgICAgICAgewogICAgICAgICAgICAgICJpZCI6ICJzaV9Cd3NCeGJlaGh4 + SHJDSiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25f + aXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTEzMjY0NTc3LAog + ICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJw + bGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt + cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAg + ICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJh + bW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5 + NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg + ICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg + ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJs + aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjog + e30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLD + qWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBk + ZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAi + c3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAg + InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAg + ICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAg + ICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAg + ICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vi + c2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQndzQkduU2J0TVlQ + d0EiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg + ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAg + ICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRo + LTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIs + CiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVk + IjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAog + ICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK + ICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAi + TWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFu + cywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAog + ICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAg + ICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAg + ICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUxMzI2NDU3 + NiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9w + ZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAg + ICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0KICAgIF0sCiAgICAi + aGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAi + dXJsIjogIi92MS9jdXN0b21lcnMvY3VzXzhDek50TTA4TlZsU0dOL3N1YnNj + cmlwdGlvbnMiCiAgfQp9Cg== http_version: - recorded_at: Mon, 18 Sep 2017 08:55:04 GMT + recorded_at: Thu, 14 Dec 2017 15:16:19 GMT - request: method: get - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBOj6IPCyvksO + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BwsBGnSbtMYPwA body: encoding: US-ASCII string: '' @@ -951,8 +684,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -961,11 +695,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:05 GMT + - Thu, 14 Dec 2017 15:16:20 GMT Content-Type: - application/json Content-Length: - - '1829' + - '1845' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -981,60 +715,60 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_5mJe5DBAT3uyMw + - req_BQbGGWGT1HUgDE Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi - OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDkwMSwKICAiY3VycmVudF9w - ZXJpb2RfZW5kIjogMTUwODMxNjkwMSwKICAiY3VycmVudF9wZXJpb2Rfc3Rh - cnQiOiAxNTA1NzI0OTAxLAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO - VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs - bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh - dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDF0MnNPbWY0 - N056OVlJa1duUmpiIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv - bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ5MDIsCiAgICAg - ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg - ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y - MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog - ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6 - IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg - ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2 - YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l - bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs - IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg - ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg - ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg - ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi - OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92 - MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJPajZJ - UEN5dmtzTyIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0 - YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt - cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i - amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0 - ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi - aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK - ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg - ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs - IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg - LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog - ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5 - IjogMSwKICAic3RhcnQiOiAxNTA1NzI0OTAxLAogICJzdGF0dXMiOiAiYWN0 - aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu - dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo= + OiBudWxsLAogICJjcmVhdGVkIjogMTUxMzI2NDU3NiwKICAiY3VycmVudF9w + ZXJpb2RfZW5kIjogMTUxNTk0Mjk3NiwKICAiY3VycmVudF9wZXJpb2Rfc3Rh + cnQiOiAxNTEzMjY0NTc2LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO + VmxTR04iLAogICJkYXlzX3VudGlsX2R1ZSI6IG51bGwsCiAgImRpc2NvdW50 + IjogbnVsbCwKICAiZW5kZWRfYXQiOiBudWxsLAogICJpdGVtcyI6IHsKICAg + ICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAgICAgewogICAg + ICAgICJpZCI6ICJzaV9Cd3NCeGJlaGh4SHJDSiIsCiAgICAgICAgIm9iamVj + dCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAgICAgICAgImNyZWF0ZWQiOiAx + NTEzMjY0NTc3LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJw + bGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0 + LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9i + amVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAg + ICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJl + bmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAog + ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZl + bW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlh + bnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBs + b2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3Ii + OiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAog + ICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMQogICAgICB9CiAgICBd + LAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAx + LAogICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlw + dGlvbj1zdWJfQndzQkduU2J0TVlQd0EiCiAgfSwKICAibGl2ZW1vZGUiOiBm + YWxzZSwKICAibWV0YWRhdGEiOiB7fSwKICAicGxhbiI6IHsKICAgICJpZCI6 + ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0 + MTcxODI3IiwKICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAiYW1vdW50Ijog + MjAwMCwKICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICJjdXJyZW5j + eSI6ICJ1c2QiLAogICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICJpbnRl + cnZhbF9jb3VudCI6IDEsCiAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICJt + ZXRhZGF0YSI6IHt9LAogICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lk + dWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVt + YW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgInN0YXRlbWVudF9kZXNj + cmlwdG9yIjogbnVsbCwKICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwK + ICB9LAogICJxdWFudGl0eSI6IDEsCiAgInN0YXJ0IjogMTUxMzI2NDU3NiwK + ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgInRheF9wZXJjZW50IjogbnVsbCwK + ICAidHJpYWxfZW5kIjogbnVsbCwKICAidHJpYWxfc3RhcnQiOiBudWxsCn0K http_version: - recorded_at: Mon, 18 Sep 2017 08:55:05 GMT + recorded_at: Thu, 14 Dec 2017 15:16:20 GMT - request: method: delete - uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBOj6IPCyvksO?at_period_end=true + uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BwsBGnSbtMYPwA?at_period_end=true body: encoding: US-ASCII string: '' @@ -1051,8 +785,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -1061,11 +796,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:55:06 GMT + - Thu, 14 Dec 2017 15:16:21 GMT Content-Type: - application/json Content-Length: - - '1834' + - '1850' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -1081,55 +816,56 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_HZJNo9ZE0A7NTg + - req_kF4G7r4nbtQj6a Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: ASCII-8BIT string: !binary |- - ewogICJpZCI6ICJzdWJfQlFCT2o2SVBDeXZrc08iLAogICJvYmplY3QiOiAi + ewogICJpZCI6ICJzdWJfQndzQkduU2J0TVlQd0EiLAogICJvYmplY3QiOiAi c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICJjYW5jZWxlZF9hdCI6 - IDE1MDU3MjQ5MDUsCiAgImNyZWF0ZWQiOiAxNTA1NzI0OTAxLAogICJjdXJy - ZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2OTAxLAogICJjdXJyZW50X3Blcmlv - ZF9zdGFydCI6IDE1MDU3MjQ5MDEsCiAgImN1c3RvbWVyIjogImN1c184Q3pO - dE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi - OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg - ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV8xQjNMMXQy - c09tZjQ3Tno5WUlrV25SamIiLAogICAgICAgICJvYmplY3QiOiAic3Vic2Ny - aXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDkwMiwK - ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg - ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v - bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh - biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh - dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi - LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp - bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz - ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi - OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1 - IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi - LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg - ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog - ICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgfQogICAgXSwKICAgICJoYXNf - bW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwi - OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JR - Qk9qNklQQ3l2a3NPIgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1l - dGFkYXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10 - YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg - ICAib2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAi - Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwK - ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQi - OiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7 - fSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVk - aWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2Vt - cGxvaSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51 - bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVh - bnRpdHkiOiAxLAogICJzdGFydCI6IDE1MDU3MjQ5MDEsCiAgInN0YXR1cyI6 - ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2Vu - ZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg== + IDE1MTMyNjQ1ODEsCiAgImNyZWF0ZWQiOiAxNTEzMjY0NTc2LAogICJjdXJy + ZW50X3BlcmlvZF9lbmQiOiAxNTE1OTQyOTc2LAogICJjdXJyZW50X3Blcmlv + ZF9zdGFydCI6IDE1MTMyNjQ1NzYsCiAgImN1c3RvbWVyIjogImN1c184Q3pO + dE0wOE5WbFNHTiIsCiAgImRheXNfdW50aWxfZHVlIjogbnVsbCwKICAiZGlz + Y291bnQiOiBudWxsLAogICJlbmRlZF9hdCI6IG51bGwsCiAgIml0ZW1zIjog + ewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7 + CiAgICAgICAgImlkIjogInNpX0J3c0J4YmVoaHhIckNKIiwKICAgICAgICAi + b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAiY3JlYXRl + ZCI6IDE1MTMyNjQ1NzcsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg + ICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1y + ZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAg + ICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAs + CiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAi + Y3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250 + aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAg + ImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK + ICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOp + dHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBk + J2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3Jp + cHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu + dWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgIH0K + ICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0b3RhbF9jb3Vu + dCI6IDEsCiAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vi + c2NyaXB0aW9uPXN1Yl9Cd3NCR25TYnRNWVB3QSIKICB9LAogICJsaXZlbW9k + ZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6IHt9LAogICJwbGFuIjogewogICAg + ImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAx + NjA0MDQxNzE4MjciLAogICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICJhbW91 + bnQiOiAyMDAwLAogICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1 + cnJlbmN5IjogInVzZCIsCiAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg + ImludGVydmFsX2NvdW50IjogMSwKICAgICJsaXZlbW9kZSI6IGZhbHNlLAog + ICAgIm1ldGFkYXRhIjoge30sCiAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm + IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50 + LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAic3RhdGVtZW50 + X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgInRyaWFsX3BlcmlvZF9kYXlzIjog + bnVsbAogIH0sCiAgInF1YW50aXR5IjogMSwKICAic3RhcnQiOiAxNTEzMjY0 + NTc2LAogICJzdGF0dXMiOiAiYWN0aXZlIiwKICAidGF4X3BlcmNlbnQiOiBu + dWxsLAogICJ0cmlhbF9lbmQiOiBudWxsLAogICJ0cmlhbF9zdGFydCI6IG51 + bGwKfQo= http_version: - recorded_at: Mon, 18 Sep 2017 08:55:06 GMT + recorded_at: Thu, 14 Dec 2017 15:16:21 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/subscriptions_user_renew_failed.yml b/test/vcr_cassettes/subscriptions_user_renew_failed.yml index 2a93bc93f..6955cf20d 100644 --- a/test/vcr_cassettes/subscriptions_user_renew_failed.yml +++ b/test/vcr_cassettes/subscriptions_user_renew_failed.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -29,11 +30,11 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:39 GMT + - Thu, 14 Dec 2017 15:16:24 GMT Content-Type: - application/json Content-Length: - - '3521' + - '3543' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -49,11 +50,11 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_FQpTWfxasxmQeV + - req_6LXPuSODUn5uJ2 Stripe-Version: - '2015-10-16' Strict-Transport-Security: - - max-age=31556926; includeSubDomains + - max-age=31556926; includeSubDomains; preload body: encoding: UTF-8 string: | @@ -63,7 +64,7 @@ http_interactions: "account_balance": 0, "created": 1460026822, "currency": "usd", - "default_source": "card_1B3Kvf2sOmf47Nz9casnR7cT", + "default_source": "card_1BYyQ32sOmf47Nz9BKCE2qig", "delinquent": false, "description": "Lucile Seguin", "discount": null, @@ -75,7 +76,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3Kvf2sOmf47Nz9casnR7cT", + "id": "card_1BYyQ32sOmf47Nz9BKCE2qig", "object": "card", "address_city": null, "address_country": null, @@ -108,25 +109,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BQBIpVl9mVtxpX", + "id": "sub_BwsAa2guSea26d", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": true, - "canceled_at": 1505724520, - "created": 1505724517, - "current_period_end": 1508316517, - "current_period_start": 1505724517, + "canceled_at": 1513264490, + "created": 1513264485, + "current_period_end": 1515942885, + "current_period_start": 1513264485, "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_1B3Kvh2sOmf47Nz9KDhFJgbP", + "id": "si_BwsA4akiGbwgjQ", "object": "subscription_item", - "created": 1505724517, + "created": 1513264486, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -147,7 +149,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BQBIpVl9mVtxpX" + "url": "/v1/subscription_items?subscription=sub_BwsAa2guSea26d" }, "livemode": false, "metadata": {}, @@ -166,7 +168,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1505724517, + "start": 1513264485, "status": "active", "tax_percent": null, "trial_end": null, @@ -179,7 +181,7 @@ http_interactions: } } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:39 GMT + recorded_at: Thu, 14 Dec 2017 15:16:25 GMT - request: method: post uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions @@ -199,8 +201,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu - 5.4.0-6ubuntu1~16.04.4) ) #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017","hostname":"Sleede-SylvainPC"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '68' response: @@ -211,7 +214,7 @@ http_interactions: Server: - nginx Date: - - Mon, 18 Sep 2017 08:54:39 GMT + - Thu, 14 Dec 2017 15:16:25 GMT Content-Type: - application/json Content-Length: @@ -231,7 +234,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_VhkGKEe7LIBwBN + - req_nhQmz71ymY1dVq Stripe-Version: - '2015-10-16' body: @@ -245,5 +248,5 @@ http_interactions: } } http_version: - recorded_at: Mon, 18 Sep 2017 08:54:39 GMT + recorded_at: Thu, 14 Dec 2017 15:16:25 GMT recorded_with: VCR 3.0.1 diff --git a/test/vcr_cassettes/subscriptions_user_renew_success.yml b/test/vcr_cassettes/subscriptions_user_renew_success.yml index 9febe2831..c4c49e253 100644 --- a/test/vcr_cassettes/subscriptions_user_renew_success.yml +++ b/test/vcr_cassettes/subscriptions_user_renew_success.yml @@ -19,8 +19,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' Content-Length: - '81' response: @@ -31,11 +32,11 @@ http_interactions: Server: - nginx Date: - - Mon, 13 Nov 2017 12:04:16 GMT + - Thu, 14 Dec 2017 15:16:26 GMT Content-Type: - application/json Content-Length: - - '777' + - '779' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -51,7 +52,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_KNcRzid7HtfwY8 + - req_gYD6iN8y8mwHvM Stripe-Version: - '2015-10-16' Strict-Transport-Security: @@ -60,10 +61,10 @@ http_interactions: encoding: UTF-8 string: | { - "id": "tok_1BNgfk2sOmf47Nz9LQLqJZll", + "id": "tok_1BYyRi2sOmf47Nz9FXI1a7iw", "object": "token", "card": { - "id": "card_1BNgfk2sOmf47Nz94JzqP6Ra", + "id": "card_1BYyRi2sOmf47Nz9yj9PfHSf", "object": "card", "address_city": null, "address_country": null, @@ -86,14 +87,14 @@ http_interactions: "name": null, "tokenization_method": null }, - "client_ip": "2.7.73.192", - "created": 1510574656, + "client_ip": "90.112.59.71", + "created": 1513264586, "livemode": false, "type": "card", "used": false } http_version: - recorded_at: Mon, 13 Nov 2017 12:04:16 GMT + recorded_at: Thu, 14 Dec 2017 15:16:27 GMT - request: method: get uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX @@ -113,8 +114,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -123,11 +125,11 @@ http_interactions: Server: - nginx Date: - - Mon, 13 Nov 2017 12:04:17 GMT + - Thu, 14 Dec 2017 15:16:27 GMT Content-Type: - application/json Content-Length: - - '1410' + - '3543' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -143,7 +145,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_A5kOtmpxmY44UI + - req_i25SBM1vlCOBaL Stripe-Version: - '2015-10-16' Strict-Transport-Security: @@ -157,7 +159,7 @@ http_interactions: "account_balance": 0, "created": 1460026822, "currency": "usd", - "default_source": "card_1B3L1Y2sOmf47Nz9HZTCw8kX", + "default_source": "card_1BYyQ32sOmf47Nz9BKCE2qig", "delinquent": false, "description": "Lucile Seguin", "discount": null, @@ -169,388 +171,7 @@ http_interactions: "object": "list", "data": [ { - "id": "card_1B3L1Y2sOmf47Nz9HZTCw8kX", - "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_8E2ys9zDZgetWX", - "cvc_check": "pass", - "dynamic_last4": null, - "exp_month": 4, - "exp_year": 2018, - "fingerprint": "o52jybR7bnmNn6AT", - "funding": "credit", - "last4": "4242", - "metadata": {}, - "name": null, - "tokenization_method": null - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/customers/cus_8E2ys9zDZgetWX/sources" - }, - "subscriptions": { - "object": "list", - "data": [], - "has_more": false, - "total_count": 0, - "url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions" - } - } - http_version: - recorded_at: Mon, 13 Nov 2017 12:04:17 GMT -- request: - method: post - uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions - body: - encoding: UTF-8 - string: plan=mensuel-standard-month-20160404171519&source=tok_1BNgfk2sOmf47Nz9LQLqJZll - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' - Content-Length: - - '78' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 13 Nov 2017 12:04:19 GMT - Content-Type: - - application/json - Content-Length: - - '1701' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_gcNo3O2WVnqeT7 - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "sub_BlD51nQt1oWJ9D", - "object": "subscription", - "application_fee_percent": null, - "billing": "charge_automatically", - "cancel_at_period_end": false, - "canceled_at": null, - "created": 1510574658, - "current_period_end": 1513166658, - "current_period_start": 1510574658, - "customer": "cus_8E2ys9zDZgetWX", - "discount": null, - "ended_at": null, - "items": { - "object": "list", - "data": [ - { - "id": "si_BlD55nafF1TJT4", - "object": "subscription_item", - "created": 1510574658, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1 - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BlD51nQt1oWJ9D" - }, - "livemode": false, - "metadata": {}, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "quantity": 1, - "start": 1510574658, - "status": "active", - "tax_percent": null, - "trial_end": null, - "trial_start": null - } - http_version: - recorded_at: Mon, 13 Nov 2017 12:04:19 GMT -- request: - method: get - uri: https://api.stripe.com/v1/invoices?customer=cus_8E2ys9zDZgetWX&limit=1 - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 13 Nov 2017 12:04:20 GMT - Content-Type: - - application/json - Content-Length: - - '2337' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_KWm9Kk8Pw2QdNw - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "object": "list", - "data": [ - { - "id": "in_1BNgfm2sOmf47Nz9dJk9vqIn", - "object": "invoice", - "amount_due": 3000, - "application_fee": null, - "attempt_count": 1, - "attempted": true, - "billing": "charge_automatically", - "charge": "ch_1BNgfm2sOmf47Nz9vewU2xs6", - "closed": true, - "currency": "usd", - "customer": "cus_8E2ys9zDZgetWX", - "date": 1510574658, - "description": null, - "discount": null, - "ending_balance": 0, - "forgiven": false, - "lines": { - "object": "list", - "data": [ - { - "id": "sub_BlD51nQt1oWJ9D", - "object": "line_item", - "amount": 3000, - "currency": "usd", - "description": null, - "discountable": true, - "livemode": false, - "metadata": {}, - "period": { - "start": 1510574658, - "end": 1513166658 - }, - "plan": { - "id": "mensuel-standard-month-20160404171519", - "object": "plan", - "amount": 3000, - "created": 1459782921, - "currency": "usd", - "interval": "month", - "interval_count": 1, - "livemode": false, - "metadata": {}, - "name": "Mensuel - standard, association - month", - "statement_descriptor": null, - "trial_period_days": null - }, - "proration": false, - "quantity": 1, - "subscription": null, - "subscription_item": "si_BlD55nafF1TJT4", - "type": "subscription" - } - ], - "has_more": false, - "total_count": 1, - "url": "/v1/invoices/in_1BNgfm2sOmf47Nz9dJk9vqIn/lines" - }, - "livemode": false, - "metadata": {}, - "next_payment_attempt": null, - "number": "737bcc32b8-0009", - "paid": true, - "period_end": 1510574658, - "period_start": 1510574658, - "receipt_number": null, - "starting_balance": 0, - "statement_descriptor": null, - "subscription": "sub_BlD51nQt1oWJ9D", - "subtotal": 3000, - "tax": null, - "tax_percent": null, - "total": 3000, - "webhooks_delivered_at": 1510574659 - } - ], - "has_more": true, - "url": "/v1/invoices" - } - http_version: - recorded_at: Mon, 13 Nov 2017 12:04:20 GMT -- request: - method: get - uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX - body: - encoding: US-ASCII - string: '' - headers: - Accept: - - "*/*; q=0.5, application/xml" - Accept-Encoding: - - gzip, deflate - User-Agent: - - Stripe/v1 RubyBindings/1.30.2 - Authorization: - - Bearer sk_test_testfaketestfaketestfake - Content-Type: - - application/x-www-form-urlencoded - X-Stripe-Client-User-Agent: - - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 13 Nov 2017 12:04:21 GMT - Content-Type: - - application/json - Content-Length: - - '3506' - Connection: - - keep-alive - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, POST, HEAD, OPTIONS, DELETE - Access-Control-Allow-Origin: - - "*" - Access-Control-Expose-Headers: - - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required - Access-Control-Max-Age: - - '300' - Cache-Control: - - no-cache, no-store - Request-Id: - - req_hYcqWSC1zC8dnb - Stripe-Version: - - '2015-10-16' - Strict-Transport-Security: - - max-age=31556926; includeSubDomains; preload - body: - encoding: UTF-8 - string: | - { - "id": "cus_8E2ys9zDZgetWX", - "object": "customer", - "account_balance": 0, - "created": 1460026822, - "currency": "usd", - "default_source": "card_1BNgfk2sOmf47Nz94JzqP6Ra", - "delinquent": false, - "description": "Lucile Seguin", - "discount": null, - "email": "lucile.seguin@live.fr", - "livemode": false, - "metadata": {}, - "shipping": null, - "sources": { - "object": "list", - "data": [ - { - "id": "card_1BNgfk2sOmf47Nz94JzqP6Ra", + "id": "card_1BYyQ32sOmf47Nz9BKCE2qig", "object": "card", "address_city": null, "address_country": null, @@ -583,25 +204,26 @@ http_interactions: "object": "list", "data": [ { - "id": "sub_BlD51nQt1oWJ9D", + "id": "sub_BwsAa2guSea26d", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", - "cancel_at_period_end": false, - "canceled_at": null, - "created": 1510574658, - "current_period_end": 1513166658, - "current_period_start": 1510574658, + "cancel_at_period_end": true, + "canceled_at": 1513264490, + "created": 1513264485, + "current_period_end": 1515942885, + "current_period_start": 1513264485, "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_BlD55nafF1TJT4", + "id": "si_BwsA4akiGbwgjQ", "object": "subscription_item", - "created": 1510574658, + "created": 1513264486, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -622,7 +244,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BlD51nQt1oWJ9D" + "url": "/v1/subscription_items?subscription=sub_BwsAa2guSea26d" }, "livemode": false, "metadata": {}, @@ -641,7 +263,7 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1510574658, + "start": 1513264485, "status": "active", "tax_percent": null, "trial_end": null, @@ -654,13 +276,13 @@ http_interactions: } } http_version: - recorded_at: Mon, 13 Nov 2017 12:04:21 GMT + recorded_at: Thu, 14 Dec 2017 15:16:27 GMT - request: - method: get - uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BlD51nQt1oWJ9D + method: post + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions body: - encoding: US-ASCII - string: '' + encoding: UTF-8 + string: plan=mensuel-standard-month-20160404171519&source=tok_1BYyRi2sOmf47Nz9FXI1a7iw headers: Accept: - "*/*; q=0.5, application/xml" @@ -674,8 +296,11 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + Content-Length: + - '78' response: status: code: 200 @@ -684,11 +309,11 @@ http_interactions: Server: - nginx Date: - - Mon, 13 Nov 2017 12:04:21 GMT + - Thu, 14 Dec 2017 15:16:29 GMT Content-Type: - application/json Content-Length: - - '1701' + - '1727' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -704,7 +329,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_1TIvRiG205qi8k + - req_sjlKCyVSC3TL9j Stripe-Version: - '2015-10-16' Strict-Transport-Security: @@ -713,25 +338,26 @@ http_interactions: encoding: UTF-8 string: | { - "id": "sub_BlD51nQt1oWJ9D", + "id": "sub_BwsC7mpO1zykq5", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", "cancel_at_period_end": false, "canceled_at": null, - "created": 1510574658, - "current_period_end": 1513166658, - "current_period_start": 1510574658, + "created": 1513264588, + "current_period_end": 1515942988, + "current_period_start": 1513264588, "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_BlD55nafF1TJT4", + "id": "si_BwsCrtfXVwhf6B", "object": "subscription_item", - "created": 1510574658, + "created": 1513264589, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -752,7 +378,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BlD51nQt1oWJ9D" + "url": "/v1/subscription_items?subscription=sub_BwsC7mpO1zykq5" }, "livemode": false, "metadata": {}, @@ -771,17 +397,17 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1510574658, + "start": 1513264588, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 13 Nov 2017 12:04:22 GMT + recorded_at: Thu, 14 Dec 2017 15:16:29 GMT - request: - method: delete - uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BlD51nQt1oWJ9D?at_period_end=true + method: get + uri: https://api.stripe.com/v1/invoices?customer=cus_8E2ys9zDZgetWX&limit=1 body: encoding: US-ASCII string: '' @@ -798,8 +424,9 @@ http_interactions: - application/x-www-form-urlencoded X-Stripe-Client-User-Agent: - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux - version 4.13.11-1-ARCH (builduser@tobias) (gcc version 7.2.0 (GCC)) #1 SMP - PREEMPT Thu Nov 2 10:25:56 CET 2017","hostname":"Sylvain-desktop"}' + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' response: status: code: 200 @@ -808,11 +435,11 @@ http_interactions: Server: - nginx Date: - - Mon, 13 Nov 2017 12:04:23 GMT + - Thu, 14 Dec 2017 15:16:30 GMT Content-Type: - application/json Content-Length: - - '1706' + - '2361' Connection: - keep-alive Access-Control-Allow-Credentials: @@ -828,7 +455,7 @@ http_interactions: Cache-Control: - no-cache, no-store Request-Id: - - req_l4VwKjGKvAHC2p + - req_SzaXUQrVibVYYK Stripe-Version: - '2015-10-16' Strict-Transport-Security: @@ -837,25 +464,417 @@ http_interactions: encoding: UTF-8 string: | { - "id": "sub_BlD51nQt1oWJ9D", + "object": "list", + "data": [ + { + "id": "in_1BYyRk2sOmf47Nz9OeJkiInX", + "object": "invoice", + "amount_due": 3000, + "application_fee": null, + "attempt_count": 1, + "attempted": true, + "billing": "charge_automatically", + "charge": "ch_1BYyRk2sOmf47Nz9WCksZwu0", + "closed": true, + "currency": "usd", + "customer": "cus_8E2ys9zDZgetWX", + "date": 1513264588, + "description": null, + "discount": null, + "due_date": null, + "ending_balance": 0, + "forgiven": false, + "lines": { + "object": "list", + "data": [ + { + "id": "sub_BwsC7mpO1zykq5", + "object": "line_item", + "amount": 3000, + "currency": "usd", + "description": null, + "discountable": true, + "livemode": false, + "metadata": {}, + "period": { + "start": 1513264588, + "end": 1515942988 + }, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "proration": false, + "quantity": 1, + "subscription": null, + "subscription_item": "si_BwsCrtfXVwhf6B", + "type": "subscription" + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/invoices/in_1BYyRk2sOmf47Nz9OeJkiInX/lines" + }, + "livemode": false, + "metadata": {}, + "next_payment_attempt": null, + "number": "737bcc32b8-0011", + "paid": true, + "period_end": 1513264588, + "period_start": 1513264485, + "receipt_number": null, + "starting_balance": 0, + "statement_descriptor": null, + "subscription": "sub_BwsC7mpO1zykq5", + "subtotal": 3000, + "tax": null, + "tax_percent": null, + "total": 3000, + "webhooks_delivered_at": 1513264589 + } + ], + "has_more": true, + "url": "/v1/invoices" + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:30 GMT +- request: + method: get + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:31 GMT + Content-Type: + - application/json + Content-Length: + - '5667' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_prneN7pzQ79OB0 + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "cus_8E2ys9zDZgetWX", + "object": "customer", + "account_balance": 0, + "created": 1460026822, + "currency": "usd", + "default_source": "card_1BYyRi2sOmf47Nz9yj9PfHSf", + "delinquent": false, + "description": "Lucile Seguin", + "discount": null, + "email": "lucile.seguin@live.fr", + "livemode": false, + "metadata": {}, + "shipping": null, + "sources": { + "object": "list", + "data": [ + { + "id": "card_1BYyRi2sOmf47Nz9yj9PfHSf", + "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_8E2ys9zDZgetWX", + "cvc_check": "pass", + "dynamic_last4": null, + "exp_month": 4, + "exp_year": 2018, + "fingerprint": "o52jybR7bnmNn6AT", + "funding": "credit", + "last4": "4242", + "metadata": {}, + "name": null, + "tokenization_method": null + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/sources" + }, + "subscriptions": { + "object": "list", + "data": [ + { + "id": "sub_BwsC7mpO1zykq5", + "object": "subscription", + "application_fee_percent": null, + "billing": "charge_automatically", + "cancel_at_period_end": false, + "canceled_at": null, + "created": 1513264588, + "current_period_end": 1515942988, + "current_period_start": 1513264588, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_BwsCrtfXVwhf6B", + "object": "subscription_item", + "created": 1513264589, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1 + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_BwsC7mpO1zykq5" + }, + "livemode": false, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1, + "start": 1513264588, + "status": "active", + "tax_percent": null, + "trial_end": null, + "trial_start": null + }, + { + "id": "sub_BwsAa2guSea26d", + "object": "subscription", + "application_fee_percent": null, + "billing": "charge_automatically", + "cancel_at_period_end": true, + "canceled_at": 1513264490, + "created": 1513264485, + "current_period_end": 1515942885, + "current_period_start": 1513264485, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_BwsA4akiGbwgjQ", + "object": "subscription_item", + "created": 1513264486, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1 + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_BwsAa2guSea26d" + }, + "livemode": false, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1, + "start": 1513264485, + "status": "active", + "tax_percent": null, + "trial_end": null, + "trial_start": null + } + ], + "has_more": false, + "total_count": 2, + "url": "/v1/customers/cus_8E2ys9zDZgetWX/subscriptions" + } + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:31 GMT +- request: + method: get + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BwsC7mpO1zykq5 + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:32 GMT + Content-Type: + - application/json + Content-Length: + - '1727' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_QfCuCJ3cWNo5kg + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "sub_BwsC7mpO1zykq5", "object": "subscription", "application_fee_percent": null, "billing": "charge_automatically", - "cancel_at_period_end": true, - "canceled_at": 1510574662, - "created": 1510574658, - "current_period_end": 1513166658, - "current_period_start": 1510574658, + "cancel_at_period_end": false, + "canceled_at": null, + "created": 1513264588, + "current_period_end": 1515942988, + "current_period_start": 1513264588, "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, "discount": null, "ended_at": null, "items": { "object": "list", "data": [ { - "id": "si_BlD55nafF1TJT4", + "id": "si_BwsCrtfXVwhf6B", "object": "subscription_item", - "created": 1510574658, + "created": 1513264589, "metadata": {}, "plan": { "id": "mensuel-standard-month-20160404171519", @@ -876,7 +895,7 @@ http_interactions: ], "has_more": false, "total_count": 1, - "url": "/v1/subscription_items?subscription=sub_BlD51nQt1oWJ9D" + "url": "/v1/subscription_items?subscription=sub_BwsC7mpO1zykq5" }, "livemode": false, "metadata": {}, @@ -895,12 +914,138 @@ http_interactions: "trial_period_days": null }, "quantity": 1, - "start": 1510574658, + "start": 1513264588, "status": "active", "tax_percent": null, "trial_end": null, "trial_start": null } http_version: - recorded_at: Mon, 13 Nov 2017 12:04:23 GMT + recorded_at: Thu, 14 Dec 2017 15:16:32 GMT +- request: + method: delete + uri: https://api.stripe.com/v1/customers/cus_8E2ys9zDZgetWX/subscriptions/sub_BwsC7mpO1zykq5?at_period_end=true + body: + encoding: US-ASCII + string: '' + headers: + Accept: + - "*/*; q=0.5, application/xml" + Accept-Encoding: + - gzip, deflate + User-Agent: + - Stripe/v1 RubyBindings/1.30.2 + Authorization: + - Bearer sk_test_testfaketestfaketestfake + Content-Type: + - application/x-www-form-urlencoded + X-Stripe-Client-User-Agent: + - '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-linux","engine":"ruby","publisher":"stripe","uname":"Linux + version 4.10.0-42-generic (buildd@lgw01-amd64-007) (gcc version 5.4.0 20160609 + (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #46~16.04.1-Ubuntu SMP Mon Dec 4 15:57:59 + UTC 2017","hostname":"Sleede-SylvainPC"}' + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Thu, 14 Dec 2017 15:16:33 GMT + Content-Type: + - application/json + Content-Length: + - '1732' + Connection: + - keep-alive + Access-Control-Allow-Credentials: + - 'true' + Access-Control-Allow-Methods: + - GET, POST, HEAD, OPTIONS, DELETE + Access-Control-Allow-Origin: + - "*" + Access-Control-Expose-Headers: + - X-Stripe-Privileged-Session-Required,stripe-manage-version,X-Stripe-External-Auth-Required + Access-Control-Max-Age: + - '300' + Cache-Control: + - no-cache, no-store + Request-Id: + - req_UQxpb17oTSbQUR + Stripe-Version: + - '2015-10-16' + Strict-Transport-Security: + - max-age=31556926; includeSubDomains; preload + body: + encoding: UTF-8 + string: | + { + "id": "sub_BwsC7mpO1zykq5", + "object": "subscription", + "application_fee_percent": null, + "billing": "charge_automatically", + "cancel_at_period_end": true, + "canceled_at": 1513264593, + "created": 1513264588, + "current_period_end": 1515942988, + "current_period_start": 1513264588, + "customer": "cus_8E2ys9zDZgetWX", + "days_until_due": null, + "discount": null, + "ended_at": null, + "items": { + "object": "list", + "data": [ + { + "id": "si_BwsCrtfXVwhf6B", + "object": "subscription_item", + "created": 1513264589, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1 + } + ], + "has_more": false, + "total_count": 1, + "url": "/v1/subscription_items?subscription=sub_BwsC7mpO1zykq5" + }, + "livemode": false, + "metadata": {}, + "plan": { + "id": "mensuel-standard-month-20160404171519", + "object": "plan", + "amount": 3000, + "created": 1459782921, + "currency": "usd", + "interval": "month", + "interval_count": 1, + "livemode": false, + "metadata": {}, + "name": "Mensuel - standard, association - month", + "statement_descriptor": null, + "trial_period_days": null + }, + "quantity": 1, + "start": 1513264588, + "status": "active", + "tax_percent": null, + "trial_end": null, + "trial_start": null + } + http_version: + recorded_at: Thu, 14 Dec 2017 15:16:33 GMT recorded_with: VCR 3.0.1