mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
Merge branch 'dev' for release 2.6.0
This commit is contained in:
commit
80ce5c43ea
@ -1 +1 @@
|
|||||||
2.5.14
|
2.6.0
|
||||||
|
21
CHANGELOG.md
21
CHANGELOG.md
@ -1,5 +1,26 @@
|
|||||||
# Changelog Fab Manager
|
# Changelog Fab Manager
|
||||||
|
|
||||||
|
## v2.6.0 2017 November 13
|
||||||
|
|
||||||
|
- Additional button to delete a slot, allowing to delete slots masked by others
|
||||||
|
- Removed cross hack in full-calendar
|
||||||
|
- Confirmation before slot delete
|
||||||
|
- Confirmation and error handling while deleting an event
|
||||||
|
- Ability to disable groups, machines, plans, spaces and trainings
|
||||||
|
- Improved responsiveness of machines and spaces lists
|
||||||
|
- Allow setting of decimal prices
|
||||||
|
- Fix a typo: error message while creating a machine slot
|
||||||
|
- Fix a bug: events pagination is bogus in admin's monitoring when selecting non default filter
|
||||||
|
- Fix a bug: social sharing failed for projects with an underscore in their name
|
||||||
|
- Fix a bug: html tags of events description not stripped when sharing on social network
|
||||||
|
- Fix a bug: event, space, training or machine main image on description page is deformed on small devices
|
||||||
|
- Fix a bug: profile completion of non-SSO imported users trigger a fuzzy email
|
||||||
|
- Fix a bug: creation of negative credits
|
||||||
|
- Fix a bug: unable to display profiles of users whom any reservation is associated with a deleted object
|
||||||
|
- Updated test data to allow passing test suite
|
||||||
|
- Upgraded rails minor version
|
||||||
|
- [TODO DEPLOY] `rake db:migrate`
|
||||||
|
|
||||||
## v2.5.14 2017 September 12
|
## v2.5.14 2017 September 12
|
||||||
|
|
||||||
- Fix a bug: Error message in fix:recursive_events_over_DST failed and does not report events to check
|
- Fix a bug: Error message in fix:recursive_events_over_DST failed and does not report events to check
|
||||||
|
2
Gemfile
2
Gemfile
@ -1,7 +1,7 @@
|
|||||||
source 'https://rubygems.org'
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
||||||
gem 'rails', '4.2.5'
|
gem 'rails', '4.2.10'
|
||||||
# Use SCSS for stylesheets
|
# Use SCSS for stylesheets
|
||||||
gem 'sass-rails', '5.0.1'
|
gem 'sass-rails', '5.0.1'
|
||||||
gem 'compass-rails', '2.0.4'
|
gem 'compass-rails', '2.0.4'
|
||||||
|
98
Gemfile.lock
98
Gemfile.lock
@ -14,41 +14,40 @@ GEM
|
|||||||
specs:
|
specs:
|
||||||
Ascii85 (1.0.2)
|
Ascii85 (1.0.2)
|
||||||
aasm (4.1.0)
|
aasm (4.1.0)
|
||||||
actionmailer (4.2.5)
|
actionmailer (4.2.10)
|
||||||
actionpack (= 4.2.5)
|
actionpack (= 4.2.10)
|
||||||
actionview (= 4.2.5)
|
actionview (= 4.2.10)
|
||||||
activejob (= 4.2.5)
|
activejob (= 4.2.10)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
actionpack (4.2.5)
|
actionpack (4.2.10)
|
||||||
actionview (= 4.2.5)
|
actionview (= 4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
rack (~> 1.6)
|
rack (~> 1.6)
|
||||||
rack-test (~> 0.6.2)
|
rack-test (~> 0.6.2)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
||||||
actionpack-page_caching (1.0.2)
|
actionpack-page_caching (1.0.2)
|
||||||
actionpack (>= 4.0.0, < 5)
|
actionpack (>= 4.0.0, < 5)
|
||||||
actionview (4.2.5)
|
actionview (4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubis (~> 2.7.0)
|
erubis (~> 2.7.0)
|
||||||
rails-dom-testing (~> 1.0, >= 1.0.5)
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
||||||
active_record_query_trace (1.4)
|
active_record_query_trace (1.4)
|
||||||
activejob (4.2.5)
|
activejob (4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
globalid (>= 0.3.0)
|
globalid (>= 0.3.0)
|
||||||
activemodel (4.2.5)
|
activemodel (4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
activerecord (4.2.5)
|
activerecord (4.2.10)
|
||||||
activemodel (= 4.2.5)
|
activemodel (= 4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
arel (~> 6.0)
|
arel (~> 6.0)
|
||||||
activesupport (4.2.5)
|
activesupport (4.2.10)
|
||||||
i18n (~> 0.7)
|
i18n (~> 0.7)
|
||||||
json (~> 1.7, >= 1.7.7)
|
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
thread_safe (~> 0.3, >= 0.3.4)
|
thread_safe (~> 0.3, >= 0.3.4)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
@ -58,7 +57,7 @@ GEM
|
|||||||
api-pagination (4.3.0)
|
api-pagination (4.3.0)
|
||||||
apipie-rails (0.3.6)
|
apipie-rails (0.3.6)
|
||||||
json
|
json
|
||||||
arel (6.0.3)
|
arel (6.0.4)
|
||||||
autoprefixer-rails (5.1.8)
|
autoprefixer-rails (5.1.8)
|
||||||
execjs
|
execjs
|
||||||
json
|
json
|
||||||
@ -126,6 +125,7 @@ GEM
|
|||||||
compass (~> 1.0.0)
|
compass (~> 1.0.0)
|
||||||
sass-rails (<= 5.0.1)
|
sass-rails (<= 5.0.1)
|
||||||
sprockets (< 2.13)
|
sprockets (< 2.13)
|
||||||
|
concurrent-ruby (1.0.5)
|
||||||
connection_pool (2.2.0)
|
connection_pool (2.2.0)
|
||||||
coveralls (0.8.16)
|
coveralls (0.8.16)
|
||||||
json (>= 1.8, < 3)
|
json (>= 1.8, < 3)
|
||||||
@ -135,6 +135,7 @@ GEM
|
|||||||
tins (>= 1.6.0, < 2)
|
tins (>= 1.6.0, < 2)
|
||||||
crack (0.4.3)
|
crack (0.4.3)
|
||||||
safe_yaml (~> 1.0.0)
|
safe_yaml (~> 1.0.0)
|
||||||
|
crass (1.0.2)
|
||||||
daemons (1.2.4)
|
daemons (1.2.4)
|
||||||
database_cleaner (1.4.1)
|
database_cleaner (1.4.1)
|
||||||
debug_inspector (0.0.2)
|
debug_inspector (0.0.2)
|
||||||
@ -190,8 +191,8 @@ GEM
|
|||||||
forgery (0.6.0)
|
forgery (0.6.0)
|
||||||
friendly_id (5.1.0)
|
friendly_id (5.1.0)
|
||||||
activerecord (>= 4.0.0)
|
activerecord (>= 4.0.0)
|
||||||
globalid (0.3.6)
|
globalid (0.4.1)
|
||||||
activesupport (>= 4.1.0)
|
activesupport (>= 4.2.0)
|
||||||
has_secure_token (1.0.0)
|
has_secure_token (1.0.0)
|
||||||
activerecord (>= 3.0)
|
activerecord (>= 3.0)
|
||||||
hashdiff (0.3.0)
|
hashdiff (0.3.0)
|
||||||
@ -209,7 +210,8 @@ GEM
|
|||||||
httparty (0.13.7)
|
httparty (0.13.7)
|
||||||
json (~> 1.8)
|
json (~> 1.8)
|
||||||
multi_xml (>= 0.5.2)
|
multi_xml (>= 0.5.2)
|
||||||
i18n (0.8.6)
|
i18n (0.9.1)
|
||||||
|
concurrent-ruby (~> 1.0)
|
||||||
ice_nine (0.11.1)
|
ice_nine (0.11.1)
|
||||||
jbuilder (2.5.0)
|
jbuilder (2.5.0)
|
||||||
activesupport (>= 3.0.0, < 5.1)
|
activesupport (>= 3.0.0, < 5.1)
|
||||||
@ -227,10 +229,11 @@ GEM
|
|||||||
activesupport (>= 3.0.0)
|
activesupport (>= 3.0.0)
|
||||||
kgio (2.9.3)
|
kgio (2.9.3)
|
||||||
libv8 (3.16.14.11)
|
libv8 (3.16.14.11)
|
||||||
loofah (2.0.3)
|
loofah (2.1.1)
|
||||||
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
mail (2.6.3)
|
mail (2.7.0)
|
||||||
mime-types (>= 1.16, < 3)
|
mini_mime (>= 0.1.1)
|
||||||
mailcatcher (0.6.5)
|
mailcatcher (0.6.5)
|
||||||
eventmachine (= 1.0.9.1)
|
eventmachine (= 1.0.9.1)
|
||||||
mail (~> 2.3)
|
mail (~> 2.3)
|
||||||
@ -243,17 +246,18 @@ GEM
|
|||||||
thread_safe (~> 0.3, >= 0.3.1)
|
thread_safe (~> 0.3, >= 0.3.1)
|
||||||
message_format (0.0.3)
|
message_format (0.0.3)
|
||||||
twitter_cldr (~> 3.1)
|
twitter_cldr (~> 3.1)
|
||||||
mime-types (2.99)
|
mime-types (2.99.3)
|
||||||
mimemagic (0.3.2)
|
mimemagic (0.3.2)
|
||||||
mini_magick (4.2.0)
|
mini_magick (4.2.0)
|
||||||
mini_portile2 (2.2.0)
|
mini_mime (1.0.0)
|
||||||
|
mini_portile2 (2.3.0)
|
||||||
minitest (5.10.3)
|
minitest (5.10.3)
|
||||||
minitest-reporters (1.1.8)
|
minitest-reporters (1.1.8)
|
||||||
ansi
|
ansi
|
||||||
builder
|
builder
|
||||||
minitest (>= 5.0)
|
minitest (>= 5.0)
|
||||||
ruby-progressbar
|
ruby-progressbar
|
||||||
multi_json (1.12.1)
|
multi_json (1.12.2)
|
||||||
multi_xml (0.5.5)
|
multi_xml (0.5.5)
|
||||||
multipart-post (2.0.0)
|
multipart-post (2.0.0)
|
||||||
naught (1.0.0)
|
naught (1.0.0)
|
||||||
@ -265,8 +269,8 @@ GEM
|
|||||||
net-ssh-gateway (1.2.0)
|
net-ssh-gateway (1.2.0)
|
||||||
net-ssh (>= 2.6.5)
|
net-ssh (>= 2.6.5)
|
||||||
netrc (0.10.3)
|
netrc (0.10.3)
|
||||||
nokogiri (1.8.0)
|
nokogiri (1.8.1)
|
||||||
mini_portile2 (~> 2.2.0)
|
mini_portile2 (~> 2.3.0)
|
||||||
notify_with (0.0.2)
|
notify_with (0.0.2)
|
||||||
jbuilder (~> 2.0)
|
jbuilder (~> 2.0)
|
||||||
rails (>= 4.2.0)
|
rails (>= 4.2.0)
|
||||||
@ -310,16 +314,16 @@ GEM
|
|||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
railroady (1.4.0)
|
railroady (1.4.0)
|
||||||
rails (4.2.5)
|
rails (4.2.10)
|
||||||
actionmailer (= 4.2.5)
|
actionmailer (= 4.2.10)
|
||||||
actionpack (= 4.2.5)
|
actionpack (= 4.2.10)
|
||||||
actionview (= 4.2.5)
|
actionview (= 4.2.10)
|
||||||
activejob (= 4.2.5)
|
activejob (= 4.2.10)
|
||||||
activemodel (= 4.2.5)
|
activemodel (= 4.2.10)
|
||||||
activerecord (= 4.2.5)
|
activerecord (= 4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
bundler (>= 1.3.0, < 2.0)
|
bundler (>= 1.3.0, < 2.0)
|
||||||
railties (= 4.2.5)
|
railties (= 4.2.10)
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
rails-deprecated_sanitizer (1.0.3)
|
rails-deprecated_sanitizer (1.0.3)
|
||||||
activesupport (>= 4.2.0.alpha)
|
activesupport (>= 4.2.0.alpha)
|
||||||
@ -336,13 +340,13 @@ GEM
|
|||||||
rails_stdout_logging
|
rails_stdout_logging
|
||||||
rails_serve_static_assets (0.0.4)
|
rails_serve_static_assets (0.0.4)
|
||||||
rails_stdout_logging (0.0.3)
|
rails_stdout_logging (0.0.3)
|
||||||
railties (4.2.5)
|
railties (4.2.10)
|
||||||
actionpack (= 4.2.5)
|
actionpack (= 4.2.10)
|
||||||
activesupport (= 4.2.5)
|
activesupport (= 4.2.10)
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.18.1, < 2.0)
|
||||||
raindrops (0.13.0)
|
raindrops (0.13.0)
|
||||||
rake (12.0.0)
|
rake (12.2.1)
|
||||||
rb-fsevent (0.9.4)
|
rb-fsevent (0.9.4)
|
||||||
rb-inotify (0.9.5)
|
rb-inotify (0.9.5)
|
||||||
ffi (>= 0.5.0)
|
ffi (>= 0.5.0)
|
||||||
@ -455,7 +459,7 @@ GEM
|
|||||||
cldr-plurals-runtime-rb (~> 1.0.0)
|
cldr-plurals-runtime-rb (~> 1.0.0)
|
||||||
json
|
json
|
||||||
tzinfo
|
tzinfo
|
||||||
tzinfo (1.2.3)
|
tzinfo (1.2.4)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uglifier (2.7.1)
|
uglifier (2.7.1)
|
||||||
execjs (>= 0.3.0)
|
execjs (>= 0.3.0)
|
||||||
@ -541,7 +545,7 @@ DEPENDENCIES
|
|||||||
puma
|
puma
|
||||||
pundit
|
pundit
|
||||||
railroady
|
railroady
|
||||||
rails (= 4.2.5)
|
rails (= 4.2.10)
|
||||||
rails-observers
|
rails-observers
|
||||||
rails_12factor
|
rails_12factor
|
||||||
recurrence
|
recurrence
|
||||||
@ -567,4 +571,4 @@ DEPENDENCIES
|
|||||||
webmock
|
webmock
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.15.4
|
1.16.0
|
||||||
|
@ -53,8 +53,6 @@ FabManager is a Ruby on Rails / AngularJS web application that runs on the follo
|
|||||||
|
|
||||||
Contributions are welcome. Please read [the contribution guidelines](CONTRIBUTING.md) for more information about the contribution process.
|
Contributions are welcome. Please read [the contribution guidelines](CONTRIBUTING.md) for more information about the contribution process.
|
||||||
|
|
||||||
**IMPORTANT**: **do not** update Arshaw/fullCalendar.js as it contains a hack for the remove-event cross.
|
|
||||||
|
|
||||||
<a name="setup-a-production-environment"></a>
|
<a name="setup-a-production-environment"></a>
|
||||||
## Setup a production environment
|
## Setup a production environment
|
||||||
|
|
||||||
|
@ -165,8 +165,30 @@ Application.Controllers.controller "AdminCalendarController", ["$scope", "$state
|
|||||||
growl.error(_t('admin_calendar.unlockable_because_reservations'))
|
growl.error(_t('admin_calendar.unlockable_because_reservations'))
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# Confirm and destroy the slot in $scope.availability
|
||||||
|
##
|
||||||
|
$scope.removeSlot = ->
|
||||||
|
# open a confirmation dialog
|
||||||
|
dialogs.confirm
|
||||||
|
resolve:
|
||||||
|
object: ->
|
||||||
|
title: _t('admin_calendar.confirmation_required')
|
||||||
|
msg: _t("admin_calendar.do_you_really_want_to_delete_this_slot")
|
||||||
|
, ->
|
||||||
|
# the admin has confirmed, delete the slot
|
||||||
|
Availability.delete id: $scope.availability.id, ->
|
||||||
|
uiCalendarConfig.calendars.calendar.fullCalendar 'removeEvents', $scope.availability.id
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
growl.success(_t('admin_calendar.the_slot_START-END_has_been_successfully_deleted', {START:moment(event.start).format('LL LT'), END:moment(event.end).format('LT')}))
|
||||||
|
$scope.availability = null
|
||||||
|
,->
|
||||||
|
growl.error(_t('admin_calendar.unable_to_delete_the_slot_START-END_because_it_s_already_reserved_by_a_member', {START:moment(event.start).format('LL LT'), END:moment(event.end).format('LT')}))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
##
|
##
|
||||||
# Return an enumerable meaninful string for the gender of the provider user
|
# Return an enumerable meaninful string for the gender of the provider user
|
||||||
@ -235,12 +257,7 @@ Application.Controllers.controller "AdminCalendarController", ["$scope", "$state
|
|||||||
|
|
||||||
# if the user has clicked on the delete event button, delete the event
|
# if the user has clicked on the delete event button, delete the event
|
||||||
if ($(jsEvent.target).hasClass('remove-event'))
|
if ($(jsEvent.target).hasClass('remove-event'))
|
||||||
Availability.delete id: event.id, ->
|
$scope.removeSlot()
|
||||||
uiCalendarConfig.calendars.calendar.fullCalendar 'removeEvents', event.id
|
|
||||||
|
|
||||||
growl.success(_t('admin_calendar.the_slot_START-END_has_been_successfully_deleted', {START:moment(event.start).format('LL LT'), END:moment(event.end).format('LT')}))
|
|
||||||
,->
|
|
||||||
growl.error(_t('admin_calendar.unable_to_delete_the_slot_START-END_because_it_s_already_reserved_by_a_member', {START:moment(event.start).format('LL LT'), END:moment(event.end).format('LT')}))
|
|
||||||
# if the user has only clicked on the event, display its reservations
|
# if the user has only clicked on the event, display its reservations
|
||||||
else
|
else
|
||||||
Availability.reservations {id: event.id}, (reservations) ->
|
Availability.reservations {id: event.id}, (reservations) ->
|
||||||
@ -255,6 +272,7 @@ Application.Controllers.controller "AdminCalendarController", ["$scope", "$state
|
|||||||
# @see http://fullcalendar.io/docs/event_rendering/eventRender/
|
# @see http://fullcalendar.io/docs/event_rendering/eventRender/
|
||||||
##
|
##
|
||||||
eventRenderCb = (event, element) ->
|
eventRenderCb = (event, element) ->
|
||||||
|
element.find('.fc-content').prepend('<span class="remove-event">x </span>')
|
||||||
if event.tags.length > 0
|
if event.tags.length > 0
|
||||||
html = ''
|
html = ''
|
||||||
for tag in event.tags
|
for tag in event.tags
|
||||||
@ -291,13 +309,13 @@ Application.Controllers.controller 'CreateEventModalController', ["$scope", "$ui
|
|||||||
$scope.end = end
|
$scope.end = end
|
||||||
|
|
||||||
## machines list
|
## machines list
|
||||||
$scope.machines = machinesPromise
|
$scope.machines = machinesPromise.filter (m) -> !m.disabled
|
||||||
|
|
||||||
## trainings list
|
## trainings list
|
||||||
$scope.trainings = trainingsPromise
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## spaces list
|
## spaces list
|
||||||
$scope.spaces = spacesPromise
|
$scope.spaces = spacesPromise.filter (s) -> !s.disabled
|
||||||
|
|
||||||
## machines associated with the created slot
|
## machines associated with the created slot
|
||||||
$scope.selectedMachines = []
|
$scope.selectedMachines = []
|
||||||
|
@ -191,11 +191,15 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state",
|
|||||||
## List of price categories for the events
|
## List of price categories for the events
|
||||||
$scope.priceCategories = priceCategoriesPromise
|
$scope.priceCategories = priceCategoriesPromise
|
||||||
|
|
||||||
|
## Default: we display all events (no restriction)
|
||||||
|
$scope.eventsScope =
|
||||||
|
selected: ''
|
||||||
|
|
||||||
##
|
##
|
||||||
# Adds a bucket of events to the bottom of the page, grouped by month
|
# Adds a bucket of events to the bottom of the page, grouped by month
|
||||||
##
|
##
|
||||||
$scope.loadMoreEvents = ->
|
$scope.loadMoreEvents = ->
|
||||||
Event.query {page: $scope.page}, (data)->
|
Event.query {page: $scope.page, scope: $scope.eventsScope.selected}, (data)->
|
||||||
$scope.events = $scope.events.concat data
|
$scope.events = $scope.events.concat data
|
||||||
paginationCheck(data, $scope.events)
|
paginationCheck(data, $scope.events)
|
||||||
$scope.page += 1
|
$scope.page += 1
|
||||||
@ -340,6 +344,17 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state",
|
|||||||
growl.error _t('price_category_deletion_failed')
|
growl.error _t('price_category_deletion_failed')
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# Triggered when the admin changes the events filter (all, passed, future).
|
||||||
|
# We request the first page of corresponding events to the API
|
||||||
|
##
|
||||||
|
$scope.changeScope = ->
|
||||||
|
Event.query {page: 0, scope: $scope.eventsScope.selected}, (data)->
|
||||||
|
$scope.events = data
|
||||||
|
paginationCheck(data, $scope.events)
|
||||||
|
$scope.page = 0
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
@ -358,7 +373,10 @@ Application.Controllers.controller "AdminEventsController", ["$scope", "$state",
|
|||||||
##
|
##
|
||||||
paginationCheck = (lastEvents, events)->
|
paginationCheck = (lastEvents, events)->
|
||||||
if lastEvents.length > 0
|
if lastEvents.length > 0
|
||||||
$scope.paginateActive = false if events.length >= lastEvents[0].nb_total_events
|
if events.length >= lastEvents[0].nb_total_events
|
||||||
|
$scope.paginateActive = false
|
||||||
|
else
|
||||||
|
$scope.paginateActive = true
|
||||||
else
|
else
|
||||||
$scope.paginateActive = false
|
$scope.paginateActive = false
|
||||||
|
|
||||||
|
@ -3,6 +3,15 @@ Application.Controllers.controller "GroupsController", ["$scope", 'groupsPromise
|
|||||||
## List of users groups
|
## List of users groups
|
||||||
$scope.groups = groupsPromise
|
$scope.groups = groupsPromise
|
||||||
|
|
||||||
|
## Default: we show only enabled groups
|
||||||
|
$scope.groupFiltering = 'enabled'
|
||||||
|
|
||||||
|
## Available options for filtering groups by status
|
||||||
|
$scope.filterDisabled = [
|
||||||
|
'enabled',
|
||||||
|
'disabled',
|
||||||
|
'all',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
@ -31,20 +40,20 @@ Application.Controllers.controller "GroupsController", ["$scope", 'groupsPromise
|
|||||||
##
|
##
|
||||||
# Saves a new group / Update an existing group to the server (form validation callback)
|
# Saves a new group / Update an existing group to the server (form validation callback)
|
||||||
# @param data {Object} group name
|
# @param data {Object} group name
|
||||||
# @param [data] {number} group id, in case of update
|
# @param [id] {number} group id, in case of update
|
||||||
##
|
##
|
||||||
$scope.saveGroup = (data, id) ->
|
$scope.saveGroup = (data, id) ->
|
||||||
if id?
|
if id?
|
||||||
Group.update {id: id}, { group: data }, (response) ->
|
Group.update {id: id}, { group: data }, (response) ->
|
||||||
growl.success(_t('changes_successfully_saved'))
|
growl.success(_t('group_form.changes_successfully_saved'))
|
||||||
, (error) ->
|
, (error) ->
|
||||||
growl.error(_t('an_error_occurred_while_saving_changes'))
|
growl.error(_t('group_form.an_error_occurred_while_saving_changes'))
|
||||||
else
|
else
|
||||||
Group.save { group: data }, (resp)->
|
Group.save { group: data }, (resp)->
|
||||||
growl.success(_t('new_group_successfully_saved'))
|
growl.success(_t('group_form.new_group_successfully_saved'))
|
||||||
$scope.groups[$scope.groups.length-1].id = resp.id
|
$scope.groups[$scope.groups.length-1].id = resp.id
|
||||||
, (error) ->
|
, (error) ->
|
||||||
growl.error(_t('an_error_occurred_when_saving_the_new_group'))
|
growl.error(_t('.group_forman_error_occurred_when_saving_the_new_group'))
|
||||||
$scope.groups.splice($scope.groups.length-1, 1)
|
$scope.groups.splice($scope.groups.length-1, 1)
|
||||||
|
|
||||||
|
|
||||||
@ -55,10 +64,27 @@ Application.Controllers.controller "GroupsController", ["$scope", 'groupsPromise
|
|||||||
##
|
##
|
||||||
$scope.removeGroup = (index) ->
|
$scope.removeGroup = (index) ->
|
||||||
Group.delete { id: $scope.groups[index].id }, (resp) ->
|
Group.delete { id: $scope.groups[index].id }, (resp) ->
|
||||||
growl.success(_t('group_successfully_deleted'))
|
growl.success(_t('group_form.group_successfully_deleted'))
|
||||||
$scope.groups.splice(index, 1)
|
$scope.groups.splice(index, 1)
|
||||||
, (error) ->
|
, (error) ->
|
||||||
growl.error(_t('unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it'))
|
growl.error(_t('group_form.unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# Enable/disable the group at the specified index
|
||||||
|
# @param index {number} group index in the $scope.groups array
|
||||||
|
##
|
||||||
|
$scope.toggleDisableGroup = (index) ->
|
||||||
|
group = $scope.groups[index]
|
||||||
|
if (!group.disabled && group.users > 0)
|
||||||
|
growl.error(_t('group_form.unable_to_disable_group_with_users', { USERS: group.users }, 'messageformat'))
|
||||||
|
else
|
||||||
|
Group.update {id: group.id}, { group: { disabled: !group.disabled } }, (response) ->
|
||||||
|
$scope.groups[index] = response
|
||||||
|
growl.success(_t('group_form.group_successfully_enabled_disabled', { STATUS: response.disabled }, 'messageformat'))
|
||||||
|
, (error) ->
|
||||||
|
growl.error(_t('group_form.unable_to_enable_disable_group', { STATUS: !group.disabled }, 'messageformat'))
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -25,13 +25,14 @@ class MembersController
|
|||||||
|
|
||||||
## Retrieve the profiles groups (eg. students ...)
|
## Retrieve the profiles groups (eg. students ...)
|
||||||
Group.query (groups) ->
|
Group.query (groups) ->
|
||||||
$scope.groups = groups.filter (g) -> g.slug != 'admins'
|
$scope.groups = groups.filter (g) -> g.slug != 'admins' && !g.disabled
|
||||||
|
|
||||||
## Retrieve the list the available trainings
|
## Retrieve the list of available trainings
|
||||||
Training.query().$promise.then (data)->
|
Training.query().$promise.then (data)->
|
||||||
$scope.trainings = data.map (d) ->
|
$scope.trainings = data.map (d) ->
|
||||||
id: d.id
|
id: d.id
|
||||||
name: d.name
|
name: d.name
|
||||||
|
disabled: d.disabled
|
||||||
|
|
||||||
## Default parameters for AngularUI-Bootstrap datepicker
|
## Default parameters for AngularUI-Bootstrap datepicker
|
||||||
$scope.datePicker =
|
$scope.datePicker =
|
||||||
@ -477,6 +478,14 @@ Application.Controllers.controller "EditMemberController", ["$scope", "$state",
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# To use as callback in Array.prototype.filter to get only enabled plans
|
||||||
|
##
|
||||||
|
$scope.filterDisabledPlans = (plan) ->
|
||||||
|
!plan.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class PlanController
|
|||||||
|
|
||||||
|
|
||||||
## groups list
|
## groups list
|
||||||
$scope.groups = groups.filter (g) -> g.slug != 'admins'
|
$scope.groups = groups.filter (g) -> g.slug != 'admins' && !g.disabled
|
||||||
|
|
||||||
## users with role 'partner', notifiables for a partner plan
|
## users with role 'partner', notifiables for a partner plan
|
||||||
$scope.partners = partners.users
|
$scope.partners = partners.users
|
||||||
@ -175,6 +175,7 @@ Application.Controllers.controller 'EditPlanController', ['$scope', 'groups', 'p
|
|||||||
## edited plan data
|
## edited plan data
|
||||||
$scope.plan = planPromise
|
$scope.plan = planPromise
|
||||||
$scope.plan.type = "Plan" if $scope.plan.type == null
|
$scope.plan.type = "Plan" if $scope.plan.type == null
|
||||||
|
$scope.plan.disabled = 'true' if $scope.plan.disabled
|
||||||
|
|
||||||
## API URL where the form will be posted
|
## API URL where the form will be posted
|
||||||
$scope.actionUrl = "/api/plans/" + $stateParams.id
|
$scope.actionUrl = "/api/plans/" + $stateParams.id
|
||||||
@ -231,26 +232,26 @@ Application.Controllers.controller 'EditPlanController', ['$scope', 'groups', 'p
|
|||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Retrieve the name of a machine from its ID
|
# Retrieve the machine from its ID
|
||||||
# @param machine_id {number} machine identifier
|
# @param machine_id {number} machine identifier
|
||||||
# @returns {string} Machine's name
|
# @returns {Object} Machine
|
||||||
##
|
##
|
||||||
$scope.getMachineName = (machine_id) ->
|
$scope.getMachine = (machine_id) ->
|
||||||
for machine in $scope.machines
|
for machine in $scope.machines
|
||||||
if machine.id == machine_id
|
if machine.id == machine_id
|
||||||
return machine.name
|
return machine
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Retrieve the name of a space from its ID
|
# Retrieve the space from its ID
|
||||||
# @param space_id {number} space identifier
|
# @param space_id {number} space identifier
|
||||||
# @returns {string} Space's name
|
# @returns {Object} Space
|
||||||
##
|
##
|
||||||
$scope.getSpaceName = (space_id) ->
|
$scope.getSpace = (space_id) ->
|
||||||
for space in $scope.spaces
|
for space in $scope.spaces
|
||||||
if space.id == space_id
|
if space.id == space_id
|
||||||
return space.name
|
return space
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,9 +15,11 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
|
|
||||||
## List of available subscriptions plans (eg. student/month, PME/year ...)
|
## List of available subscriptions plans (eg. student/month, PME/year ...)
|
||||||
$scope.plans = plans
|
$scope.plans = plans
|
||||||
|
$scope.enabledPlans = plans.filter (p) -> !p.disabled
|
||||||
|
|
||||||
## List of groups (eg. normal, student ...)
|
## List of groups (eg. normal, student ...)
|
||||||
$scope.groups = groups.filter (g) -> g.slug != 'admins'
|
$scope.groups = groups.filter (g) -> g.slug != 'admins'
|
||||||
|
$scope.enabledGroups = groups.filter (g) -> g.slug != 'admins' && !g.disabled
|
||||||
|
|
||||||
## Associate free machine hours with subscriptions
|
## Associate free machine hours with subscriptions
|
||||||
$scope.machineCredits = machineCreditsPromise
|
$scope.machineCredits = machineCreditsPromise
|
||||||
@ -29,16 +31,18 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
$scope.trainingCreditsGroups = {}
|
$scope.trainingCreditsGroups = {}
|
||||||
|
|
||||||
## List of trainings
|
## List of trainings
|
||||||
$scope.trainings = trainingsPromise
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of machines
|
## List of machines
|
||||||
$scope.machines = machinesPromise
|
$scope.machines = machinesPromise
|
||||||
|
$scope.enabledMachines = machinesPromise.filter (m) -> !m.disabled
|
||||||
|
|
||||||
## List of coupons
|
## List of coupons
|
||||||
$scope.coupons = couponsPromise
|
$scope.coupons = couponsPromise
|
||||||
|
|
||||||
## List of spaces
|
## List of spaces
|
||||||
$scope.spaces = spacesPromise
|
$scope.spaces = spacesPromise
|
||||||
|
$scope.enabledSpaces = spacesPromise.filter (s) -> !s.disabled
|
||||||
|
|
||||||
## Associate free space hours with subscriptions
|
## Associate free space hours with subscriptions
|
||||||
$scope.spaceCredits = spacesCreditsPromise
|
$scope.spaceCredits = spacesCreditsPromise
|
||||||
@ -53,6 +57,16 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
$scope.status =
|
$scope.status =
|
||||||
isopen: false
|
isopen: false
|
||||||
|
|
||||||
|
## Default: we show only enabled plans
|
||||||
|
$scope.planFiltering = 'enabled'
|
||||||
|
|
||||||
|
## Available options for filtering plans by status
|
||||||
|
$scope.filterDisabled = [
|
||||||
|
'enabled',
|
||||||
|
'disabled',
|
||||||
|
'all',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$scope.findTrainingsPricing = (trainingsPricings, trainingId, groupId)->
|
$scope.findTrainingsPricing = (trainingsPricings, trainingId, groupId)->
|
||||||
@ -181,21 +195,37 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# In the Credits tab, while editing a machine credit row, select the current machine from the
|
# In the Credits tab, return the name of the machine/space associated with the given credit
|
||||||
# drop-down list of machines as the current item.
|
|
||||||
# @param credit {Object} credit object, inherited from $resource
|
# @param credit {Object} credit object, inherited from $resource
|
||||||
|
# @returns {String}
|
||||||
##
|
##
|
||||||
$scope.showCreditableName = (credit) ->
|
$scope.showCreditableName = (credit) ->
|
||||||
selected = _t('pricing.not_set')
|
selected = _t('pricing.not_set')
|
||||||
|
if credit and credit.creditable_id
|
||||||
|
object = $scope.getCreditable(credit)
|
||||||
|
selected = object.name
|
||||||
|
if credit.creditable_type == 'Machine'
|
||||||
|
selected += ' ( id. ' + object.id + ' )'
|
||||||
|
return selected
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# In the Credits tab, return the machine/space associated with the given credit
|
||||||
|
# @param credit {Object} credit object, inherited from $resource
|
||||||
|
# @returns {Object}
|
||||||
|
##
|
||||||
|
$scope.getCreditable = (credit) ->
|
||||||
|
selected = undefined
|
||||||
if credit and credit.creditable_id
|
if credit and credit.creditable_id
|
||||||
if credit.creditable_type == 'Machine'
|
if credit.creditable_type == 'Machine'
|
||||||
angular.forEach $scope.machines, (m)->
|
angular.forEach $scope.machines, (m)->
|
||||||
if m.id == credit.creditable_id
|
if m.id == credit.creditable_id
|
||||||
selected = m.name + ' ( id. ' + m.id + ' )'
|
selected = m
|
||||||
else if credit.creditable_type == 'Space'
|
else if credit.creditable_type == 'Space'
|
||||||
angular.forEach $scope.spaces, (s)->
|
angular.forEach $scope.spaces, (s)->
|
||||||
if s.id == credit.creditable_id
|
if s.id == credit.creditable_id
|
||||||
selected = s.name
|
selected = s
|
||||||
return selected
|
return selected
|
||||||
|
|
||||||
|
|
||||||
@ -224,6 +254,9 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
, (resp) ->
|
, (resp) ->
|
||||||
$scope.machineCredits[$scope.machineCredits.length-1].id = resp.id
|
$scope.machineCredits[$scope.machineCredits.length-1].id = resp.id
|
||||||
growl.success(_t('pricing.credit_was_successfully_saved'))
|
growl.success(_t('pricing.credit_was_successfully_saved'))
|
||||||
|
, (err) ->
|
||||||
|
$scope.machineCredits.pop()
|
||||||
|
growl.error(_t('pricing.error_creating_credit'))
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
@ -287,10 +320,14 @@ Application.Controllers.controller "EditPricingController", ["$scope", "$state",
|
|||||||
, (resp) ->
|
, (resp) ->
|
||||||
$scope.spaceCredits[$scope.spaceCredits.length - 1].id = resp.id
|
$scope.spaceCredits[$scope.spaceCredits.length - 1].id = resp.id
|
||||||
growl.success(_t('pricing.credit_was_successfully_saved'))
|
growl.success(_t('pricing.credit_was_successfully_saved'))
|
||||||
|
, (err) ->
|
||||||
|
$scope.spaceCredits.pop()
|
||||||
|
growl.error(_t('pricing.error_creating_credit'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##
|
|
||||||
|
##
|
||||||
# Removes the newly inserted but not saved space credit / Cancel the current space credit modification
|
# Removes the newly inserted but not saved space credit / Cancel the current space credit modification
|
||||||
# @param rowform {Object} see http://vitalets.github.io/angular-xeditable/
|
# @param rowform {Object} see http://vitalets.github.io/angular-xeditable/
|
||||||
# @param index {number} credit index in the $scope.spaceCredits array
|
# @param index {number} credit index in the $scope.spaceCredits array
|
||||||
|
@ -9,9 +9,11 @@
|
|||||||
# Provides :
|
# Provides :
|
||||||
# - $scope.submited(content)
|
# - $scope.submited(content)
|
||||||
# - $scope.fileinputClass(v)
|
# - $scope.fileinputClass(v)
|
||||||
|
# - $scope.onDisableToggled
|
||||||
#
|
#
|
||||||
# Requires :
|
# Requires :
|
||||||
# - $state (Ui-Router) [ 'app.admin.trainings' ]
|
# - $state (Ui-Router) [ 'app.admin.trainings' ]
|
||||||
|
# - $scope.training
|
||||||
##
|
##
|
||||||
class TrainingsController
|
class TrainingsController
|
||||||
constructor: ($scope, $state) ->
|
constructor: ($scope, $state) ->
|
||||||
@ -43,6 +45,14 @@ class TrainingsController
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# Force the 'public_page' attribute to false when the current training is disabled
|
||||||
|
##
|
||||||
|
$scope.onDisableToggled = ->
|
||||||
|
$scope.training.public_page = !$scope.training.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# For use with 'ng-class', returns the CSS class name for the uploads previews.
|
# For use with 'ng-class', returns the CSS class name for the uploads previews.
|
||||||
# The preview may show a placeholder or the content of the file depending on the upload state.
|
# The preview may show a placeholder or the content of the file depending on the upload state.
|
||||||
@ -167,6 +177,16 @@ Application.Controllers.controller "TrainingsAdminController", ["$scope", "$stat
|
|||||||
## Binding for the parseInt function
|
## Binding for the parseInt function
|
||||||
$scope.parseInt = parseInt
|
$scope.parseInt = parseInt
|
||||||
|
|
||||||
|
## Default: we show only enabled trainings
|
||||||
|
$scope.trainingFiltering = 'enabled'
|
||||||
|
|
||||||
|
## Available options for filtering trainings by status
|
||||||
|
$scope.filterDisabled = [
|
||||||
|
'enabled',
|
||||||
|
'disabled',
|
||||||
|
'all',
|
||||||
|
]
|
||||||
|
|
||||||
##
|
##
|
||||||
# In the trainings listing tab, return the stringified list of machines associated with the provided training
|
# In the trainings listing tab, return the stringified list of machines associated with the provided training
|
||||||
# @param training {Object} Training object, inherited from $resource
|
# @param training {Object} Training object, inherited from $resource
|
||||||
|
@ -21,13 +21,13 @@ Application.Controllers.controller "CalendarController", ["$scope", "$state", "$
|
|||||||
### PUBLIC SCOPE ###
|
### PUBLIC SCOPE ###
|
||||||
|
|
||||||
## List of trainings
|
## List of trainings
|
||||||
$scope.trainings = trainingsPromise
|
$scope.trainings = trainingsPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of machines
|
## List of machines
|
||||||
$scope.machines = machinesPromise
|
$scope.machines = machinesPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## List of spaces
|
## List of spaces
|
||||||
$scope.spaces = spacesPromise
|
$scope.spaces = spacesPromise.filter (t) -> !t.disabled
|
||||||
|
|
||||||
## add availabilities source to event sources
|
## add availabilities source to event sources
|
||||||
$scope.eventSources = []
|
$scope.eventSources = []
|
||||||
|
@ -132,8 +132,8 @@ Application.Controllers.controller "EventsController", ["$scope", "$state", 'Eve
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Application.Controllers.controller "ShowEventController", ["$scope", "$state", "$stateParams", "Event", '$uibModal', 'Member', 'Reservation', 'Price', 'CustomAsset', 'eventPromise', 'growl', '_t', 'Wallet', 'helpers', 'priceCategoriesPromise', 'settingsPromise',
|
Application.Controllers.controller "ShowEventController", ["$scope", "$state", "$stateParams", "Event", '$uibModal', 'Member', 'Reservation', 'Price', 'CustomAsset', 'eventPromise', 'growl', '_t', 'Wallet', 'helpers', 'dialogs', 'priceCategoriesPromise', 'settingsPromise',
|
||||||
($scope, $state, $stateParams, Event, $uibModal, Member, Reservation, Price, CustomAsset, eventPromise, growl, _t, Wallet, helpers, priceCategoriesPromise, settingsPromise) ->
|
($scope, $state, $stateParams, Event, $uibModal, Member, Reservation, Price, CustomAsset, eventPromise, growl, _t, Wallet, helpers, dialogs, priceCategoriesPromise, settingsPromise) ->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -183,8 +183,18 @@ Application.Controllers.controller "ShowEventController", ["$scope", "$state", "
|
|||||||
# @param event {$resource} angular's Event $resource
|
# @param event {$resource} angular's Event $resource
|
||||||
##
|
##
|
||||||
$scope.deleteEvent = (event) ->
|
$scope.deleteEvent = (event) ->
|
||||||
event.$delete ->
|
dialogs.confirm
|
||||||
$state.go('app.public.events_list')
|
resolve:
|
||||||
|
object: ->
|
||||||
|
title: _t('confirmation_required')
|
||||||
|
msg: _t('do_you_really_want_to_delete_this_event')
|
||||||
|
, ->
|
||||||
|
# the admin has confirmed, delete
|
||||||
|
event.$delete ->
|
||||||
|
$state.go('app.public.events_list')
|
||||||
|
growl.info(_t('event_successfully_deleted'))
|
||||||
|
, (error)->
|
||||||
|
growl.error(_t('unable_to_delete_the_event_because_some_users_alredy_booked_it'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -108,32 +108,40 @@ _reserveMachine = (machine, e) ->
|
|||||||
$uibModalInstance.dismiss('cancel')
|
$uibModalInstance.dismiss('cancel')
|
||||||
]
|
]
|
||||||
# ... but does not have booked the training, tell him to register for a training session first
|
# ... but does not have booked the training, tell him to register for a training session first
|
||||||
|
# unless all associated trainings are disabled
|
||||||
else
|
else
|
||||||
_this.$uibModal.open
|
# if all trainings are disabled, just redirect the user to the reservation calendar
|
||||||
templateUrl: '<%= asset_path "machines/request_training_modal.html" %>'
|
if machine.trainings.map((t) -> t.disabled).reduce(((acc, val) -> acc && val), true)
|
||||||
controller: ['$scope', '$uibModalInstance', '$state', ($scope, $uibModalInstance, $state) ->
|
_this.$state.go('app.logged.machines_reserve', {id: machine.slug})
|
||||||
$scope.machine = machine
|
# otherwise open the information modal
|
||||||
$scope.member = _this.$scope.currentUser
|
else
|
||||||
|
_this.$uibModal.open
|
||||||
|
templateUrl: '<%= asset_path "machines/request_training_modal.html" %>'
|
||||||
|
controller: ['$scope', '$uibModalInstance', '$state', ($scope, $uibModalInstance, $state) ->
|
||||||
|
$scope.machine = machine
|
||||||
|
$scope.member = _this.$scope.currentUser
|
||||||
|
|
||||||
# transform the name of the trainings associated with the machine to integrate them in a sentence
|
# transform the name of the trainings associated with the machine to integrate them in a sentence
|
||||||
$scope.humanizeTrainings = ->
|
$scope.humanizeTrainings = ->
|
||||||
text = ''
|
text = ''
|
||||||
angular.forEach $scope.machine.trainings, (training) ->
|
angular.forEach $scope.machine.trainings, (training) ->
|
||||||
if text.length > 0
|
if text.length > 0
|
||||||
text += _this._t('_or_the_')
|
text += _this._t('machines_list._or_the_')
|
||||||
text += training.name.substr(0,1).toLowerCase() + training.name.substr(1)
|
text += training.name.substr(0,1).toLowerCase() + training.name.substr(1)
|
||||||
text
|
text
|
||||||
|
|
||||||
|
# modal is closed with validation
|
||||||
|
$scope.ok = ->
|
||||||
|
$state.go('app.logged.trainings_reserve', {id: $scope.machine.trainings[0].id})
|
||||||
|
$uibModalInstance.close(machine)
|
||||||
|
|
||||||
|
# modal is closed with escaping
|
||||||
|
$scope.cancel = (e)->
|
||||||
|
e.preventDefault()
|
||||||
|
$uibModalInstance.dismiss('cancel')
|
||||||
|
]
|
||||||
|
|
||||||
# modal is close with validation
|
|
||||||
$scope.ok = ->
|
|
||||||
$state.go('app.logged.trainings_reserve', {id: $scope.machine.trainings[0].id})
|
|
||||||
$uibModalInstance.close(machine)
|
|
||||||
|
|
||||||
# modal is closed with escaping
|
|
||||||
$scope.cancel = (e)->
|
|
||||||
e.preventDefault()
|
|
||||||
$uibModalInstance.dismiss('cancel')
|
|
||||||
]
|
|
||||||
# if the user is not logged, open the login modal window
|
# if the user is not logged, open the login modal window
|
||||||
else
|
else
|
||||||
_this.$scope.login()
|
_this.$scope.login()
|
||||||
@ -164,6 +172,16 @@ Application.Controllers.controller "MachinesController", ["$scope", "$state", '_
|
|||||||
_t: _t
|
_t: _t
|
||||||
$uibModal: $uibModal
|
$uibModal: $uibModal
|
||||||
Machine: Machine
|
Machine: Machine
|
||||||
|
|
||||||
|
## Default: we show only enabled machines
|
||||||
|
$scope.machineFiltering = 'enabled'
|
||||||
|
|
||||||
|
## Available options for filtering machines by status
|
||||||
|
$scope.filterDisabled = [
|
||||||
|
'enabled',
|
||||||
|
'disabled',
|
||||||
|
'all',
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -527,6 +545,14 @@ Application.Controllers.controller "ReserveMachineController", ["$scope", '$stat
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# To use as callback in Array.prototype.filter to get only enabled plans
|
||||||
|
##
|
||||||
|
$scope.filterDisabledPlans = (plan) ->
|
||||||
|
!plan.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -73,7 +73,7 @@ Application.Controllers.controller "EditProfileController", ["$scope", "$rootSco
|
|||||||
$scope.actionUrl = "/api/members/" + $scope.currentUser.id
|
$scope.actionUrl = "/api/members/" + $scope.currentUser.id
|
||||||
|
|
||||||
## list of groups
|
## list of groups
|
||||||
$scope.groups = groups
|
$scope.groups = groups.filter (g) -> !g.disabled
|
||||||
|
|
||||||
## Form action on the above URL
|
## Form action on the above URL
|
||||||
$scope.method = 'patch'
|
$scope.method = 'patch'
|
||||||
|
@ -8,7 +8,7 @@ Application.Controllers.controller "PlansIndexController", ["$scope", "$rootScop
|
|||||||
### PUBLIC SCOPE ###
|
### PUBLIC SCOPE ###
|
||||||
|
|
||||||
## list of groups
|
## list of groups
|
||||||
$scope.groups = groupsPromise.filter (g) -> g.slug != 'admins'
|
$scope.groups = groupsPromise.filter (g) -> g.slug != 'admins' & !g.disabled
|
||||||
|
|
||||||
## default : do not show the group changing form
|
## default : do not show the group changing form
|
||||||
## group ID of the current/selected user
|
## group ID of the current/selected user
|
||||||
@ -148,6 +148,14 @@ Application.Controllers.controller "PlansIndexController", ["$scope", "$rootScop
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# To use as callback in Array.prototype.filter to get only enabled plans
|
||||||
|
##
|
||||||
|
$scope.filterDisabledPlans = (plan) ->
|
||||||
|
!plan.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -92,6 +92,17 @@ Application.Controllers.controller 'SpacesController', ['$scope', '$state', 'spa
|
|||||||
##
|
##
|
||||||
$scope.reserveSpace = (space) ->
|
$scope.reserveSpace = (space) ->
|
||||||
$state.go('app.logged.space_reserve', { id: space.slug })
|
$state.go('app.logged.space_reserve', { id: space.slug })
|
||||||
|
|
||||||
|
|
||||||
|
## Default: we show only enabled spaces
|
||||||
|
$scope.spaceFiltering = 'enabled'
|
||||||
|
|
||||||
|
## Available options for filtering spaces by status
|
||||||
|
$scope.filterDisabled = [
|
||||||
|
'enabled',
|
||||||
|
'disabled',
|
||||||
|
'all',
|
||||||
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -438,6 +449,14 @@ Application.Controllers.controller "ReserveSpaceController", ["$scope", '$stateP
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# To use as callback in Array.prototype.filter to get only enabled plans
|
||||||
|
##
|
||||||
|
$scope.filterDisabledPlans = (plan) ->
|
||||||
|
!plan.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -338,6 +338,14 @@ Application.Controllers.controller "ReserveTrainingController", ["$scope", '$sta
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
# To use as callback in Array.prototype.filter to get only enabled plans
|
||||||
|
##
|
||||||
|
$scope.filterDisabledPlans = (plan) ->
|
||||||
|
!plan.disabled
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### PRIVATE SCOPE ###
|
### PRIVATE SCOPE ###
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -258,3 +258,14 @@ Application.Filters.filter 'maxCount', [ '_t', (_t) ->
|
|||||||
max
|
max
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Application.Filters.filter 'filterDisabled', [ ->
|
||||||
|
(list, filter) ->
|
||||||
|
if angular.isArray(list)
|
||||||
|
list.filter (e) ->
|
||||||
|
switch filter
|
||||||
|
when 'disabled' then e.disabled
|
||||||
|
when 'enabled' then !e.disabled
|
||||||
|
else true
|
||||||
|
else
|
||||||
|
list
|
||||||
|
]
|
||||||
|
@ -157,7 +157,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
height: 400px;
|
max-height: 400px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
@ -597,4 +597,14 @@ padding: 10px;
|
|||||||
border-bottom: 1px dashed #00b3ee;
|
border-bottom: 1px dashed #00b3ee;
|
||||||
cursor: help;
|
cursor: help;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.reservable-card {
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
height: 24em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.disabled-reservable {
|
||||||
|
opacity: 0.5 !important;
|
||||||
}
|
}
|
@ -624,4 +624,16 @@ body.container{
|
|||||||
.event-description {
|
.event-description {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.disabled-line {
|
||||||
|
color: $gray;
|
||||||
|
background-color: $gray-lighter;
|
||||||
|
|
||||||
|
& td:first-child:before {
|
||||||
|
font-family: 'fontawesome' !important;
|
||||||
|
content: '\f070';
|
||||||
|
position: absolute;
|
||||||
|
left: -4px;
|
||||||
|
}
|
||||||
}
|
}
|
@ -90,6 +90,12 @@
|
|||||||
<span class="m-l-xs" translate>{{ 'admin_calendar.allow_reservations' }}</span>
|
<span class="m-l-xs" translate>{{ 'admin_calendar.allow_reservations' }}</span>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
<button class="btn btn-default m-t" ng-click="removeSlot()">
|
||||||
|
<span>
|
||||||
|
<i class="fa fa-trash" />
|
||||||
|
<span class="m-l-xs" translate>{{ 'admin_calendar.delete_slot' }}</span>
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="col-md-6 m-b m-t">
|
<div class="col-md-6 m-b m-t">
|
||||||
<select ng-model="selectedTimezone" class="form-control">
|
<select ng-model="eventsScope.selected" class="form-control" ng-change="changeScope()">
|
||||||
<option value="" translate>{{ 'all_events' }}</option>
|
<option value="" translate>{{ 'all_events' }}</option>
|
||||||
<option value="passed" translate>{{ 'passed_events' }}</option>
|
<option value="passed" translate>{{ 'passed_events' }}</option>
|
||||||
<option value="future" translate>{{ 'events_to_come' }}</option>
|
<option value="future" translate>{{ 'events_to_come' }}</option>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="event in filtered = (events | eventsReservationsFilter:selectedTimezone)">
|
<tr ng-repeat="event in events">
|
||||||
<td>
|
<td>
|
||||||
<a ui-sref="app.public.events_show({id: event.id})">{{ event.title }} </a>
|
<a ui-sref="app.public.events_show({id: event.id})">{{ event.title }} </a>
|
||||||
</td>
|
</td>
|
||||||
@ -31,12 +31,12 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button class="btn btn-default" ui-sref="app.admin.event_reservations({id: event.id})">
|
<a class="btn btn-default" ui-sref="app.admin.event_reservations({id: event.id})">
|
||||||
<i class="fa fa-bookmark"></i> {{ 'view_reservations' | translate }}
|
<i class="fa fa-bookmark"></i> {{ 'view_reservations' | translate }}
|
||||||
</button>
|
</a>
|
||||||
<button class="btn btn-default" ui-sref="app.admin.events_edit({id: event.id})">
|
<a class="btn btn-default" ui-sref="app.admin.events_edit({id: event.id})">
|
||||||
<i class="fa fa-edit"></i> {{ 'edit' | translate }}
|
<i class="fa fa-edit"></i> {{ 'edit' | translate }}
|
||||||
</button>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,13 +1,27 @@
|
|||||||
<button type="button" class="btn btn-warning m-b m-t-lg" ng-click="addGroup()" translate>{{ 'add_a_group' }}</button>
|
<div class="m-t-lg m-b">
|
||||||
|
<button type="button" class="btn btn-warning" ng-click="addGroup()">
|
||||||
|
<i class="fa fa-plus m-r"></i>
|
||||||
|
<span translate>{{ 'group_form.add_a_group' }}</span>
|
||||||
|
</button>
|
||||||
|
<div class="form-group pull-right">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
||||||
|
<select ng-model="groupFiltering" class="form-control">
|
||||||
|
<option ng-repeat="status in filterDisabled" value="{{status}}" translate>{{ 'group_form.status_'+status }}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 80%;" translate>{{ 'group_name' }}</th>
|
<th style="width: 75%;" translate>{{ 'group_form.group_name' }}</th>
|
||||||
<th style="width: 20%"></th>
|
<th style="width: 25%"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="group in groups">
|
<tr ng-repeat="group in groups | filterDisabled:groupFiltering" ng-class="{'disabled-line' : group.disabled && groupFiltering === 'all'}">
|
||||||
<td>
|
<td>
|
||||||
<span editable-text="group.name" e-cols="200" e-name="name" e-form="rowform" e-required>
|
<span editable-text="group.name" e-cols="200" e-name="name" e-form="rowform" e-required>
|
||||||
{{group.name}}
|
{{group.name}}
|
||||||
@ -23,10 +37,14 @@
|
|||||||
<i class="fa fa-times"></i>
|
<i class="fa fa-times"></i>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<div class="buttons" ng-show="!rowform.$visible" ng-hide="group.slug === 'admins'">
|
<div class="buttons" ng-hide="rowform.$visible || group.slug === 'admins'">
|
||||||
<button class="btn btn-default" ng-click="rowform.$show()">
|
<button class="btn btn-default" ng-click="rowform.$show()">
|
||||||
<i class="fa fa-edit"></i> <span class="hidden-xs hidden-sm" translate>{{ 'edit' }}</span>
|
<i class="fa fa-edit"></i> <span class="hidden-xs hidden-sm" translate>{{ 'edit' }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
<button class="btn btn-default" ng-click="toggleDisableGroup($index)">
|
||||||
|
<span ng-hide="group.disabled"><i class="fa fa-eye-slash"></i> <span translate>{{ 'group_form.disable' }}</span></span>
|
||||||
|
<span ng-show="group.disabled"><i class="fa fa-eye"></i> <span translate>{{ 'group_form.enable' }}</span></span>
|
||||||
|
</button>
|
||||||
<button class="btn btn-danger" ng-click="removeGroup($index)">
|
<button class="btn btn-danger" ng-click="removeGroup($index)">
|
||||||
<i class="fa fa-trash-o"></i>
|
<i class="fa fa-trash-o"></i>
|
||||||
</button>
|
</button>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<span ng-bind="$item.name"></span>
|
<span ng-bind="$item.name"></span>
|
||||||
<input type="hidden" name="user[training_ids][]" value="{{$item.id}}" />
|
<input type="hidden" name="user[training_ids][]" value="{{$item.id}}" />
|
||||||
</ui-select-match>
|
</ui-select-match>
|
||||||
<ui-select-choices repeat="t.id as t in (trainings | filter: $select.search)">
|
<ui-select-choices ui-disable-choice="t.disabled" repeat="t.id as t in (trainings | filter: $select.search)">
|
||||||
<span ng-bind-html="t.name | highlight: $select.search"></span>
|
<span ng-bind-html="t.name | highlight: $select.search"></span>
|
||||||
</ui-select-choices>
|
</ui-select-choices>
|
||||||
</ui-select>
|
</ui-select>
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
<p translate>
|
<p translate>
|
||||||
{{ 'user_has_no_current_subscription' }}
|
{{ 'user_has_no_current_subscription' }}
|
||||||
</p>
|
</p>
|
||||||
<button class="btn btn-default" ng-click="createSubscriptionModal(user, plans)" translate>{{ 'subscribe_to_a_plan' }}</button>
|
<button class="btn btn-default" ng-click="createSubscriptionModal(user, plans.filter(filterDisabledPlans))" translate>{{ 'subscribe_to_a_plan' }}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -30,6 +30,22 @@
|
|||||||
|
|
||||||
<ng-include src="'<%= asset_path 'admin/plans/_form.html' %>'"></ng-include>
|
<ng-include src="'<%= asset_path 'admin/plans/_form.html' %>'"></ng-include>
|
||||||
|
|
||||||
|
<div class="input-group m-t-md">
|
||||||
|
<label for="plan[disabled]" class="control-label m-r-md">{{ 'plan_form.disabled' | translate }}</label>
|
||||||
|
<input bs-switch
|
||||||
|
ng-model="plan.disabled"
|
||||||
|
id="plan[disabled]"
|
||||||
|
type="checkbox"
|
||||||
|
class="form-control"
|
||||||
|
switch-on-text="{{ 'yes' | translate }}"
|
||||||
|
switch-off-text="{{ 'no' | translate }}"
|
||||||
|
switch-animate="true"
|
||||||
|
ng-true-value="'true'"
|
||||||
|
ng-false-value="'false'"/>
|
||||||
|
<input type="hidden" name="plan[disabled]" value="{{plan.disabled}}"/>
|
||||||
|
<span class="help-block" translate>{{ 'plan_form.disable_plan_will_not_unsubscribe_users' }}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h2 class="m-t-xl" translate>{{ 'edit_plan.prices' }}</h2>
|
<h2 class="m-t-xl" translate>{{ 'edit_plan.prices' }}</h2>
|
||||||
<div class="form-group col-md-6 col-lg-offset-6">
|
<div class="form-group col-md-6 col-lg-offset-6">
|
||||||
<input type="hidden" ng-model="plan.parent" name="plan[parent_id]" ng-value="plan.parent"/>
|
<input type="hidden" ng-model="plan.parent" name="plan[parent_id]" ng-value="plan.parent"/>
|
||||||
@ -46,8 +62,8 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<tr ng-repeat="price in plan.prices" ng-if="price.priceable_type === 'Machine'">
|
<tr ng-repeat="price in plan.prices" ng-if="price.priceable_type === 'Machine'" ng-hide="getMachine(price.priceable_id).disabled">
|
||||||
<td style="width: 60%;">{{ getMachineName(price.priceable_id) }} (id {{ price.priceable_id }}) *</td>
|
<td style="width: 60%;">{{ getMachine(price.priceable_id).name }} (id {{ price.priceable_id }}) *</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group" ng-class="{'has-error': planForm['plan[prices_attributes][][amount]'].$dirty && planForm['plan[prices_attributes][][amount]'].$invalid}">
|
<div class="input-group" ng-class="{'has-error': planForm['plan[prices_attributes][][amount]'].$dirty && planForm['plan[prices_attributes][][amount]'].$invalid}">
|
||||||
<span class="input-group-addon">{{currencySymbol}}</span>
|
<span class="input-group-addon">{{currencySymbol}}</span>
|
||||||
@ -67,8 +83,8 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<tr ng-repeat="price in plan.prices" ng-if="price.priceable_type === 'Space'">
|
<tr ng-repeat="price in plan.prices" ng-if="price.priceable_type === 'Space'" ng-hide="getSpace(price.priceable_id).disabled">
|
||||||
<td style="width: 60%;">{{ getSpaceName(price.priceable_id) }} *</td>
|
<td style="width: 60%;">{{ getSpace(price.priceable_id).name }} *</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group" ng-class="{'has-error': planForm['plan[prices_attributes][][amount]'].$dirty && planForm['plan[prices_attributes][][amount]'].$invalid}">
|
<div class="input-group" ng-class="{'has-error': planForm['plan[prices_attributes][][amount]'].$dirty && planForm['plan[prices_attributes][][amount]'].$invalid}">
|
||||||
<span class="input-group-addon">{{currencySymbol}}</span>
|
<span class="input-group-addon">{{currencySymbol}}</span>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<tr ng-repeat="(planId, trainingIds) in trainingCreditsGroups" ng-init="plan = getPlanFromId(planId)">
|
<tr ng-repeat="(planId, trainingIds) in trainingCreditsGroups" ng-init="plan = getPlanFromId(planId)" ng-hide="plan.disabled">
|
||||||
<td>
|
<td>
|
||||||
{{ plan | humanReadablePlanName: groups }}
|
{{ plan | humanReadablePlanName: groups }}
|
||||||
</td>
|
</td>
|
||||||
@ -58,9 +58,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="mc in machineCredits">
|
<tr ng-repeat="mc in machineCredits" ng-hide="getPlanFromId(mc.plan_id).disabled || getCreditable(mc).disabled">
|
||||||
<td>
|
<td>
|
||||||
<span editable-select="mc.creditable_id" e-name="creditable_id" e-form="rowform" e-ng-options="m.id as m.name+' ( id. '+m.id+' )' for m in machines" e-required>
|
<span editable-select="mc.creditable_id" e-name="creditable_id" e-form="rowform" e-ng-options="m.id as m.name+' ( id. '+m.id+' )' for m in enabledMachines" e-required>
|
||||||
{{ showCreditableName(mc) }}
|
{{ showCreditableName(mc) }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
@ -70,7 +70,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span editable-select="mc.plan_id" e-ng-options="p.id as humanReadablePlanName(p, groups, 'short') for p in plans" e-name="plan_id" e-form="rowform">
|
<span editable-select="mc.plan_id" e-ng-options="p.id as humanReadablePlanName(p, groups, 'short') for p in enabledPlans" e-name="plan_id" e-form="rowform">
|
||||||
{{ getPlanFromId(mc.plan_id) | humanReadablePlanName: groups: 'short' }}
|
{{ getPlanFromId(mc.plan_id) | humanReadablePlanName: groups: 'short' }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
@ -110,9 +110,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="sc in spaceCredits">
|
<tr ng-repeat="sc in spaceCredits" ng-hide="getPlanFromId(sc.plan_id).disabled || getCreditable(sc).disabled">
|
||||||
<td>
|
<td>
|
||||||
<span editable-select="sc.creditable_id" e-name="creditable_id" e-form="rowform" e-ng-options="s.id as s.name for s in spaces" e-required>
|
<span editable-select="sc.creditable_id" e-name="creditable_id" e-form="rowform" e-ng-options="s.id as s.name for s in enabledSpaces" e-required>
|
||||||
{{ showCreditableName(sc) }}
|
{{ showCreditableName(sc) }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
@ -122,7 +122,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span editable-select="sc.plan_id" e-ng-options="p.id as humanReadablePlanName(p, groups, 'short') for p in plans" e-name="plan_id" e-form="rowform">
|
<span editable-select="sc.plan_id" e-ng-options="p.id as humanReadablePlanName(p, groups, 'short') for p in enabledPlans" e-name="plan_id" e-form="rowform">
|
||||||
{{ getPlanFromId(sc.plan_id) | humanReadablePlanName: groups: 'short' }}
|
{{ getPlanFromId(sc.plan_id) | humanReadablePlanName: groups: 'short' }}
|
||||||
</span>
|
</span>
|
||||||
</td>
|
</td>
|
||||||
|
@ -5,18 +5,19 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.machines' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.machines' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="machine in machines">
|
<tr ng-repeat="machine in enabledMachines">
|
||||||
<td>
|
<td>
|
||||||
{{ machine.name }}
|
{{ machine.name }}
|
||||||
</td>
|
</td>
|
||||||
<td ng-repeat="group in groups">
|
<td ng-repeat="group in enabledGroups">
|
||||||
<span editable-number="findPriceBy(machinesPrices, machine.id, group.id).amount"
|
<span editable-number="findPriceBy(machinesPrices, machine.id, group.id).amount"
|
||||||
|
e-step="any"
|
||||||
onbeforesave="updatePrice($data, findPriceBy(machinesPrices, machine.id, group.id))">
|
onbeforesave="updatePrice($data, findPriceBy(machinesPrices, machine.id, group.id))">
|
||||||
{{ findPriceBy(machinesPrices, machine.id, group.id).amount | currency}}
|
{{ findPriceBy(machinesPrices, machine.id, group.id).amount | currency}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -5,18 +5,19 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.spaces' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.spaces' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="space in spaces">
|
<tr ng-repeat="space in enabledSpaces">
|
||||||
<td>
|
<td>
|
||||||
{{ space.name }}
|
{{ space.name }}
|
||||||
</td>
|
</td>
|
||||||
<td ng-repeat="group in groups">
|
<td ng-repeat="group in enabledGroups">
|
||||||
<span editable-number="findPriceBy(spacesPrices, space.id, group.id).amount"
|
<span editable-number="findPriceBy(spacesPrices, space.id, group.id).amount"
|
||||||
|
e-step="any"
|
||||||
onbeforesave="updatePrice($data, findPriceBy(spacesPrices, space.id, group.id))">
|
onbeforesave="updatePrice($data, findPriceBy(spacesPrices, space.id, group.id))">
|
||||||
{{ findPriceBy(spacesPrices, space.id, group.id).amount | currency}}
|
{{ findPriceBy(spacesPrices, space.id, group.id).amount | currency}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -6,7 +6,21 @@
|
|||||||
<br>{{ 'pricing.for_safety_reasons_please_dont_create_subscriptions_if_you_dont_want_intend_to_use_them_later' | translate }}
|
<br>{{ 'pricing.for_safety_reasons_please_dont_create_subscriptions_if_you_dont_want_intend_to_use_them_later' | translate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button type="button" class="btn btn-warning m-t-lg m-b" ui-sref="app.admin.plans.new" translate>{{ 'pricing.add_a_new_subscription_plan' }}</button>
|
<div class="m-t-lg">
|
||||||
|
<button type="button" class="btn btn-warning" ui-sref="app.admin.plans.new">
|
||||||
|
<i class="fa fa-plus m-r"></i>
|
||||||
|
<span translate>{{ 'pricing.add_a_new_subscription_plan' }}</span>
|
||||||
|
</button>
|
||||||
|
<div class="form-group pull-right">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
||||||
|
<select ng-model="planFiltering" class="form-control">
|
||||||
|
<option ng-repeat="status in filterDisabled" value="{{status}}" translate>{{ 'pricing.status_'+status }}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -20,11 +34,14 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="plan in plans | orderBy:orderPlans">
|
<tr ng-repeat="plan in plans | filterDisabled:planFiltering | orderBy:orderPlans"
|
||||||
|
ng-class="{'disabled-line' : plan.disabled && planFiltering === 'all'}"
|
||||||
|
ng-init="group = getGroupFromId(groups, plan.group_id)"
|
||||||
|
ng-hide="group.disabled">
|
||||||
<td>{{getPlanType(plan.type)}}</td>
|
<td>{{getPlanType(plan.type)}}</td>
|
||||||
<td>{{plan.base_name}}</td>
|
<td>{{plan.base_name}}</td>
|
||||||
<td>{{ plan.interval | planIntervalFilter:plan.interval_count }}</td>
|
<td>{{ plan.interval | planIntervalFilter:plan.interval_count }}</td>
|
||||||
<td>{{getGroupFromId(groups, plan.group_id).name}}</td>
|
<td>{{group.name}}</td>
|
||||||
<td class="hidden-xs">{{plan.ui_weight}}</td>
|
<td class="hidden-xs">{{plan.ui_weight}}</td>
|
||||||
<td>{{plan.amount | currency}}</td>
|
<td>{{plan.amount | currency}}</td>
|
||||||
<td><button type="button" class="btn btn-default" ui-sref="app.admin.plans.edit({id:plan.id})"><i class="fa fa-pencil-square-o"></i></button> <button type="button" class="btn btn-danger" ng-click="deletePlan(plans, plan.id)"><i class="fa fa-trash"></i></button></td>
|
<td><button type="button" class="btn btn-default" ui-sref="app.admin.plans.edit({id:plan.id})"><i class="fa fa-pencil-square-o"></i></button> <button type="button" class="btn btn-danger" ng-click="deletePlan(plans, plan.id)"><i class="fa fa-trash"></i></button></td>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
|
<th style="width:20%" translate>{{ 'pricing.trainings' }}</th>
|
||||||
<th style="width:20%" ng-repeat="group in groups">
|
<th style="width:20%" ng-repeat="group in enabledGroups">
|
||||||
<span class="text-u-c text-sm">{{group.name}}</span>
|
<span class="text-u-c text-sm">{{group.name}}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -12,8 +12,9 @@
|
|||||||
<td>
|
<td>
|
||||||
{{ training.name }}
|
{{ training.name }}
|
||||||
</td>
|
</td>
|
||||||
<td ng-repeat="group in groups">
|
<td ng-repeat="group in enabledGroups">
|
||||||
<span editable-number="findTrainingsPricing(trainingsPricings, training.id, group.id).amount"
|
<span editable-number="findTrainingsPricing(trainingsPricings, training.id, group.id).amount"
|
||||||
|
e-step="any"
|
||||||
onbeforesave="updateTrainingsPricing($data, findTrainingsPricing(trainingsPricings, training.id, group.id))">
|
onbeforesave="updateTrainingsPricing($data, findTrainingsPricing(trainingsPricings, training.id, group.id))">
|
||||||
{{ findTrainingsPricing(trainingsPricings, training.id, group.id).amount | currency}}
|
{{ findTrainingsPricing(trainingsPricings, training.id, group.id).amount | currency}}
|
||||||
</span>
|
</span>
|
||||||
|
@ -15,21 +15,21 @@
|
|||||||
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
||||||
|
|
||||||
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[name]'].$dirty && trainingForm['training[name]'].$invalid}">
|
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[name]'].$dirty && trainingForm['training[name]'].$invalid}">
|
||||||
<label for="name" class="col-sm-2 control-label">{{ 'name' | translate }} *</label>
|
<label for="name" class="col-sm-2 control-label">{{ 'trainings_form.name' | translate }} *</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input name="training[name]"
|
<input name="training[name]"
|
||||||
ng-model="training.name"
|
ng-model="training.name"
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="training_name"
|
id="training_name"
|
||||||
placeholder="{{'name' | translate}}"
|
placeholder="{{'trainings_form.name' | translate}}"
|
||||||
required/>
|
required/>
|
||||||
<span class="help-block" ng-show="trainingForm['training[name]'].$dirty && trainingForm['training[name]'].$error.required" translate>{{ 'name_is_required' }}</span>
|
<span class="help-block" ng-show="trainingForm['training[name]'].$dirty && trainingForm['training[name]'].$error.required" translate>{{ 'trainings_form.name_is_required' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-lg">
|
<div class="form-group m-b-lg">
|
||||||
<label for="training_image" class="col-sm-2 control-label">{{ 'illustration' | translate }} *</label>
|
<label for="training_image" class="col-sm-2 control-label">{{ 'trainings_form.illustration' | translate }} *</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<div class="fileinput" data-provides="fileinput" ng-class="fileinputClass(training.training_image)">
|
<div class="fileinput" data-provides="fileinput" ng-class="fileinputClass(training.training_image)">
|
||||||
<div class="fileinput-new thumbnail" style="width: 334px; height: 250px;">
|
<div class="fileinput-new thumbnail" style="width: 334px; height: 250px;">
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="btn btn-default btn-file">
|
<span class="btn btn-default btn-file">
|
||||||
<span class="fileinput-new">{{ 'add_an_illustration' | translate }} <i class="fa fa-upload fa-fw"></i></span>
|
<span class="fileinput-new">{{ 'trainings_form.add_an_illustration' | translate }} <i class="fa fa-upload fa-fw"></i></span>
|
||||||
<span class="fileinput-exists" translate>{{ 'change' }}</span>
|
<span class="fileinput-exists" translate>{{ 'change' }}</span>
|
||||||
<input type="file"
|
<input type="file"
|
||||||
ng-model="training.training_image"
|
ng-model="training.training_image"
|
||||||
@ -57,23 +57,23 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="form-group m-b-xl" ng-class="{'has-error': trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$invalid}">
|
<div class="form-group m-b-xl" ng-class="{'has-error': trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$invalid}">
|
||||||
<label for="training_description" class="col-sm-2 control-label">{{ 'description' | translate }} *</label>
|
<label for="training_description" class="col-sm-2 control-label">{{ 'trainings_form.description' | translate }} *</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input type="hidden" name="training[description]" ng-value="training.description" />
|
<input type="hidden" name="training[description]" ng-value="training.description" />
|
||||||
<summernote ng-model="training.description" id="training_description" placeholder="" config="summernoteOpts" name="training[description]" required></summernote>
|
<summernote ng-model="training.description" id="training_description" placeholder="" config="summernoteOpts" name="training[description]" required></summernote>
|
||||||
<span class="help-block" ng-show="trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$error.required" translate>{{ 'description_is_required' }}</span>
|
<span class="help-block" ng-show="trainingForm['training[description]'].$dirty && trainingForm['training[description]'].$error.required" translate>{{ 'trainings_form.description_is_required' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[machine_ids]'].$dirty && trainingForm['training[machine_ids]'].$invalid}">
|
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[machine_ids]'].$dirty && trainingForm['training[machine_ids]'].$invalid}">
|
||||||
<label for="training_machines" class="col-sm-2 control-label">{{ 'associated_machines' | translate }}</label>
|
<label for="training_machines" class="col-sm-2 control-label">{{ 'trainings_form.associated_machines' | translate }}</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<ui-select multiple ng-model="training.machine_ids" class="form-control" id="training_machines">
|
<ui-select multiple ng-model="training.machine_ids" class="form-control" id="training_machines">
|
||||||
<ui-select-match>
|
<ui-select-match>
|
||||||
<span ng-bind="$item.name"></span>
|
<span ng-bind="$item.name"></span>
|
||||||
<input type="hidden" name="training[machine_ids][]" value="{{$item.id}}" />
|
<input type="hidden" name="training[machine_ids][]" value="{{$item.id}}" />
|
||||||
</ui-select-match>
|
</ui-select-match>
|
||||||
<ui-select-choices repeat="m.id as m in (machines | filter: $select.search)">
|
<ui-select-choices ui-disable-choice="m.disabled" repeat="m.id as m in (machines | filter: $select.search)">
|
||||||
<span ng-bind-html="m.name | highlight: $select.search"></span>
|
<span ng-bind-html="m.name | highlight: $select.search"></span>
|
||||||
</ui-select-choices>
|
</ui-select-choices>
|
||||||
</ui-select>
|
</ui-select>
|
||||||
@ -81,7 +81,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[nb_total_places]'].$dirty && trainingForm['training[nb_total_places]'].$invalid}">
|
<div class="form-group m-b-lg" ng-class="{'has-error': trainingForm['training[nb_total_places]'].$dirty && trainingForm['training[nb_total_places]'].$invalid}">
|
||||||
<label for="training_nb_total_places" class="col-sm-2 control-label">{{ 'number_of_tickets' | translate }}</label>
|
<label for="training_nb_total_places" class="col-sm-2 control-label">{{ 'trainings_form.number_of_tickets' | translate }}</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input ng-model="training.nb_total_places"
|
<input ng-model="training.nb_total_places"
|
||||||
type="number"
|
type="number"
|
||||||
@ -95,7 +95,7 @@
|
|||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="training[public_page]" class="control-label col-sm-2" translate>
|
<label for="training[public_page]" class="control-label col-sm-2" translate>
|
||||||
{{ 'public_page' }}
|
{{ 'trainings_form.public_page' }}
|
||||||
</label>
|
</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input bs-switch
|
<input bs-switch
|
||||||
@ -105,16 +105,35 @@
|
|||||||
class="form-control"
|
class="form-control"
|
||||||
switch-on-text="{{ 'yes' | translate }}"
|
switch-on-text="{{ 'yes' | translate }}"
|
||||||
switch-off-text="{{ 'no' | translate }}"
|
switch-off-text="{{ 'no' | translate }}"
|
||||||
|
switch-active="{{!training.disabled}}"
|
||||||
switch-animate="true"/>
|
switch-animate="true"/>
|
||||||
<input type="hidden" name="training[public_page]" value="{{training.public_page}}">
|
<input type="hidden" name="training[public_page]" value="{{training.public_page}}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="training[disabled]" class="control-label col-sm-2" translate>
|
||||||
|
{{ 'trainings_form.disable_training' }}
|
||||||
|
</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input bs-switch
|
||||||
|
ng-model="training.disabled"
|
||||||
|
name="training[disabled]"
|
||||||
|
type="checkbox"
|
||||||
|
class="form-control"
|
||||||
|
switch-on-text="{{ 'yes' | translate }}"
|
||||||
|
switch-off-text="{{ 'no' | translate }}"
|
||||||
|
ng-change="onDisableToggled()"
|
||||||
|
switch-animate="true"/>
|
||||||
|
<input type="hidden" name="training[disabled]" value="{{training.disabled}}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div> <!-- ./panel-body -->
|
</div> <!-- ./panel-body -->
|
||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
value="{{ 'validate_your_training' | translate }}"
|
value="{{ 'trainings_form.validate_your_training' | translate }}"
|
||||||
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
|
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
|
||||||
ng-disabled="trainingForm.$invalid"/>
|
ng-disabled="trainingForm.$invalid"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,20 @@
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<uib-tabset justified="true">
|
<uib-tabset justified="true">
|
||||||
<uib-tab heading="{{ 'trainings' | translate }}">
|
<uib-tab heading="{{ 'trainings' | translate }}">
|
||||||
<button type="button" class="btn btn-warning m-t m-b" ui-sref="app.admin.trainings_new" translate>{{ 'add_a_new_training' }}</button>
|
<div class="m-t m-b">
|
||||||
|
<button type="button" class="btn btn-warning" ui-sref="app.admin.trainings_new">
|
||||||
|
<i class="fa fa-plus m-r"></i>
|
||||||
|
<span translate>{{ 'add_a_new_training' }}</span>
|
||||||
|
</button>
|
||||||
|
<div class="form-group pull-right">
|
||||||
|
<div class="input-group">
|
||||||
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
||||||
|
<select ng-model="trainingFiltering" class="form-control">
|
||||||
|
<option ng-repeat="status in filterDisabled" value="{{status}}" translate>{{ 'status_'+status }}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
@ -33,7 +46,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="training in trainings">
|
<tr ng-repeat="training in trainings | filterDisabled:trainingFiltering" ng-class="{'disabled-line' : training.disabled && trainingFiltering === 'all'}">
|
||||||
<td>{{ training.name }}</td>
|
<td>{{ training.name }}</td>
|
||||||
<td>{{ showMachines(training) }}</td>
|
<td>{{ showMachines(training) }}</td>
|
||||||
<td>{{ training.nb_total_places }}</td>
|
<td>{{ training.nb_total_places }}</td>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-8 b-l b-r">
|
<div class="col-md-8 b-l b-r">
|
||||||
<section class="heading-title">
|
<section class="heading-title">
|
||||||
<h1 translate>{{ 'add_a_new_training' }}</h1>
|
<h1 translate>{{ 'trainings_new.add_a_new_training' }}</h1>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -22,8 +22,8 @@
|
|||||||
<div class="col-md-9 b-r nopadding">
|
<div class="col-md-9 b-r nopadding">
|
||||||
|
|
||||||
<div class="alert alert-warning m-lg" role="alert">
|
<div class="alert alert-warning m-lg" role="alert">
|
||||||
{{ 'beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero' | translate }}
|
{{ 'trainings_new.beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero' | translate }}
|
||||||
{{ 'dont_forget_to_change_them_before_creating_slots_for_this_training' | translate }}
|
{{ 'trainings_new.dont_forget_to_change_them_before_creating_slots_for_this_training' | translate }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-include src="'<%= asset_path 'admin/trainings/_form.html' %>'"></ng-include>
|
<ng-include src="'<%= asset_path 'admin/trainings/_form.html' %>'"></ng-include>
|
||||||
|
@ -15,21 +15,21 @@
|
|||||||
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
<uib-alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</uib-alert>
|
||||||
|
|
||||||
<div class="form-group m-b-lg" ng-class="{'has-error': machineForm['machine[name]'].$dirty && machineForm['machine[name]'].$invalid}">
|
<div class="form-group m-b-lg" ng-class="{'has-error': machineForm['machine[name]'].$dirty && machineForm['machine[name]'].$invalid}">
|
||||||
<label for="name" class="col-sm-2 control-label">{{ 'name' | translate }} *</label>
|
<label for="name" class="col-sm-2 control-label">{{ 'machine_form.name' | translate }} *</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<input ng-model="machine.name"
|
<input ng-model="machine.name"
|
||||||
type="text"
|
type="text"
|
||||||
name="machine[name]"
|
name="machine[name]"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="machine_name"
|
id="machine_name"
|
||||||
placeholder="{{'name' | translate}}"
|
placeholder="{{'machine_form.name' | translate}}"
|
||||||
required>
|
required>
|
||||||
<span class="help-block" ng-show="machineForm['machine[name]'].$dirty && machineForm['machine[name]'].$error.required" translate>{{ 'name_is_required' }}</span>
|
<span class="help-block" ng-show="machineForm['machine[name]'].$dirty && machineForm['machine[name]'].$error.required" translate>{{ 'machine_form.name_is_required' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-lg">
|
<div class="form-group m-b-lg">
|
||||||
<label for="machine_image" class="col-sm-2 control-label">{{ 'illustration' | translate }} *</label>
|
<label for="machine_image" class="col-sm-2 control-label">{{ 'machine_form.illustration' | translate }} *</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<div class="fileinput" data-provides="fileinput" ng-class="fileinputClass(machine.machine_image)">
|
<div class="fileinput" data-provides="fileinput" ng-class="fileinputClass(machine.machine_image)">
|
||||||
<div class="fileinput-new thumbnail" style="width: 334px; height: 250px;">
|
<div class="fileinput-new thumbnail" style="width: 334px; height: 250px;">
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<span class="btn btn-default btn-file">
|
<span class="btn btn-default btn-file">
|
||||||
<span class="fileinput-new">{{ 'add_an_illustration' | translate }} <i class="fa fa-upload fa-fw"></i></span>
|
<span class="fileinput-new">{{ 'machine_form.add_an_illustration' | translate }} <i class="fa fa-upload fa-fw"></i></span>
|
||||||
<span class="fileinput-exists" translate>{{ 'change' }}</span>
|
<span class="fileinput-exists" translate>{{ 'change' }}</span>
|
||||||
<input type="file"
|
<input type="file"
|
||||||
ng-model="machine.machine_image"
|
ng-model="machine.machine_image"
|
||||||
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="form-group m-b-xl" ng-class="{'has-error': machineForm['machine[description]'].$dirty && machineForm['machine[description]'].$invalid}">
|
<div class="form-group m-b-xl" ng-class="{'has-error': machineForm['machine[description]'].$dirty && machineForm['machine[description]'].$invalid}">
|
||||||
<label for="description" class="col-sm-2 control-label">{{ 'description' | translate }} *</label>
|
<label for="description" class="col-sm-2 control-label">{{ 'machine_form.description' | translate }} *</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="machine[description]"
|
name="machine[description]"
|
||||||
@ -69,12 +69,12 @@
|
|||||||
name="machine[description]"
|
name="machine[description]"
|
||||||
required>
|
required>
|
||||||
</summernote>
|
</summernote>
|
||||||
<span class="help-block" ng-show="machineForm['machine[description]'].$dirty && machineForm['machine[description]'].$error.required" translate>{{ 'description_is_required' }}</span>
|
<span class="help-block" ng-show="machineForm['machine[description]'].$dirty && machineForm['machine[description]'].$error.required" translate>{{ 'machine_form.description_is_required' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-xl" ng-class="{'has-error': machineForm['machine[spec]'].$dirty && machineForm['machine[spec]'].$invalid}">
|
<div class="form-group m-b-xl" ng-class="{'has-error': machineForm['machine[spec]'].$dirty && machineForm['machine[spec]'].$invalid}">
|
||||||
<label for="spec" class="col-sm-2 control-label">{{ 'technical_specifications' | translate }} *</label>
|
<label for="spec" class="col-sm-2 control-label">{{ 'machine_form.technical_specifications' | translate }} *</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<input type="hidden"
|
<input type="hidden"
|
||||||
name="machine[spec]"
|
name="machine[spec]"
|
||||||
@ -86,12 +86,12 @@
|
|||||||
name="machine[spec]"
|
name="machine[spec]"
|
||||||
required>
|
required>
|
||||||
</summernote>
|
</summernote>
|
||||||
<span class="help-block" ng-show="machineForm['machine[spec]'].$dirty && machineForm['machine[spec]'].$error.required" translate>{{ 'technical_specifications_are_required' }}</span>
|
<span class="help-block" ng-show="machineForm['machine[spec]'].$dirty && machineForm['machine[spec]'].$error.required" translate>{{ 'machine_form.technical_specifications_are_required' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group m-b-xl">
|
<div class="form-group m-b-xl">
|
||||||
<label class="col-sm-2 control-label" translate>{{ 'attached_files_(pdf)' }}</label>
|
<label class="col-sm-2 control-label" translate>{{ 'machine_form.attached_files_(pdf)' }}</label>
|
||||||
<div class="col-sm-10">
|
<div class="col-sm-10">
|
||||||
<div ng-repeat="file in machine.machine_files_attributes" ng-show="!file._destroy">
|
<div ng-repeat="file in machine.machine_files_attributes" ng-show="!file._destroy">
|
||||||
<input type="hidden" ng-model="file.id" name="machine[machine_files_attributes][][id]" ng-value="file.id" />
|
<input type="hidden" ng-model="file.id" name="machine[machine_files_attributes][][id]" ng-value="file.id" />
|
||||||
@ -101,13 +101,30 @@
|
|||||||
<div class="form-control" data-trigger="fileinput">
|
<div class="form-control" data-trigger="fileinput">
|
||||||
<i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename">{{file.attachment}}</span>
|
<i class="glyphicon glyphicon-file fileinput-exists"></i> <span class="fileinput-filename">{{file.attachment}}</span>
|
||||||
</div>
|
</div>
|
||||||
<span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new" translate>{{ 'attach_a_file' }}</span>
|
<span class="input-group-addon btn btn-default btn-file"><span class="fileinput-new" translate>{{ 'machine_form.attach_a_file' }}</span>
|
||||||
<span class="fileinput-exists" translate>{{ 'change' }}</span><input type="file" name="machine[machine_files_attributes][][attachment]" accept=".pdf"></span>
|
<span class="fileinput-exists" translate>{{ 'change' }}</span><input type="file" name="machine[machine_files_attributes][][attachment]" accept=".pdf"></span>
|
||||||
<a class="input-group-addon btn btn-danger fileinput-exists" data-dismiss="fileinput" ng-click="deleteFile(file)"><i class="fa fa-trash-o"></i></a>
|
<a class="input-group-addon btn btn-danger fileinput-exists" data-dismiss="fileinput" ng-click="deleteFile(file)"><i class="fa fa-trash-o"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<a class="btn btn-default" ng-click="addFile()" role="button"> {{ 'add_an_attachment' | translate }} <i class="fa fa-file-o fa-fw"></i></a>
|
<a class="btn btn-default" ng-click="addFile()" role="button"> {{ 'machine_form.add_an_attachment' | translate }} <i class="fa fa-file-o fa-fw"></i></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="machine[disabled]" class="control-label col-sm-2" translate>
|
||||||
|
{{ 'machine_form.disable_machine' }}
|
||||||
|
</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input bs-switch
|
||||||
|
ng-model="machine.disabled"
|
||||||
|
name="machine[disabled]"
|
||||||
|
type="checkbox"
|
||||||
|
class="form-control"
|
||||||
|
switch-on-text="{{ 'yes' | translate }}"
|
||||||
|
switch-off-text="{{ 'no' | translate }}"
|
||||||
|
switch-animate="true"/>
|
||||||
|
<input type="hidden" name="machine[disabled]" value="{{machine.disabled}}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -115,7 +132,7 @@
|
|||||||
|
|
||||||
<div class="panel-footer no-padder">
|
<div class="panel-footer no-padder">
|
||||||
<input type="submit"
|
<input type="submit"
|
||||||
value="{{ 'validate_your_machine' | translate }}"
|
value="{{ 'machine_form.validate_your_machine' | translate }}"
|
||||||
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
|
class="r-b btn-valid btn btn-warning btn-block p-lg btn-lg text-u-c"
|
||||||
ng-disabled="machineForm.$invalid"/>
|
ng-disabled="machineForm.$invalid"/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
||||||
<section class="heading-title">
|
<section class="heading-title">
|
||||||
<h1 translate>{{ 'the_fablab_s_machines' }}</h1>
|
<h1 translate>{{ 'machines_list.the_fablab_s_machines' }}</h1>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
|
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
|
||||||
<section class="heading-actions wrapper">
|
<section class="heading-actions wrapper">
|
||||||
<a class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ui-sref="app.admin.machines_new" role="button" translate>{{ 'add_a_machine' }}</a>
|
<a class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ui-sref="app.admin.machines_new" role="button" translate>{{ 'machines_list.add_a_machine' }}</a>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -22,42 +22,46 @@
|
|||||||
|
|
||||||
<section class="m-lg">
|
<section class="m-lg">
|
||||||
|
|
||||||
<div class="row" ng-repeat="machine in (machines.length/3 | array)">
|
<div class="form-group row">
|
||||||
|
<div class="input-group col-md-3 m-l-lg m-b">
|
||||||
<div class="col-xs-12 col-sm-6 col-md-4" ng-repeat="machine in machines.slice(3*$index, 3*$index + 3)">
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
||||||
|
<select ng-model="machineFiltering" class="form-control">
|
||||||
|
<option ng-repeat="status in filterDisabled" value="{{status}}" translate>{{ 'machines_list.status_'+status }}</option>
|
||||||
<div class="widget panel panel-default">
|
</select>
|
||||||
<div class="panel-heading picture" ng-if="!machine.machine_image" ng-click="showMachine(machine)">
|
|
||||||
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder class="img-responsive">
|
|
||||||
</div>
|
|
||||||
<div class="panel-heading picture" style="background-image:url({{machine.machine_image}})" ng-if="machine.machine_image" ng-click="showMachine(machine)">
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<h1 class="text-center m-b">{{machine.name}}</h1>
|
|
||||||
</div>
|
|
||||||
<div class="panel-footer no-padder">
|
|
||||||
|
|
||||||
<div class="text-center clearfix">
|
|
||||||
<div class="col-sm-6 b-r no-padder">
|
|
||||||
<div class="btn btn-default btn-block no-b padder-v red" ng-click="reserveMachine(machine, $event)">
|
|
||||||
<i class="fa fa-bookmark"></i> {{ 'book' | translate }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6 no-padder">
|
|
||||||
<div class="btn btn-default btn-block padder-v no-b red" ng-click="showMachine(machine)">
|
|
||||||
<i class="fa fa-eye"></i> {{ 'consult' | translate }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="col-xs-12 col-sm-6 col-lg-4 reservable-card" ng-class="{'disabled-reservable' : machine.disabled && machineFiltering === 'all'}" ng-repeat="machine in machines | filterDisabled:machineFiltering">
|
||||||
|
<div class="widget panel panel-default">
|
||||||
|
<div class="panel-heading picture" ng-if="!machine.machine_image" ng-click="showMachine(machine)">
|
||||||
|
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder class="img-responsive">
|
||||||
|
</div>
|
||||||
|
<div class="panel-heading picture" style="background-image:url({{machine.machine_image}})" ng-if="machine.machine_image" ng-click="showMachine(machine)">
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<h1 class="text-center m-b">{{machine.name}}</h1>
|
||||||
|
</div>
|
||||||
|
<div class="panel-footer no-padder">
|
||||||
|
|
||||||
|
<div class="text-center clearfix">
|
||||||
|
<div class="col-sm-6 b-r no-padder">
|
||||||
|
<div class="btn btn-default btn-block no-b padder-v red" ng-click="reserveMachine(machine, $event)" ng-hide="machine.disabled">
|
||||||
|
<i class="fa fa-bookmark m-r-xs"></i>
|
||||||
|
<span class="hidden-sm" translate>{{ 'machines_list.book' }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="no-padder" ng-class="{'col-sm-6': !machine.disabled}">
|
||||||
|
<div class="btn btn-default btn-block padder-v no-b red" ng-click="showMachine(machine)">
|
||||||
|
<i class="fa fa-eye m-r-xs"></i>
|
||||||
|
<span class="hidden-sm" translate>{{ 'consult' }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -15,7 +15,11 @@
|
|||||||
|
|
||||||
<div class="col-xs-12 col-sm-12 col-md-4 b-t hide-b-md">
|
<div class="col-xs-12 col-sm-12 col-md-4 b-t hide-b-md">
|
||||||
<section class="heading-actions wrapper">
|
<section class="heading-actions wrapper">
|
||||||
<a ng-click="reserveMachine(machine, $event)" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ng-if="!isAuthorized('admin')" translate>{{ 'book_this_machine' }}</a>
|
<a ng-click="reserveMachine(machine, $event)"
|
||||||
|
class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"
|
||||||
|
ng-if="!isAuthorized('admin')"
|
||||||
|
ng-hide="machine.disabled"
|
||||||
|
translate>{{ 'book_this_machine' }}</a>
|
||||||
|
|
||||||
<a ui-sref="app.admin.machines_edit({id: machine.id})" ng-if="isAuthorized('admin')" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"><i class="fa fa-edit"></i> {{ 'edit' | translate }}</a>
|
<a ui-sref="app.admin.machines_edit({id: machine.id})" ng-if="isAuthorized('admin')" class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"><i class="fa fa-edit"></i> {{ 'edit' | translate }}</a>
|
||||||
<a ng-click="delete(machine)" ng-if="isAuthorized('admin')" class="btn btn-lg btn-danger b-2x rounded no-b m-t-xs"><i class="fa fa-trash-o"></i></a>
|
<a ng-click="delete(machine)" ng-if="isAuthorized('admin')" class="btn btn-lg btn-danger b-2x rounded no-b m-t-xs"><i class="fa fa-trash-o"></i></a>
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
<!-- ng-class directive center the last item if the list length is odd -->
|
<!-- ng-class directive center the last item if the list length is odd -->
|
||||||
<div class="pricing-panel col-xs-6 col-md-6 col-lg-6 text-center"
|
<div class="pricing-panel col-xs-6 col-md-6 col-lg-6 text-center"
|
||||||
ng-class="{'col-md-12 col-lg-12':(plansGroup.plans.length % 2 == 1 && key == plansGroup.plans.length-1)}"
|
ng-class="{'col-md-12 col-lg-12':(plansGroup.plans.filter(filterDisabledPlans).length % 2 == 1 && key == plansGroup.plans.filter(filterDisabledPlans).length-1)}"
|
||||||
ng-repeat="(key, plan) in plansGroup.plans | orderBy:'interval'">
|
ng-repeat="(key, plan) in plansGroup.plans.filter(filterDisabledPlans) | orderBy:'interval'">
|
||||||
|
|
||||||
<h3 class="title">{{ plan.base_name }}</h3>
|
<h3 class="title">{{ plan.base_name }}</h3>
|
||||||
|
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
<!-- ng-class directive center the last item if the list length is odd -->
|
<!-- ng-class directive center the last item if the list length is odd -->
|
||||||
<div class="pricing-panel col-xs-12 col-md-6 col-lg-6 text-center"
|
<div class="pricing-panel col-xs-12 col-md-6 col-lg-6 text-center"
|
||||||
ng-class="{'col-md-12 col-lg-12 b-r':(plansGroup.plans.length % 2 == 1 && key == plansGroup.plans.length-1)}"
|
ng-class="{'col-md-12 col-lg-12 b-r':(plansGroup.plans.filter(filterDisabledPlans).length % 2 == 1 && key == plansGroup.plans.filter(filterDisabledPlans).length-1)}"
|
||||||
ng-repeat="(key, plan) in plansGroup.plans | orderBy: '-ui_weight'">
|
ng-repeat="(key, plan) in plansGroup.plans.filter(filterDisabledPlans) | orderBy: '-ui_weight'">
|
||||||
|
|
||||||
<h3 class="title">{{ plan.base_name }}</h3>
|
<h3 class="title">{{ plan.base_name }}</h3>
|
||||||
|
|
||||||
|
@ -107,3 +107,22 @@
|
|||||||
<a class="btn btn-default" ng-click="addFile()" role="button"> {{ 'space.add_an_attachment' | translate }} <i class="fa fa-file-o fa-fw"></i></a>
|
<a class="btn btn-default" ng-click="addFile()" role="button"> {{ 'space.add_an_attachment' | translate }} <i class="fa fa-file-o fa-fw"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="space[disabled]" class="control-label col-sm-2" translate>
|
||||||
|
{{ 'space.disable_space' }}
|
||||||
|
</label>
|
||||||
|
<div class="col-sm-10">
|
||||||
|
<input bs-switch
|
||||||
|
ng-model="space.disabled"
|
||||||
|
name="space[disabled]"
|
||||||
|
id="space[disabled]"
|
||||||
|
type="checkbox"
|
||||||
|
class="form-control"
|
||||||
|
switch-on-text="{{ 'yes' | translate }}"
|
||||||
|
switch-off-text="{{ 'no' | translate }}"
|
||||||
|
switch-animate="true"/>
|
||||||
|
<input type="hidden" name="space[disabled]" value="{{space.disabled}}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@ -7,13 +7,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
<div class="col-xs-10 col-sm-10 col-md-8 b-l b-r-md">
|
||||||
<section class="heading-title">
|
<section class="heading-title">
|
||||||
<h1 translate>{{ 'the_spaces' }}</h1>
|
<h1 translate>{{ 'spaces_list.the_spaces' }}</h1>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
|
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
|
||||||
<section class="heading-actions wrapper">
|
<section class="heading-actions wrapper">
|
||||||
<a class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ui-sref="app.admin.space_new" role="button" translate>{{ 'add_a_space' }}</a>
|
<a class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ui-sref="app.admin.space_new" role="button" translate>{{ 'spaces_list.add_a_space' }}</a>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -22,41 +22,47 @@
|
|||||||
|
|
||||||
<section class="m-lg">
|
<section class="m-lg">
|
||||||
|
|
||||||
<div class="row" ng-repeat="space in (spaces.length/3 | array)">
|
<div class="form-group row">
|
||||||
|
<div class="input-group col-md-3 m-l-lg m-b">
|
||||||
<div class="col-xs-12 col-sm-6 col-md-4" ng-repeat="space in spaces.slice(3*$index, 3*$index + 3)">
|
<span class="input-group-addon"><i class="fa fa-filter"></i></span>
|
||||||
|
<select ng-model="spaceFiltering" class="form-control">
|
||||||
|
<option ng-repeat="status in filterDisabled" value="{{status}}" translate>{{ 'spaces_list.status_'+status }}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="widget panel panel-default">
|
|
||||||
<div class="panel-heading picture" ng-if="!space.space_image" ng-click="showSpace(space)">
|
|
||||||
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder class="img-responsive">
|
|
||||||
</div>
|
|
||||||
<div class="panel-heading picture" style="background-image:url({{space.space_image}})" ng-if="space.space_image" ng-click="showSpace(space)">
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<h1 class="text-center m-b">{{space.name}}</h1>
|
|
||||||
</div>
|
|
||||||
<div class="panel-footer no-padder">
|
|
||||||
|
|
||||||
<div class="text-center clearfix">
|
<div class="col-xs-12 col-sm-6 col-md-4 reservable-card" ng-class="{'disabled-reservable' : space.disabled && spaceFiltering === 'all'}" ng-repeat="space in spaces | filterDisabled:spaceFiltering">
|
||||||
<div class="col-sm-6 b-r no-padder">
|
<div class="widget panel panel-default">
|
||||||
<div class="btn btn-default btn-block no-b padder-v red" ng-click="reserveSpace(space, $event)">
|
<div class="panel-heading picture" ng-if="!space.space_image" ng-click="showSpace(space)">
|
||||||
<i class="fa fa-bookmark"></i> {{ 'book' | translate }}
|
<img src="data:image/png;base64," data-src="holder.js/100%x100%/text:/font:FontAwesome/icon" bs-holder class="img-responsive">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="panel-heading picture" style="background-image:url({{space.space_image}})" ng-if="space.space_image" ng-click="showSpace(space)">
|
||||||
<div class="col-sm-6 no-padder">
|
</div>
|
||||||
<div class="btn btn-default btn-block padder-v no-b red" ng-click="showSpace(space)">
|
<div class="panel-body">
|
||||||
<i class="fa fa-eye"></i> {{ 'consult' | translate }}
|
<h1 class="text-center m-b">{{space.name}}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="panel-footer no-padder">
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div class="text-center clearfix">
|
||||||
|
<div class="col-sm-6 b-r no-padder">
|
||||||
|
<div class="btn btn-default btn-block no-b padder-v red" ng-click="reserveSpace(space, $event)" ng-hide="space.disabled">
|
||||||
|
<i class="fa fa-bookmark m-r-xs"></i>
|
||||||
|
<span class="hidden-sm" translate>{{ 'spaces_list.book' }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="no-padder" ng-class="{'col-sm-6': !space.disabled}">
|
||||||
|
<div class="btn btn-default btn-block padder-v no-b red" ng-click="showSpace(space)">
|
||||||
|
<i class="fa fa-eye m-r-xs"></i>
|
||||||
|
<span class="hidden-sm" translate>{{ 'consult' }}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,12 +4,26 @@ class API::EventsController < API::ApiController
|
|||||||
def index
|
def index
|
||||||
@events = policy_scope(Event)
|
@events = policy_scope(Event)
|
||||||
@page = params[:page]
|
@page = params[:page]
|
||||||
|
@scope = params[:scope]
|
||||||
|
|
||||||
# filters
|
# filters
|
||||||
@events = @events.joins(:category).where('categories.id = :category', category: params[:category_id]) if params[:category_id]
|
@events = @events.joins(:category).where('categories.id = :category', category: params[:category_id]) if params[:category_id]
|
||||||
@events = @events.joins(:event_themes).where('event_themes.id = :theme', theme: params[:theme_id]) if params[:theme_id]
|
@events = @events.joins(:event_themes).where('event_themes.id = :theme', theme: params[:theme_id]) if params[:theme_id]
|
||||||
@events = @events.where('age_range_id = :age_range', age_range: params[:age_range_id]) if params[:age_range_id]
|
@events = @events.where('age_range_id = :age_range', age_range: params[:age_range_id]) if params[:age_range_id]
|
||||||
|
|
||||||
|
if current_user and current_user.is_admin?
|
||||||
|
case params[:scope]
|
||||||
|
when 'future'
|
||||||
|
@events = @events.where('availabilities.start_at >= ?', Time.now).order('availabilities.start_at DESC')
|
||||||
|
when 'future_asc'
|
||||||
|
@events = @events.where('availabilities.start_at >= ?', Time.now).order('availabilities.start_at ASC')
|
||||||
|
when 'passed'
|
||||||
|
@events = @events.where('availabilities.start_at < ?', Time.now).order('availabilities.start_at DESC')
|
||||||
|
else
|
||||||
|
@events = @events.order('availabilities.start_at DESC')
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# paginate
|
# paginate
|
||||||
@events = @events.page(@page).per(12)
|
@events = @events.page(@page).per(12)
|
||||||
end
|
end
|
||||||
|
@ -40,6 +40,6 @@ class API::GroupsController < API::ApiController
|
|||||||
private
|
private
|
||||||
|
|
||||||
def group_params
|
def group_params
|
||||||
params.require(:group).permit(:name)
|
params.require(:group).permit(:name, :disabled)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -42,7 +42,7 @@ class API::MachinesController < API::ApiController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def machine_params
|
def machine_params
|
||||||
params.require(:machine).permit(:name, :description, :spec, :plan_ids, plan_ids: [], machine_image_attributes: [:attachment],
|
params.require(:machine).permit(:name, :description, :spec, :disabled, :plan_ids, plan_ids: [], machine_image_attributes: [:attachment],
|
||||||
machine_files_attributes: [:id, :attachment, :_destroy])
|
machine_files_attributes: [:id, :attachment, :_destroy])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -87,8 +87,7 @@
|
|||||||
end if @parameters[:plan][:prices_attributes]
|
end if @parameters[:plan][:prices_attributes]
|
||||||
|
|
||||||
@parameters = @parameters.require(:plan).permit(:base_name, :type, :group_id, :amount, :interval, :interval_count, :is_rolling,
|
@parameters = @parameters.require(:plan).permit(:base_name, :type, :group_id, :amount, :interval, :interval_count, :is_rolling,
|
||||||
:training_credit_nb,
|
:training_credit_nb, :ui_weight, :disabled,
|
||||||
:ui_weight,
|
|
||||||
plan_file_attributes: [:id, :attachment, :_destroy],
|
plan_file_attributes: [:id, :attachment, :_destroy],
|
||||||
prices_attributes: [:id, :amount]
|
prices_attributes: [:id, :amount]
|
||||||
)
|
)
|
||||||
|
@ -43,7 +43,7 @@ class API::SpacesController < API::ApiController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def space_params
|
def space_params
|
||||||
params.require(:space).permit(:name, :description, :characteristics, :default_places, space_image_attributes: [:attachment],
|
params.require(:space).permit(:name, :description, :characteristics, :default_places, :disabled, space_image_attributes: [:attachment],
|
||||||
space_files_attributes: [:id, :attachment, :_destroy])
|
space_files_attributes: [:id, :attachment, :_destroy])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -70,6 +70,6 @@ class API::TrainingsController < API::ApiController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def training_params
|
def training_params
|
||||||
params.require(:training).permit(:id, :name, :description, :machine_ids, :plan_ids, :nb_total_places, :public_page, training_image_attributes: [:attachment], machine_ids: [], plan_ids: [])
|
params.require(:training).permit(:id, :name, :description, :machine_ids, :plan_ids, :nb_total_places, :public_page, :disabled, training_image_attributes: [:attachment], machine_ids: [], plan_ids: [])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
class SocialBotController < ActionController::Base
|
class SocialBotController < ActionController::Base
|
||||||
def share
|
def share
|
||||||
case request.original_fullpath
|
case request.original_fullpath
|
||||||
when /(=%2F|\/)projects(%2F|\/)([\-0-9a-z]+)/
|
when /(=%2F|\/)projects(%2F|\/)([\-0-9a-z_]+)/
|
||||||
@project = Project.friendly.find("#{$3}")
|
@project = Project.friendly.find("#{$3}")
|
||||||
render :project, status: :ok
|
render :project, status: :ok
|
||||||
when /(=%2F|\/)events(%2F|\/)([0-9]+)/
|
when /(=%2F|\/)events(%2F|\/)([0-9]+)/
|
||||||
|
@ -17,6 +17,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 1,
|
"id": 1,
|
||||||
"name": "Epilog EXT36 Laser",
|
"name": "Epilog EXT36 Laser",
|
||||||
"slug": "decoupeuse-laser",
|
"slug": "decoupeuse-laser",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2015-02-17T11:06:00.495+01:00",
|
"updated_at": "2015-02-17T11:06:00.495+01:00",
|
||||||
"created_at": "2014-06-30T03:32:31.972+02:00",
|
"created_at": "2014-06-30T03:32:31.972+02:00",
|
||||||
"description": "La découpeuse Laser, EPILOG Legend 36EXT\r\n\r\nInformations générales :\r\nLa découpeuse laser vous permet de découper ou graver des matériaux. \r\n\r\nPour la découpe, il suffit d'apporter votre fichier vectorisé type illustrator, svg ou dxf avec des \"lignes de coupe\" d'une épaisseur inférieure à 0,01 mm et la machine s'occupera du reste!\r\n\r\nLa gravure est basée sur le spectre noir et blanc. Les nuances sont obtenues par différentes profondeurs de gravure correspondant aux niveaux de gris de votre image. Il suffit pour cela d'apporter une image scannée ou un fichier photo en noir et blanc pour pouvoir reproduire celle-ci sur votre support.\r\n\r\nTypes de matériaux gravables/découpeables ?\r\nDu bois au tissu, du plexiglass au cuir, cette machine permet de découper et graver la plupart des matériaux sauf les métaux. La gravure est néanmoins possible sur les métaux recouverts d'une couche de peinture ou les aluminiums anodisés. \r\nConcernant l'épaisseur des matériaux découpés, il est préférable de ne pas dépasser 5 mm pour le bois et 6 mm pour le plexiglass.\r\n",
|
"description": "La découpeuse Laser, EPILOG Legend 36EXT\r\n\r\nInformations générales :\r\nLa découpeuse laser vous permet de découper ou graver des matériaux. \r\n\r\nPour la découpe, il suffit d'apporter votre fichier vectorisé type illustrator, svg ou dxf avec des \"lignes de coupe\" d'une épaisseur inférieure à 0,01 mm et la machine s'occupera du reste!\r\n\r\nLa gravure est basée sur le spectre noir et blanc. Les nuances sont obtenues par différentes profondeurs de gravure correspondant aux niveaux de gris de votre image. Il suffit pour cela d'apporter une image scannée ou un fichier photo en noir et blanc pour pouvoir reproduire celle-ci sur votre support.\r\n\r\nTypes de matériaux gravables/découpeables ?\r\nDu bois au tissu, du plexiglass au cuir, cette machine permet de découper et graver la plupart des matériaux sauf les métaux. La gravure est néanmoins possible sur les métaux recouverts d'une couche de peinture ou les aluminiums anodisés. \r\nConcernant l'épaisseur des matériaux découpés, il est préférable de ne pas dépasser 5 mm pour le bois et 6 mm pour le plexiglass.\r\n",
|
||||||
@ -26,6 +27,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 2,
|
"id": 2,
|
||||||
"name": "Découpeuse vinyle",
|
"name": "Découpeuse vinyle",
|
||||||
"slug": "decoupeuse-vinyle",
|
"slug": "decoupeuse-vinyle",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2014-06-30T15:10:14.272+02:00",
|
"updated_at": "2014-06-30T15:10:14.272+02:00",
|
||||||
"created_at": "2014-06-30T03:32:31.977+02:00",
|
"created_at": "2014-06-30T03:32:31.977+02:00",
|
||||||
"description": "La découpeuse Vinyle, Roland CAMM-1 GX24\r\n\r\nInformations générales :\r\nEnvie de réaliser un tee shirt personnalisé ? Un sticker à l'effigie votre groupe préféré? Un masque pour la réalisation d'un circuit imprimé? Pour cela, il suffit simplement de venir avec votre fichier vectorisé (ne pas oublier de vectoriser les textes) type illustrator svg ou dxf.\r\n \r\nMatériaux utilisés :\r\nCette machine permet de découper principalement : vinyle, vinyle réfléchissant et flex.\r\n",
|
"description": "La découpeuse Vinyle, Roland CAMM-1 GX24\r\n\r\nInformations générales :\r\nEnvie de réaliser un tee shirt personnalisé ? Un sticker à l'effigie votre groupe préféré? Un masque pour la réalisation d'un circuit imprimé? Pour cela, il suffit simplement de venir avec votre fichier vectorisé (ne pas oublier de vectoriser les textes) type illustrator svg ou dxf.\r\n \r\nMatériaux utilisés :\r\nCette machine permet de découper principalement : vinyle, vinyle réfléchissant et flex.\r\n",
|
||||||
@ -35,6 +37,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 3,
|
"id": 3,
|
||||||
"name": "Shopbot / Grande fraiseuse",
|
"name": "Shopbot / Grande fraiseuse",
|
||||||
"slug": "shopbot-grande-fraiseuse",
|
"slug": "shopbot-grande-fraiseuse",
|
||||||
|
"disabled": false,
|
||||||
"updated_at": "2014-08-19T11:01:12.919+02:00",
|
"updated_at": "2014-08-19T11:01:12.919+02:00",
|
||||||
"created_at": "2014-06-30T03:32:31.982+02:00",
|
"created_at": "2014-06-30T03:32:31.982+02:00",
|
||||||
"description": "La fraiseuse numérique ShopBot PRS standard\r\n\r\nInformations générales :\r\nCette machine est une fraiseuse 3 axes, idéale pour l'usinage de pièces de grandes dimensions. De la réalisation d'une chaise ou d'un meuble à la construction d'une maison ou d'un assemblage immense, le ShopBot ouvre de nombreuses portes à votre imagination ! \r\n\r\nMatériaux usinables :\r\nLes principaux matériaux usinables sont le bois, le plastique, le laiton et bien d'autres.\r\nCette machine n'usine pas les métaux.\r\n<object width=\"560\" height=\"315\"><param name=\"movie\" value=\"//www.youtube.com/v/3h8VPLNapag?hl=fr_FR&version=3\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"//www.youtube.com/v/3h8VPLNapag?hl=fr_FR&version=3\" type=\"application/x-shockwave-flash\" width=\"560\" height=\"315\" allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed></object>",
|
"description": "La fraiseuse numérique ShopBot PRS standard\r\n\r\nInformations générales :\r\nCette machine est une fraiseuse 3 axes, idéale pour l'usinage de pièces de grandes dimensions. De la réalisation d'une chaise ou d'un meuble à la construction d'une maison ou d'un assemblage immense, le ShopBot ouvre de nombreuses portes à votre imagination ! \r\n\r\nMatériaux usinables :\r\nLes principaux matériaux usinables sont le bois, le plastique, le laiton et bien d'autres.\r\nCette machine n'usine pas les métaux.\r\n<object width=\"560\" height=\"315\"><param name=\"movie\" value=\"//www.youtube.com/v/3h8VPLNapag?hl=fr_FR&version=3\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"//www.youtube.com/v/3h8VPLNapag?hl=fr_FR&version=3\" type=\"application/x-shockwave-flash\" width=\"560\" height=\"315\" allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed></object>",
|
||||||
@ -44,6 +47,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 4,
|
"id": 4,
|
||||||
"name": "Imprimante 3D - Ultimaker",
|
"name": "Imprimante 3D - Ultimaker",
|
||||||
"slug": "imprimante-3d",
|
"slug": "imprimante-3d",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2014-12-11T15:47:02.215+01:00",
|
"updated_at": "2014-12-11T15:47:02.215+01:00",
|
||||||
"created_at": "2014-06-30T03:32:31.986+02:00",
|
"created_at": "2014-06-30T03:32:31.986+02:00",
|
||||||
"description": "L'imprimante 3D ULTIMAKER\r\n\r\nInformations générales :\r\nL'utimaker est une imprimante 3D peu chère utilisant une technologie FFF (Fused Filament Fabrication) avec extrusion thermoplastique.\r\nC'est une machine idéale pour réaliser rapidement des prototypes 3D dans des couleurs différentes.\r\n",
|
"description": "L'imprimante 3D ULTIMAKER\r\n\r\nInformations générales :\r\nL'utimaker est une imprimante 3D peu chère utilisant une technologie FFF (Fused Filament Fabrication) avec extrusion thermoplastique.\r\nC'est une machine idéale pour réaliser rapidement des prototypes 3D dans des couleurs différentes.\r\n",
|
||||||
@ -53,6 +57,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 5,
|
"id": 5,
|
||||||
"name": "Petite Fraiseuse",
|
"name": "Petite Fraiseuse",
|
||||||
"slug": "petite-fraiseuse",
|
"slug": "petite-fraiseuse",
|
||||||
|
"disabled": true,
|
||||||
"updated_at": "2014-06-30T14:33:37.638+02:00",
|
"updated_at": "2014-06-30T14:33:37.638+02:00",
|
||||||
"created_at": "2014-06-30T03:32:31.989+02:00",
|
"created_at": "2014-06-30T03:32:31.989+02:00",
|
||||||
"description": "La fraiseuse numérique Roland Modela MDX-20\r\n\r\nInformations générales :\r\nCette machine est utilisée pour l'usinage et le scannage 3D de précision. Elle permet principalement d'usiner des circuits imprimés et des moules de petite taille. Le faible diamètre des fraises utilisées (Ø 0,3 mm à Ø 6mm) implique que certains temps d'usinages peuvent êtres long (> 12h), c'est pourquoi cette fraiseuse peut être laissée en autonomie toute une nuit afin d'obtenir le plus précis des usinages au FabLab.\r\n\r\nMatériaux usinables :\r\nLes principaux matériaux usinables sont : bois, plâtre, résine, cire usinable, cuivre.\r\n",
|
"description": "La fraiseuse numérique Roland Modela MDX-20\r\n\r\nInformations générales :\r\nCette machine est utilisée pour l'usinage et le scannage 3D de précision. Elle permet principalement d'usiner des circuits imprimés et des moules de petite taille. Le faible diamètre des fraises utilisées (Ø 0,3 mm à Ø 6mm) implique que certains temps d'usinages peuvent êtres long (> 12h), c'est pourquoi cette fraiseuse peut être laissée en autonomie toute une nuit afin d'obtenir le plus précis des usinages au FabLab.\r\n\r\nMatériaux usinables :\r\nLes principaux matériaux usinables sont : bois, plâtre, résine, cire usinable, cuivre.\r\n",
|
||||||
@ -65,6 +70,7 @@ class OpenAPI::V1::MachinesDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 18,
|
"id": 18,
|
||||||
"name": "Canon IPF 750",
|
"name": "Canon IPF 750",
|
||||||
"slug": "canon-ipf-750",
|
"slug": "canon-ipf-750",
|
||||||
|
"disabled": true,
|
||||||
"updated_at": "2015-10-12T18:00:24.254+02:00",
|
"updated_at": "2015-10-12T18:00:24.254+02:00",
|
||||||
"created_at": "2015-10-12T18:00:24.254+02:00",
|
"created_at": "2015-10-12T18:00:24.254+02:00",
|
||||||
"description": "PROCHAINEMENT",
|
"description": "PROCHAINEMENT",
|
||||||
|
@ -17,6 +17,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 1,
|
"id": 1,
|
||||||
"name": "Formation Imprimante 3D",
|
"name": "Formation Imprimante 3D",
|
||||||
"slug": "formation-imprimante-3d",
|
"slug": "formation-imprimante-3d",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2015-02-05T13:49:15.025+01:00",
|
"updated_at": "2015-02-05T13:49:15.025+01:00",
|
||||||
"created_at": "2014-06-30T03:32:32.126+02:00",
|
"created_at": "2014-06-30T03:32:32.126+02:00",
|
||||||
"nb_total_places": 8,
|
"nb_total_places": 8,
|
||||||
@ -26,6 +27,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 2,
|
"id": 2,
|
||||||
"name": "Formation Laser / Vinyle",
|
"name": "Formation Laser / Vinyle",
|
||||||
"slug": "formation-laser-vinyle",
|
"slug": "formation-laser-vinyle",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2015-02-05T13:49:19.046+01:00",
|
"updated_at": "2015-02-05T13:49:19.046+01:00",
|
||||||
"created_at": "2014-06-30T03:32:32.138+02:00",
|
"created_at": "2014-06-30T03:32:32.138+02:00",
|
||||||
"nb_total_places": 8,
|
"nb_total_places": 8,
|
||||||
@ -35,6 +37,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 3,
|
"id": 3,
|
||||||
"name": "Formation Petite fraiseuse numerique",
|
"name": "Formation Petite fraiseuse numerique",
|
||||||
"slug": "formation-petite-fraiseuse-numerique",
|
"slug": "formation-petite-fraiseuse-numerique",
|
||||||
|
"disabled": true,
|
||||||
"updated_at": "2015-02-05T13:49:23.040+01:00",
|
"updated_at": "2015-02-05T13:49:23.040+01:00",
|
||||||
"created_at": "2014-06-30T03:32:32.164+02:00",
|
"created_at": "2014-06-30T03:32:32.164+02:00",
|
||||||
"nb_total_places": 8,
|
"nb_total_places": 8,
|
||||||
@ -44,6 +47,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 4,
|
"id": 4,
|
||||||
"name": "Formation Shopbot Grande Fraiseuse",
|
"name": "Formation Shopbot Grande Fraiseuse",
|
||||||
"slug": "formation-shopbot-grande-fraiseuse",
|
"slug": "formation-shopbot-grande-fraiseuse",
|
||||||
|
"disabled": false,
|
||||||
"updated_at": "2015-02-03T10:22:21.908+01:00",
|
"updated_at": "2015-02-03T10:22:21.908+01:00",
|
||||||
"created_at": "2014-06-30T03:32:32.168+02:00",
|
"created_at": "2014-06-30T03:32:32.168+02:00",
|
||||||
"nb_total_places": 6,
|
"nb_total_places": 6,
|
||||||
@ -53,6 +57,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 5,
|
"id": 5,
|
||||||
"name": "Formation logiciel 2D",
|
"name": "Formation logiciel 2D",
|
||||||
"slug": "formation-logiciel-2d",
|
"slug": "formation-logiciel-2d",
|
||||||
|
"disabled": false,
|
||||||
"updated_at": "2015-02-05T13:49:27.460+01:00",
|
"updated_at": "2015-02-05T13:49:27.460+01:00",
|
||||||
"created_at": "2014-06-30T09:37:42.778+02:00",
|
"created_at": "2014-06-30T09:37:42.778+02:00",
|
||||||
"nb_total_places": 8,
|
"nb_total_places": 8,
|
||||||
@ -62,6 +67,7 @@ class OpenAPI::V1::TrainingsDoc < OpenAPI::V1::BaseDoc
|
|||||||
"id": 6,
|
"id": 6,
|
||||||
"name": "Pas de Reservation",
|
"name": "Pas de Reservation",
|
||||||
"slug": "pas-de-reservation",
|
"slug": "pas-de-reservation",
|
||||||
|
"disabled": null,
|
||||||
"updated_at": "2014-07-22T14:18:11.784+02:00",
|
"updated_at": "2014-07-22T14:18:11.784+02:00",
|
||||||
"created_at": "2014-07-22T14:18:11.784+02:00",
|
"created_at": "2014-07-22T14:18:11.784+02:00",
|
||||||
"nb_total_places": null,
|
"nb_total_places": null,
|
||||||
|
@ -4,4 +4,5 @@ class Credit < ActiveRecord::Base
|
|||||||
has_many :users_credits, dependent: :destroy
|
has_many :users_credits, dependent: :destroy
|
||||||
|
|
||||||
validates :creditable_id, uniqueness: { scope: [:creditable_type, :plan_id] }
|
validates :creditable_id, uniqueness: { scope: [:creditable_type, :plan_id] }
|
||||||
|
validates :hours, numericality: { greater_than_or_equal_to: 0 }
|
||||||
end
|
end
|
||||||
|
@ -8,7 +8,6 @@ class EventPolicy < ApplicationPolicy
|
|||||||
.references(:availabilities)
|
.references(:availabilities)
|
||||||
else
|
else
|
||||||
scope.includes(:event_image, :event_files, :availability, :category)
|
scope.includes(:event_image, :event_files, :availability, :category)
|
||||||
.order('availabilities.start_at DESC')
|
|
||||||
.references(:availabilities)
|
.references(:availabilities)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1 +1,2 @@
|
|||||||
json.extract! group, :id, :slug, :name
|
json.extract! group, :id, :slug, :name, :disabled
|
||||||
|
json.users group.users.count
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
json.array!(@machines) do |machine|
|
json.array!(@machines) do |machine|
|
||||||
json.extract! machine, :id, :name, :description, :spec, :slug
|
json.extract! machine, :id, :name, :description, :spec, :slug, :disabled
|
||||||
json.url machine_url(machine, format: :json)
|
json.url machine_url(machine, format: :json)
|
||||||
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
|
||||||
end
|
end
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
json.extract! @machine, :id, :name, :description, :spec, :created_at, :updated_at, :slug
|
json.extract! @machine, :id, :name, :description, :spec, :disabled, :created_at, :updated_at, :slug
|
||||||
json.machine_image @machine.machine_image.attachment.large.url if @machine.machine_image
|
json.machine_image @machine.machine_image.attachment.large.url if @machine.machine_image
|
||||||
json.machine_files_attributes @machine.machine_files do |f|
|
json.machine_files_attributes @machine.machine_files do |f|
|
||||||
json.id f.id
|
json.id f.id
|
||||||
json.attachment f.attachment_identifier
|
json.attachment f.attachment_identifier
|
||||||
json.attachment_url f.attachment_url
|
json.attachment_url f.attachment_url
|
||||||
end
|
end
|
||||||
json.trainings @machine.trainings.each, :id, :name
|
json.trainings @machine.trainings.each, :id, :name, :disabled
|
||||||
json.current_user_is_training current_user.is_training_machine?(@machine) if current_user
|
json.current_user_is_training current_user.is_training_machine?(@machine) if current_user
|
||||||
json.current_user_training_reservation do
|
json.current_user_training_reservation do
|
||||||
json.partial! 'api/reservations/reservation', reservation: current_user.training_reservation_by_machine(@machine)
|
json.partial! 'api/reservations/reservation', reservation: current_user.training_reservation_by_machine(@machine)
|
||||||
|
@ -61,7 +61,7 @@ json.training_reservations @member.reservations.where(reservable_type: 'Training
|
|||||||
json.start_at r.slots.first.start_at
|
json.start_at r.slots.first.start_at
|
||||||
json.end_at r.slots.first.end_at
|
json.end_at r.slots.first.end_at
|
||||||
json.reservable r.reservable
|
json.reservable r.reservable
|
||||||
json.is_valid @member.training_ids.include?(r.reservable.id)
|
json.is_valid @member.training_ids.include?(r.reservable_id)
|
||||||
json.canceled_at r.slots.first.canceled_at
|
json.canceled_at r.slots.first.canceled_at
|
||||||
end
|
end
|
||||||
json.training_credits @member.training_credits do |tc|
|
json.training_credits @member.training_credits do |tc|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
json.extract! plan, :id, :base_name, :name, :interval, :interval_count, :group_id, :training_credit_nb, :is_rolling, :description, :type, :ui_weight
|
json.extract! plan, :id, :base_name, :name, :interval, :interval_count, :group_id, :training_credit_nb, :is_rolling, :description, :type, :ui_weight, :disabled
|
||||||
json.amount (plan.amount / 100.00)
|
json.amount (plan.amount / 100.00)
|
||||||
json.prices plan.prices, partial: 'api/prices/price', as: :price
|
json.prices plan.prices, partial: 'api/prices/price', as: :price
|
||||||
json.plan_file_attributes do
|
json.plan_file_attributes do
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
json.array!(@plans) do |plan|
|
json.array!(@plans) do |plan|
|
||||||
json.extract! plan, :id, :base_name, :name, :interval, :interval_count, :group_id, :training_credit_nb, :description, :type, :ui_weight
|
json.extract! plan, :id, :base_name, :name, :interval, :interval_count, :group_id, :training_credit_nb, :description, :type, :ui_weight, :disabled
|
||||||
json.amount (plan.amount / 100.00)
|
json.amount (plan.amount / 100.00)
|
||||||
json.plan_file_url plan.plan_file.attachment_url if plan.plan_file
|
json.plan_file_url plan.plan_file.attachment_url if plan.plan_file
|
||||||
end
|
end
|
||||||
|
@ -7,5 +7,6 @@ json.array!(@plans) do |plan|
|
|||||||
json.interval plan.interval
|
json.interval plan.interval
|
||||||
json.interval_count plan.interval_count
|
json.interval_count plan.interval_count
|
||||||
json.type plan.type
|
json.type plan.type
|
||||||
|
json.disabled plan.disabled
|
||||||
json.plan_file_url plan.plan_file.attachment_url if plan.plan_file
|
json.plan_file_url plan.plan_file.attachment_url if plan.plan_file
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
json.array!(@spaces) do |space|
|
json.array!(@spaces) do |space|
|
||||||
json.extract! space, :id, :name, :description, :slug, :default_places
|
json.extract! space, :id, :name, :description, :slug, :default_places, :disabled
|
||||||
json.space_image space.space_image.attachment.medium.url if space.space_image
|
json.space_image space.space_image.attachment.medium.url if space.space_image
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
json.extract! @space, :id, :name, :description, :characteristics, :created_at, :updated_at, :slug, :default_places
|
json.extract! @space, :id, :name, :description, :characteristics, :created_at, :updated_at, :slug, :default_places, :disabled
|
||||||
json.space_image @space.space_image.attachment.large.url if @space.space_image
|
json.space_image @space.space_image.attachment.large.url if @space.space_image
|
||||||
json.space_files_attributes @space.space_files do |f|
|
json.space_files_attributes @space.space_files do |f|
|
||||||
json.id f.id
|
json.id f.id
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
role = (current_user and current_user.is_admin?) ? 'admin' : 'user'
|
role = (current_user and current_user.is_admin?) ? 'admin' : 'user'
|
||||||
|
|
||||||
json.array!(@trainings) do |training|
|
json.array!(@trainings) do |training|
|
||||||
json.extract! training, :id, :name, :description, :machine_ids, :nb_total_places, :slug
|
json.extract! training, :id, :name, :description, :machine_ids, :nb_total_places, :slug, :disabled
|
||||||
json.training_image training.training_image.attachment.large.url if training.training_image
|
json.training_image training.training_image.attachment.large.url if training.training_image
|
||||||
json.plan_ids training.plan_ids if role === 'admin'
|
json.plan_ids training.plan_ids if role === 'admin'
|
||||||
end
|
end
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
json.extract! @training, :id, :name, :description, :machine_ids, :nb_total_places, :public_page
|
json.extract! @training, :id, :name, :description, :machine_ids, :nb_total_places, :public_page, :disabled
|
||||||
json.training_image @training.training_image.attachment.large.url if @training.training_image
|
json.training_image @training.training_image.attachment.large.url if @training.training_image
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
<% provider = AuthProvider.from_strategy_name(@attached_object.provider) %>
|
<% provider = AuthProvider.from_strategy_name(@attached_object.provider) %>
|
||||||
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
|
||||||
|
|
||||||
<p><%= t('.body.account_completed', PROVIDER: provider.name) %>
|
<% if provider.name == AuthProvider::SimpleAuthProvider.new.name %>
|
||||||
|
<p><%= t('.body.account_completed') %>
|
||||||
<%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.</p>
|
<%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.</p>
|
||||||
|
<% else %>
|
||||||
|
<p><%= t('.body.imported_account_completed', PROVIDER: provider.name) %>
|
||||||
|
<%= "#{@attached_object.profile.full_name}" %> <<%= @attached_object.email%>>.</p>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<p><%= t('.body.provider_id', UID: @attached_object.uid) %></p>
|
<% if @attached_object.uid %>
|
||||||
|
<p><%= t('.body.provider_id', UID: @attached_object.uid) %></p>
|
||||||
|
<% end %>
|
@ -1 +1 @@
|
|||||||
json.extract! machine, :id, :name, :slug, :updated_at, :created_at
|
json.extract! machine, :id, :name, :slug, :disabled, :updated_at, :created_at
|
||||||
|
@ -1 +1 @@
|
|||||||
json.extract! training, :id, :name, :slug, :updated_at, :created_at
|
json.extract! training, :id, :name, :slug, :disabled, :updated_at, :created_at
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:site" content="<%= ENV['TWITTER_NAME'] %>">
|
<meta name="twitter:site" content="<%= ENV['TWITTER_NAME'] %>">
|
||||||
<meta name="twitter:title" content="<%= @event.title %>">
|
<meta name="twitter:title" content="<%= @event.title %>">
|
||||||
<meta name="twitter:description" content="<%= @event.description %>">
|
<meta name="twitter:description" content="<%= strip_tags(@event.description) %>">
|
||||||
<% if @event.event_image %>
|
<% if @event.event_image %>
|
||||||
<meta name="twitter:image" content="<%= root_url+image.url %>">
|
<meta name="twitter:image" content="<%= root_url+image.url %>">
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -11,9 +11,14 @@ Apipie.configure do |config|
|
|||||||
Pagination is done using headers. Following RFC-5988 standard for web linking.
|
Pagination is done using headers. Following RFC-5988 standard for web linking.
|
||||||
It uses headers *Link*, *Total* and *Per-Page*.
|
It uses headers *Link*, *Total* and *Per-Page*.
|
||||||
|
|
||||||
= Authentification
|
= Authentication
|
||||||
---
|
---
|
||||||
Authentification is done using *Authorization* header.
|
Authentication is done using *Authorization* header.
|
||||||
You just have to set header *Authorization* to <tt>Token token=YOUR_TOKEN</tt> for every request.
|
You just have to set header *Authorization* to <tt>Token token=YOUR_TOKEN</tt> for every request.
|
||||||
|
|
||||||
|
= Json
|
||||||
|
---
|
||||||
|
Depending on your client, you may have to set header <tt>Accept: application/json</tt> for every request,
|
||||||
|
otherwise some clients may request *html* by default which will result in error.
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
@ -59,6 +59,8 @@ en:
|
|||||||
unlocking_failed: "An error occurred. Slot unlocking has failed"
|
unlocking_failed: "An error occurred. Slot unlocking has failed"
|
||||||
reservations_locked: "Booking is blocked"
|
reservations_locked: "Booking is blocked"
|
||||||
unlockable_because_reservations: "Unable to block booking on this slot because some uncancelled reservations exist on it."
|
unlockable_because_reservations: "Unable to block booking on this slot because some uncancelled reservations exist on it."
|
||||||
|
delete_slot: "Delete this slot"
|
||||||
|
do_you_really_want_to_delete_this_slot: "Do you really want to delete this slot?"
|
||||||
|
|
||||||
project_elements:
|
project_elements:
|
||||||
# management of the projects' components
|
# management of the projects' components
|
||||||
@ -71,6 +73,9 @@ en:
|
|||||||
trainings:
|
trainings:
|
||||||
# track and monitor the trainings
|
# track and monitor the trainings
|
||||||
training: "Training"
|
training: "Training"
|
||||||
|
add_a_new_training: "Add a new training"
|
||||||
|
associated_machines: "Associated machines"
|
||||||
|
number_of_tickets: "Number of tickets"
|
||||||
year_NUMBER: "Year {{NUMBER}}" # angular interpolation
|
year_NUMBER: "Year {{NUMBER}}" # angular interpolation
|
||||||
month_of_NAME: "Month of {{NAME}}" # angular interpolation
|
month_of_NAME: "Month of {{NAME}}" # angular interpolation
|
||||||
NUMBER_reservation: "{NUMBER} {NUMBER, plural, one{reservation} other{reservations}}" # messageFormat interpolation
|
NUMBER_reservation: "{NUMBER} {NUMBER, plural, one{reservation} other{reservations}}" # messageFormat interpolation
|
||||||
@ -87,11 +92,16 @@ en:
|
|||||||
training_successfully_deleted: "Training successfully deleted."
|
training_successfully_deleted: "Training successfully deleted."
|
||||||
unable_to_delete_the_training_because_some_users_alredy_booked_it: "Unable to delete the training because some users already booked it."
|
unable_to_delete_the_training_because_some_users_alredy_booked_it: "Unable to delete the training because some users already booked it."
|
||||||
do_you_really_want_to_delete_this_training: "Do you really want to delete this training?"
|
do_you_really_want_to_delete_this_training: "Do you really want to delete this training?"
|
||||||
|
status_enabled: "Enabled"
|
||||||
|
status_disabled: "Disabled"
|
||||||
|
status_all: "All"
|
||||||
|
|
||||||
trainings_new:
|
trainings_new:
|
||||||
# create a new training
|
# create a new training
|
||||||
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Beware, when creating a training, its reservation prices are initialized at zero."
|
trainings_new:
|
||||||
dont_forget_to_change_them_before_creating_slots_for_this_training: "Don't forget to change them before creating slots for this training."
|
add_a_new_training: "Add a new training"
|
||||||
|
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Beware, when creating a training, its reservation prices are initialized at zero."
|
||||||
|
dont_forget_to_change_them_before_creating_slots_for_this_training: "Don't forget to change them before creating slots for this training."
|
||||||
|
|
||||||
events:
|
events:
|
||||||
# events tracking and management
|
# events tracking and management
|
||||||
@ -194,6 +204,7 @@ en:
|
|||||||
error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Error : a credit linking this machine with that subscription already exists."
|
error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Error : a credit linking this machine with that subscription already exists."
|
||||||
changes_have_been_successfully_saved: "Changes have been successfully saved."
|
changes_have_been_successfully_saved: "Changes have been successfully saved."
|
||||||
credit_was_successfully_saved: "Credit was successfully saved."
|
credit_was_successfully_saved: "Credit was successfully saved."
|
||||||
|
error_creating_credit: "Unable to create credit, an error occurred"
|
||||||
do_you_really_want_to_delete_this_subscription_plan: "Do you really want to delete this subscription plan?"
|
do_you_really_want_to_delete_this_subscription_plan: "Do you really want to delete this subscription plan?"
|
||||||
subscription_plan_was_successfully_deleted: "Subscription plan was successfully deleted."
|
subscription_plan_was_successfully_deleted: "Subscription plan was successfully deleted."
|
||||||
unable_to_delete_the_specified_subscription_an_error_occurred: "Unable to delete the specified subscription, an error occurred."
|
unable_to_delete_the_specified_subscription_an_error_occurred: "Unable to delete the specified subscription, an error occurred."
|
||||||
@ -228,6 +239,9 @@ en:
|
|||||||
add_a_space_credit: "Add a Space credit"
|
add_a_space_credit: "Add a Space credit"
|
||||||
space: "Espace"
|
space: "Espace"
|
||||||
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Error : a credit linking this space with that subscription already exists."
|
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Error : a credit linking this space with that subscription already exists."
|
||||||
|
status_enabled: "Enabled"
|
||||||
|
status_disabled: "Disabled"
|
||||||
|
status_all: "All"
|
||||||
|
|
||||||
coupons_new:
|
coupons_new:
|
||||||
# ajouter un code promotionnel
|
# ajouter un code promotionnel
|
||||||
@ -391,14 +405,8 @@ en:
|
|||||||
this_may_take_a_while_please_wait: "Warning: this may take a while, please be patient."
|
this_may_take_a_while_please_wait: "Warning: this may take a while, please be patient."
|
||||||
administrator_successfully_deleted: "Administrator successfully deleted."
|
administrator_successfully_deleted: "Administrator successfully deleted."
|
||||||
unable_to_delete_the_administrator: "Unable to delete the administrator."
|
unable_to_delete_the_administrator: "Unable to delete the administrator."
|
||||||
add_a_group: "Add a group"
|
|
||||||
group_name: "Group name"
|
|
||||||
changes_successfully_saved: "Changes successfully saved."
|
changes_successfully_saved: "Changes successfully saved."
|
||||||
an_error_occurred_while_saving_changes: "An error occurred when saving changes."
|
an_error_occurred_while_saving_changes: "An error occurred when saving changes."
|
||||||
new_group_successfully_saved: "New group successfully saved."
|
|
||||||
an_error_occurred_when_saving_the_new_group: "An error occurred when saving the new group."
|
|
||||||
group_successfully_deleted: "Group successfully deleted."
|
|
||||||
unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Unable to delete group because some users and/or groups are still linked to it."
|
|
||||||
add_a_tag: "Add a tag"
|
add_a_tag: "Add a tag"
|
||||||
tag_name: "Tag name"
|
tag_name: "Tag name"
|
||||||
new_tag_successfully_saved: "New tag successfully saved."
|
new_tag_successfully_saved: "New tag successfully saved."
|
||||||
@ -418,6 +426,23 @@ en:
|
|||||||
an_error_occurred_unable_to_delete_the_specified_provider: "An error occurred: unable to delete the specified provider."
|
an_error_occurred_unable_to_delete_the_specified_provider: "An error occurred: unable to delete the specified provider."
|
||||||
local_database: "Local database"
|
local_database: "Local database"
|
||||||
o_auth2: "OAuth 2.0"
|
o_auth2: "OAuth 2.0"
|
||||||
|
group_form:
|
||||||
|
add_a_group: "Add a group"
|
||||||
|
group_name: "Group name"
|
||||||
|
disable: "Disable"
|
||||||
|
enable: "Enable"
|
||||||
|
changes_successfully_saved: "Changes successfully saved."
|
||||||
|
an_error_occurred_while_saving_changes: "An error occurred when saving changes."
|
||||||
|
new_group_successfully_saved: "New group successfully saved."
|
||||||
|
an_error_occurred_when_saving_the_new_group: "An error occurred when saving the new group."
|
||||||
|
group_successfully_deleted: "Group successfully deleted."
|
||||||
|
unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Unable to delete group because some users and/or groups are still linked to it."
|
||||||
|
group_successfully_enabled_disabled: "Group successfully {STATUS, select, true{disabled} other{enabled}}." # messageFormat interpolation
|
||||||
|
unable_to_enable_disable_group: "Unable to {STATUS, select, true{disable} other{enable}} group." # messageFormat interpolation
|
||||||
|
unable_to_disable_group_with_users: "Unable to disable group because it still contains {USERS} active {USERS, plural, =1{user} other{users}}." # messageFormat interpolation
|
||||||
|
status_enabled: "Enabled"
|
||||||
|
status_disabled: "Disabled"
|
||||||
|
status_all: "All"
|
||||||
|
|
||||||
members_new:
|
members_new:
|
||||||
# add a member
|
# add a member
|
||||||
|
@ -46,7 +46,7 @@ fr:
|
|||||||
restrict_this_slot_with_labels_(optional): "Restreindre ce créneau avec des étiquettes (optionnel)"
|
restrict_this_slot_with_labels_(optional): "Restreindre ce créneau avec des étiquettes (optionnel)"
|
||||||
the_slot_START-END_has_been_successfully_deleted: "Le créneau {{START}} - {{END}} a bien été supprimé" # angular interpolation
|
the_slot_START-END_has_been_successfully_deleted: "Le créneau {{START}} - {{END}} a bien été supprimé" # angular interpolation
|
||||||
unable_to_delete_the_slot_START-END_because_it_s_already_reserved_by_a_member: "Le créneau {{START}} - {{END}} n'a pu être supprimé car il est déjà réservé par un membre" # angular interpolation
|
unable_to_delete_the_slot_START-END_because_it_s_already_reserved_by_a_member: "Le créneau {{START}} - {{END}} n'a pu être supprimé car il est déjà réservé par un membre" # angular interpolation
|
||||||
you_should_select_at_least_a_machine: "Vous devriez sélectionne au moins une machine pour ce créneau."
|
you_should_select_at_least_a_machine: "Vous devriez sélectionner au moins une machine pour ce créneau."
|
||||||
export_is_running_you_ll_be_notified_when_its_ready: "L'export est en cours. Vous serez notifié lorsqu'il sera prêt."
|
export_is_running_you_ll_be_notified_when_its_ready: "L'export est en cours. Vous serez notifié lorsqu'il sera prêt."
|
||||||
actions: "Actions"
|
actions: "Actions"
|
||||||
block_reservations: "Bloquer les réservations"
|
block_reservations: "Bloquer les réservations"
|
||||||
@ -59,6 +59,8 @@ fr:
|
|||||||
unlocking_failed: "Une erreur est survenue. Le déverrouillage du créneau a échoué"
|
unlocking_failed: "Une erreur est survenue. Le déverrouillage du créneau a échoué"
|
||||||
reservations_locked: "Réservations bloquées"
|
reservations_locked: "Réservations bloquées"
|
||||||
unlockable_because_reservations: "Impossible de bloquer les réservations sur ce créneau car il existe des réservations non annulées sur celui-ci."
|
unlockable_because_reservations: "Impossible de bloquer les réservations sur ce créneau car il existe des réservations non annulées sur celui-ci."
|
||||||
|
delete_slot: "Supprimer le créneau"
|
||||||
|
do_you_really_want_to_delete_this_slot: "Êtes vous sur de vouloir supprimer ce créneau ?"
|
||||||
|
|
||||||
project_elements:
|
project_elements:
|
||||||
# gestion des éléments constituant les projets
|
# gestion des éléments constituant les projets
|
||||||
@ -71,6 +73,9 @@ fr:
|
|||||||
trainings:
|
trainings:
|
||||||
# suivre et surveiller les formations
|
# suivre et surveiller les formations
|
||||||
training: "Formation"
|
training: "Formation"
|
||||||
|
add_a_new_training: "Ajouter une nouvelle formation"
|
||||||
|
associated_machines: "Machines associées"
|
||||||
|
number_of_tickets: "Nombre de places"
|
||||||
year_NUMBER: "Année {{NUMBER}}" # angular interpolation
|
year_NUMBER: "Année {{NUMBER}}" # angular interpolation
|
||||||
month_of_NAME: "Mois de {{NAME}}" # angular interpolation
|
month_of_NAME: "Mois de {{NAME}}" # angular interpolation
|
||||||
NUMBER_reservation: "{NUMBER} {NUMBER, plural, =0{réservation} one{réservation} other{réservations}}" # messageFormat interpolation
|
NUMBER_reservation: "{NUMBER} {NUMBER, plural, =0{réservation} one{réservation} other{réservations}}" # messageFormat interpolation
|
||||||
@ -87,11 +92,16 @@ fr:
|
|||||||
training_successfully_deleted: "La formation a bien été supprimée."
|
training_successfully_deleted: "La formation a bien été supprimée."
|
||||||
unable_to_delete_the_training_because_some_users_alredy_booked_it: "La formation ne peut pas être supprimée car elle a déjà été réservée par des utilisateurs."
|
unable_to_delete_the_training_because_some_users_alredy_booked_it: "La formation ne peut pas être supprimée car elle a déjà été réservée par des utilisateurs."
|
||||||
do_you_really_want_to_delete_this_training: "Êtes-vous sur de vouloir supprimer cette formation ?"
|
do_you_really_want_to_delete_this_training: "Êtes-vous sur de vouloir supprimer cette formation ?"
|
||||||
|
status_enabled: "Actifs"
|
||||||
|
status_disabled: "Désactivés"
|
||||||
|
status_all: "Tous"
|
||||||
|
|
||||||
trainings_new:
|
trainings_new:
|
||||||
# créer une nouvelle formation
|
# créer une nouvelle formation
|
||||||
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Attention, lors de la création d'une formation, ses tarifs de réservation sont initialisés à zero."
|
trainings_new:
|
||||||
dont_forget_to_change_them_before_creating_slots_for_this_training: "Pensez à les modifier avant de créer des créneaux pour cette formation."
|
add_a_new_training: "Ajouter une nouvelle formation"
|
||||||
|
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Attention, lors de la création d'une formation, ses tarifs de réservation sont initialisés à zero."
|
||||||
|
dont_forget_to_change_them_before_creating_slots_for_this_training: "Pensez à les modifier avant de créer des créneaux pour cette formation."
|
||||||
|
|
||||||
events:
|
events:
|
||||||
# gestion et suivi des évènements
|
# gestion et suivi des évènements
|
||||||
@ -194,6 +204,7 @@ fr:
|
|||||||
error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Erreur : un crédit associant cette machine et cet abonnement existe déjà."
|
error_a_credit_linking_this_machine_with_that_subscription_already_exists: "Erreur : un crédit associant cette machine et cet abonnement existe déjà."
|
||||||
changes_have_been_successfully_saved: "Les modifications ont bien été enregistrées."
|
changes_have_been_successfully_saved: "Les modifications ont bien été enregistrées."
|
||||||
credit_was_successfully_saved: "Le crédit a bien été enregistré."
|
credit_was_successfully_saved: "Le crédit a bien été enregistré."
|
||||||
|
error_creating_credit: "Impossible de créer le credit, une erreur est survenue"
|
||||||
do_you_really_want_to_delete_this_subscription_plan: "Êtes-vous sûr(e) de vouloir supprimer cette formule d'abonnement ?"
|
do_you_really_want_to_delete_this_subscription_plan: "Êtes-vous sûr(e) de vouloir supprimer cette formule d'abonnement ?"
|
||||||
subscription_plan_was_successfully_deleted: "La formule d'abonnement a bien été supprimée."
|
subscription_plan_was_successfully_deleted: "La formule d'abonnement a bien été supprimée."
|
||||||
unable_to_delete_the_specified_subscription_an_error_occurred: "Impossible de supprimer l'abonnement spécifié, une erreur s'est produite."
|
unable_to_delete_the_specified_subscription_an_error_occurred: "Impossible de supprimer l'abonnement spécifié, une erreur s'est produite."
|
||||||
@ -228,6 +239,9 @@ fr:
|
|||||||
add_a_space_credit: "Ajouter un crédit Espace"
|
add_a_space_credit: "Ajouter un crédit Espace"
|
||||||
space: "Espace"
|
space: "Espace"
|
||||||
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Erreur : un crédit associant cet espace et cet abonnement existe déjà."
|
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Erreur : un crédit associant cet espace et cet abonnement existe déjà."
|
||||||
|
status_enabled: "Actifs"
|
||||||
|
status_disabled: "Désactivés"
|
||||||
|
status_all: "Tous"
|
||||||
|
|
||||||
coupons_new:
|
coupons_new:
|
||||||
# ajouter un code promotionnel
|
# ajouter un code promotionnel
|
||||||
@ -391,14 +405,8 @@ fr:
|
|||||||
this_may_take_a_while_please_wait: "Attention : ceci peut prendre un certain temps, merci de patienter."
|
this_may_take_a_while_please_wait: "Attention : ceci peut prendre un certain temps, merci de patienter."
|
||||||
administrator_successfully_deleted: "L'administrateur a bien été supprimé."
|
administrator_successfully_deleted: "L'administrateur a bien été supprimé."
|
||||||
unable_to_delete_the_administrator: "L'administrateur n'a pas pu être supprimé."
|
unable_to_delete_the_administrator: "L'administrateur n'a pas pu être supprimé."
|
||||||
add_a_group: "Ajouter un groupe"
|
|
||||||
group_name: "Nom du groupe"
|
|
||||||
changes_successfully_saved: "Les modifications ont bien été enregistrées."
|
changes_successfully_saved: "Les modifications ont bien été enregistrées."
|
||||||
an_error_occurred_while_saving_changes: "Une erreur est survenue lors de l'enregistrement des modifications."
|
an_error_occurred_while_saving_changes: "Une erreur est survenue lors de l'enregistrement des modifications."
|
||||||
new_group_successfully_saved: "Le nouveau groupe a bien été enregistré."
|
|
||||||
an_error_occurred_when_saving_the_new_group: "Une erreur est survenue lors de l'enregistrement du nouveau groupe."
|
|
||||||
group_successfully_deleted: "Le groupe a bien été supprimé."
|
|
||||||
unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Le groupe n'a pas pu être supprimé car des utilisateurs et/ou des abonnements sont toujours associés à ce dernier."
|
|
||||||
add_a_tag: "Ajouter une étiquette"
|
add_a_tag: "Ajouter une étiquette"
|
||||||
tag_name: "Nom de l'étiquette"
|
tag_name: "Nom de l'étiquette"
|
||||||
new_tag_successfully_saved: "La nouvelle étiquette a bien été enregistrée."
|
new_tag_successfully_saved: "La nouvelle étiquette a bien été enregistrée."
|
||||||
@ -418,6 +426,23 @@ fr:
|
|||||||
an_error_occurred_unable_to_delete_the_specified_provider: "Une erreur est survenue : impossible de supprimer le fournisseur spécifié."
|
an_error_occurred_unable_to_delete_the_specified_provider: "Une erreur est survenue : impossible de supprimer le fournisseur spécifié."
|
||||||
local_database: "Base de données locale"
|
local_database: "Base de données locale"
|
||||||
o_auth2: "OAuth 2.0"
|
o_auth2: "OAuth 2.0"
|
||||||
|
group_form:
|
||||||
|
add_a_group: "Ajouter un groupe"
|
||||||
|
group_name: "Nom du groupe"
|
||||||
|
disable: "Désactiver"
|
||||||
|
enable: "Activer"
|
||||||
|
changes_successfully_saved: "Les modifications ont bien été enregistrées."
|
||||||
|
an_error_occurred_while_saving_changes: "Une erreur est survenue lors de l'enregistrement des modifications."
|
||||||
|
new_group_successfully_saved: "Le nouveau groupe a bien été enregistré."
|
||||||
|
an_error_occurred_when_saving_the_new_group: "Une erreur est survenue lors de l'enregistrement du nouveau groupe."
|
||||||
|
group_successfully_deleted: "Le groupe a bien été supprimé."
|
||||||
|
unable_to_delete_group_because_some_users_and_or_groups_are_still_linked_to_it: "Le groupe n'a pas pu être supprimé car des utilisateurs et/ou des abonnements sont toujours associés à ce dernier."
|
||||||
|
group_successfully_enabled_disabled: "Le groupe a bien été {STATUS, select, true{désactivé} other{activé}}." # messageFormat interpolation
|
||||||
|
unable_to_enable_disable_group: "Impossible {STATUS, select, true{de désactiver} other{d'activer}} le groupe." # messageFormat interpolation
|
||||||
|
unable_to_disable_group_with_users: "Impossible de désactiver le groupe car il contient encore {USERS} {USERS, plural, =0{personne} =1{utilisateur actif} other{utilisateurs actifs}}." # messageFormat interpolation
|
||||||
|
status_enabled: "Activés"
|
||||||
|
status_disabled: "Désactivés"
|
||||||
|
status_all: "Tous"
|
||||||
|
|
||||||
members_new:
|
members_new:
|
||||||
# ajouter un membre
|
# ajouter un membre
|
||||||
|
@ -59,6 +59,8 @@ pt:
|
|||||||
unlocking_failed: "Um erro ocorreu. O desbloqueio do slot falhou"
|
unlocking_failed: "Um erro ocorreu. O desbloqueio do slot falhou"
|
||||||
reservations_locked: "Reserva é bloqueado"
|
reservations_locked: "Reserva é bloqueado"
|
||||||
unlockable_because_reservations: "Não é possível bloquear a reserva neste slot porque existem algumas reservas não cancelados nele."
|
unlockable_because_reservations: "Não é possível bloquear a reserva neste slot porque existem algumas reservas não cancelados nele."
|
||||||
|
delete_slot: "Exclua o slot"
|
||||||
|
do_you_really_want_to_delete_this_slot: "Você realmente quer excluir esse slot?"
|
||||||
|
|
||||||
project_elements:
|
project_elements:
|
||||||
# management of the projects' components
|
# management of the projects' components
|
||||||
@ -71,6 +73,9 @@ pt:
|
|||||||
trainings:
|
trainings:
|
||||||
# track and monitor the trainings
|
# track and monitor the trainings
|
||||||
training: "Treinamento"
|
training: "Treinamento"
|
||||||
|
add_a_new_training: "Adicionar um novo treinamento"
|
||||||
|
associated_machines: "Máquinas associadas"
|
||||||
|
number_of_tickets: "Número de vagas"
|
||||||
year_NUMBER: "Ano {{NUMBER}}" # angular interpolation
|
year_NUMBER: "Ano {{NUMBER}}" # angular interpolation
|
||||||
month_of_NAME: "Mês de {{NAME}}" # angular interpolation
|
month_of_NAME: "Mês de {{NAME}}" # angular interpolation
|
||||||
NUMBER_reservation: "{NUMBER} {NUMBER, plural, one{reserva} other{reservas}}" # messageFormat interpolation
|
NUMBER_reservation: "{NUMBER} {NUMBER, plural, one{reserva} other{reservas}}" # messageFormat interpolation
|
||||||
@ -87,11 +92,16 @@ pt:
|
|||||||
training_successfully_deleted: "O treinamento foi deletado com sucesso."
|
training_successfully_deleted: "O treinamento foi deletado com sucesso."
|
||||||
unable_to_delete_the_training_because_some_users_alredy_booked_it: "Não é possível deletar o treinamento, pois alguns membros já o reservaram."
|
unable_to_delete_the_training_because_some_users_alredy_booked_it: "Não é possível deletar o treinamento, pois alguns membros já o reservaram."
|
||||||
do_you_really_want_to_delete_this_training: "Você realmente quer deletar este treinamento?"
|
do_you_really_want_to_delete_this_training: "Você realmente quer deletar este treinamento?"
|
||||||
|
status_enabled: "Ativos"
|
||||||
|
status_disabled: "Desabilitados"
|
||||||
|
status_all: "Todos"
|
||||||
|
|
||||||
trainings_new:
|
trainings_new:
|
||||||
# create a new training
|
# create a new training
|
||||||
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Cuidado, ao criar um treinamento, seu preço de reserva é inicializado em zero."
|
trainings_new:
|
||||||
dont_forget_to_change_them_before_creating_slots_for_this_training: "Não se esqueça de alterá-lo antes de criar slots para este treinamento."
|
add_a_new_training: "Adicionar um novo treinamento"
|
||||||
|
beware_when_creating_a_training_its_reservation_prices_are_initialized_to_zero: "Cuidado, ao criar um treinamento, seu preço de reserva é inicializado em zero."
|
||||||
|
dont_forget_to_change_them_before_creating_slots_for_this_training: "Não se esqueça de alterá-lo antes de criar slots para este treinamento."
|
||||||
|
|
||||||
events:
|
events:
|
||||||
# events tracking and management
|
# events tracking and management
|
||||||
@ -194,6 +204,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."
|
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."
|
changes_have_been_successfully_saved: "As modificações foram salvas com sucesso."
|
||||||
credit_was_successfully_saved: "Crédito salvo com sucesso."
|
credit_was_successfully_saved: "Crédito salvo com sucesso."
|
||||||
|
error_creating_credit: "Unable to create credit, an error occurred" # TODO
|
||||||
do_you_really_want_to_delete_this_subscription_plan: "Você realmente deletar esse plano de assinatura?"
|
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."
|
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."
|
unable_to_delete_the_specified_subscription_an_error_occurred: "Não é possível deletar a assinatura específicada, um erro ocorreu."
|
||||||
@ -228,6 +239,9 @@ pt:
|
|||||||
add_a_space_credit: "Adicionar espaço de crédito"
|
add_a_space_credit: "Adicionar espaço de crédito"
|
||||||
space: "Espaço"
|
space: "Espaço"
|
||||||
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Erro: um crédito que vincula esse espaço com essa assinatura já existe."
|
error_a_credit_linking_this_space_with_that_subscription_already_exists: "Erro: um crédito que vincula esse espaço com essa assinatura já existe."
|
||||||
|
status_enabled: "Ativos"
|
||||||
|
status_disabled: "Desabilitados"
|
||||||
|
status_all: "Todos"
|
||||||
|
|
||||||
coupons_new:
|
coupons_new:
|
||||||
# ajouter un code promotionnel
|
# ajouter un code promotionnel
|
||||||
@ -418,6 +432,23 @@ pt:
|
|||||||
an_error_occurred_unable_to_delete_the_specified_provider: "Ocorreu um erro: não é possível excluir o provedor especificado."
|
an_error_occurred_unable_to_delete_the_specified_provider: "Ocorreu um erro: não é possível excluir o provedor especificado."
|
||||||
local_database: "Database local"
|
local_database: "Database local"
|
||||||
o_auth2: "OAuth 2.0"
|
o_auth2: "OAuth 2.0"
|
||||||
|
group_form:
|
||||||
|
add_a_group: "Adicionar grupo"
|
||||||
|
group_name: "Nome do grupo"
|
||||||
|
disable: "Desativar"
|
||||||
|
enable: "Habilitar"
|
||||||
|
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."
|
||||||
|
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
|
||||||
|
status_enabled: "Ativos"
|
||||||
|
status_disabled: "Desabilitados"
|
||||||
|
status_all: "Todos"
|
||||||
|
|
||||||
members_new:
|
members_new:
|
||||||
# add a member
|
# add a member
|
||||||
|
@ -175,9 +175,14 @@ en:
|
|||||||
|
|
||||||
machines_list:
|
machines_list:
|
||||||
# list of machines
|
# list of machines
|
||||||
the_fablab_s_machines: "The FabLab's machines"
|
machines_list:
|
||||||
add_a_machine: "Add a machine"
|
the_fablab_s_machines: "The FabLab's machines"
|
||||||
_or_the_: " or the "
|
add_a_machine: "Add a machine"
|
||||||
|
book: "Book"
|
||||||
|
_or_the_: " or the "
|
||||||
|
status_enabled: "Enabled"
|
||||||
|
status_disabled: "Disabled"
|
||||||
|
status_all: "All"
|
||||||
|
|
||||||
machines_show:
|
machines_show:
|
||||||
# details of a machine
|
# details of a machine
|
||||||
@ -247,6 +252,10 @@ en:
|
|||||||
book: "Book"
|
book: "Book"
|
||||||
change_the_reservation: "Change the reservation"
|
change_the_reservation: "Change the reservation"
|
||||||
you_can_shift_this_reservation_on_the_following_slots: "You can shift this reservation on the following slots:"
|
you_can_shift_this_reservation_on_the_following_slots: "You can shift this reservation on the following slots:"
|
||||||
|
confirmation_required: "Confirmation required"
|
||||||
|
do_you_really_want_to_delete_this_event: "Do you really want to delete this event?"
|
||||||
|
event_successfully_deleted: "Event successfully deleted"
|
||||||
|
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."
|
||||||
|
|
||||||
calendar:
|
calendar:
|
||||||
# public calendar
|
# public calendar
|
||||||
@ -261,8 +270,13 @@ en:
|
|||||||
|
|
||||||
spaces_list:
|
spaces_list:
|
||||||
# list of spaces
|
# list of spaces
|
||||||
the_spaces: "The spaces"
|
spaces_list:
|
||||||
add_a_space: "Add a space"
|
the_spaces: "The spaces"
|
||||||
|
add_a_space: "Add a space"
|
||||||
|
status_enabled: "Enabled"
|
||||||
|
status_disabled: "Disabled"
|
||||||
|
status_all: "All"
|
||||||
|
book: "Book"
|
||||||
|
|
||||||
space_show:
|
space_show:
|
||||||
# display the details of a space
|
# display the details of a space
|
||||||
|
@ -175,9 +175,14 @@ fr:
|
|||||||
|
|
||||||
machines_list:
|
machines_list:
|
||||||
# liste des machines
|
# liste des machines
|
||||||
the_fablab_s_machines: "Les machines du FabLab"
|
machines_list:
|
||||||
add_a_machine: "Ajouter une machine"
|
the_fablab_s_machines: "Les machines du FabLab"
|
||||||
_or_the_: " ou la "
|
add_a_machine: "Ajouter une machine"
|
||||||
|
book: "Réserver"
|
||||||
|
_or_the_: " ou la "
|
||||||
|
status_enabled: "Actives"
|
||||||
|
status_disabled: "Désactivées"
|
||||||
|
status_all: "Toutes"
|
||||||
|
|
||||||
machines_show:
|
machines_show:
|
||||||
# détail d'une machine
|
# détail d'une machine
|
||||||
@ -249,6 +254,10 @@ fr:
|
|||||||
book: "Réserver"
|
book: "Réserver"
|
||||||
change_the_reservation: "Modifier la réservation"
|
change_the_reservation: "Modifier la réservation"
|
||||||
you_can_shift_this_reservation_on_the_following_slots: "Vous pouvez déplacer cette réservation sur les créneaux suivants :"
|
you_can_shift_this_reservation_on_the_following_slots: "Vous pouvez déplacer cette réservation sur les créneaux suivants :"
|
||||||
|
confirmation_required: "Confirmation requise"
|
||||||
|
do_you_really_want_to_delete_this_event: "Voulez-vous vraiment supprimer cet évènement ?"
|
||||||
|
event_successfully_deleted: "L'évènement a bien été supprimé."
|
||||||
|
unable_to_delete_the_event_because_some_users_alredy_booked_it: "Impossible de supprimer l'évènement, il est peut-être déjà réservé par certains utilisateurs."
|
||||||
|
|
||||||
calendar:
|
calendar:
|
||||||
# calendrier publique
|
# calendrier publique
|
||||||
@ -263,8 +272,13 @@ fr:
|
|||||||
|
|
||||||
spaces_list:
|
spaces_list:
|
||||||
# liste des espaces
|
# liste des espaces
|
||||||
the_spaces: "Les espaces"
|
spaces_list:
|
||||||
add_a_space: "Ajouter un espace"
|
the_spaces: "Les espaces"
|
||||||
|
add_a_space: "Ajouter un espace"
|
||||||
|
status_enabled: "Activés"
|
||||||
|
status_disabled: "Désactivés"
|
||||||
|
status_all: "Tous"
|
||||||
|
book: "Réserver"
|
||||||
|
|
||||||
space_show:
|
space_show:
|
||||||
# affichage des détails d'un espace
|
# affichage des détails d'un espace
|
||||||
|
@ -175,9 +175,14 @@ pt:
|
|||||||
|
|
||||||
machines_list:
|
machines_list:
|
||||||
# list of machines
|
# list of machines
|
||||||
the_fablab_s_machines: "Lista de máquinas no FabLab"
|
machines_list:
|
||||||
add_a_machine: "Adicionar uma máquina"
|
the_fablab_s_machines: "Lista de máquinas no FabLab"
|
||||||
_or_the_: " ou o "
|
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
|
||||||
|
|
||||||
machines_show:
|
machines_show:
|
||||||
# details of a machine
|
# details of a machine
|
||||||
@ -247,6 +252,10 @@ pt:
|
|||||||
book: "Reservar"
|
book: "Reservar"
|
||||||
change_the_reservation: "Alterar reserva"
|
change_the_reservation: "Alterar reserva"
|
||||||
you_can_shift_this_reservation_on_the_following_slots: "Você pode alterar essa reserva nos campos a seguir:"
|
you_can_shift_this_reservation_on_the_following_slots: "Você pode alterar essa reserva nos campos a seguir:"
|
||||||
|
confirmation_required: "Confirmação obrigatória"
|
||||||
|
do_you_really_want_to_delete_this_event: "Vocêrealmente deseja remover este evento?"
|
||||||
|
event_successfully_deleted: "Evento excluído com sucesso"
|
||||||
|
unable_to_delete_the_event_because_some_users_alredy_booked_it: "Não foi possível excluir este evento, já pode ter sido reservado por alguns usuários."
|
||||||
|
|
||||||
calendar:
|
calendar:
|
||||||
# public calendar
|
# public calendar
|
||||||
@ -261,8 +270,13 @@ pt:
|
|||||||
|
|
||||||
spaces_list:
|
spaces_list:
|
||||||
# list of spaces
|
# list of spaces
|
||||||
the_spaces: "Os espaços"
|
spaces_list:
|
||||||
add_a_space: "Adicionar espaço"
|
the_spaces: "Os espaços"
|
||||||
|
add_a_space: "Adicionar espaço"
|
||||||
|
status_enabled: "Ativos" # TODO
|
||||||
|
status_disabled: "Desabilitados" # TODO
|
||||||
|
status_all: "Todos" # TODO
|
||||||
|
book: "Reservar"
|
||||||
|
|
||||||
space_show:
|
space_show:
|
||||||
# display the details of a space
|
# display the details of a space
|
||||||
|
@ -230,14 +230,24 @@ en:
|
|||||||
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "As part of a partner subscription, some notifications may be sent to this user."
|
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "As part of a partner subscription, some notifications may be sent to this user."
|
||||||
new_partner: "New partner"
|
new_partner: "New partner"
|
||||||
email_address_is_required: "Email address is required."
|
email_address_is_required: "Email address is required."
|
||||||
|
disabled: "Disable subscription"
|
||||||
|
disable_plan_will_not_unsubscribe_users: "Beware: disabling this plan won't unsubscribe users having active subscriptions with it."
|
||||||
|
|
||||||
trainings:
|
trainings:
|
||||||
# training edition form
|
# training edition form
|
||||||
add_a_new_training: "Add a new training"
|
trainings_form:
|
||||||
validate_your_training: "Validate your training"
|
name: "Name"
|
||||||
associated_machines: "Associated machines"
|
name_is_required: "Name is required."
|
||||||
number_of_tickets: "Number of tickets"
|
illustration: "Illustration"
|
||||||
public_page: "Show in training lists"
|
add_an_illustration: "Add an illustration"
|
||||||
|
description: "Description"
|
||||||
|
description_is_required: "Description is required."
|
||||||
|
add_a_new_training: "Add a new training"
|
||||||
|
validate_your_training: "Validate your training"
|
||||||
|
associated_machines: "Associated machines"
|
||||||
|
number_of_tickets: "Number of tickets"
|
||||||
|
public_page: "Show in training lists"
|
||||||
|
disable_training: "Disable the training"
|
||||||
|
|
||||||
user_admin:
|
user_admin:
|
||||||
# partial form to edit/create an user (admin view)
|
# partial form to edit/create an user (admin view)
|
||||||
@ -405,6 +415,7 @@ en:
|
|||||||
add_an_attachment: "Add an attachment"
|
add_an_attachment: "Add an attachment"
|
||||||
default_places: "Default maximum tickets"
|
default_places: "Default maximum tickets"
|
||||||
default_places_is_required: "Default maximum tickets is required."
|
default_places_is_required: "Default maximum tickets is required."
|
||||||
|
disable_space: "Disable space"
|
||||||
|
|
||||||
cart:
|
cart:
|
||||||
# module de panier d'achat de réservations
|
# module de panier d'achat de réservations
|
||||||
|
@ -144,11 +144,20 @@ fr:
|
|||||||
|
|
||||||
machine:
|
machine:
|
||||||
# formulaire d'édition d'une machine
|
# formulaire d'édition d'une machine
|
||||||
technical_specifications_are_required: "Les caractéristiques techniques sont requises."
|
machine_form:
|
||||||
attached_files_(pdf): "Pièces jointes (pdf)"
|
name: "Nom"
|
||||||
attach_a_file: "Joindre un fichier"
|
name_is_required: "Le nom est requis."
|
||||||
add_an_attachment: "Ajouter une pièce jointe"
|
illustration: "Visuel"
|
||||||
validate_your_machine: "Valider votre machine"
|
add_an_illustration: "Ajouter un visuel"
|
||||||
|
description: "Description"
|
||||||
|
description_is_required: "La description est requise."
|
||||||
|
technical_specifications: "Caractéristiques techniques"
|
||||||
|
technical_specifications_are_required: "Les caractéristiques techniques sont requises."
|
||||||
|
attached_files_(pdf): "Pièces jointes (pdf)"
|
||||||
|
attach_a_file: "Joindre un fichier"
|
||||||
|
add_an_attachment: "Ajouter une pièce jointe"
|
||||||
|
disable_machine: "Désactiver la machine"
|
||||||
|
validate_your_machine: "Valider votre machine"
|
||||||
|
|
||||||
plan_subscribe:
|
plan_subscribe:
|
||||||
# cadre de souscription à un abonnement
|
# cadre de souscription à un abonnement
|
||||||
@ -230,14 +239,24 @@ fr:
|
|||||||
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "Dans le cadre d'un abonnement partenaire, certaines notifications pourront être adressées à cet utilisateur."
|
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "Dans le cadre d'un abonnement partenaire, certaines notifications pourront être adressées à cet utilisateur."
|
||||||
new_partner: "Nouveau partenaire"
|
new_partner: "Nouveau partenaire"
|
||||||
email_address_is_required: "L'adresse e-mail est requise."
|
email_address_is_required: "L'adresse e-mail est requise."
|
||||||
|
disabled: "Désactiver l'abonnement"
|
||||||
|
disable_plan_will_not_unsubscribe_users: "Attention : désactiver l'abonnement ne désabonnera pas les utilisateurs ayant actuellement cet abonnement actif."
|
||||||
|
|
||||||
trainings:
|
trainings:
|
||||||
# formulaire d'édition d'une formation
|
# formulaire d'édition d'une formation
|
||||||
add_a_new_training: "Ajouter une nouvelle formation"
|
trainings_form:
|
||||||
validate_your_training: "Valider votre formation"
|
name: "Nom"
|
||||||
associated_machines: "Machines associées"
|
name_is_required: "Le nom est requis."
|
||||||
number_of_tickets: "Nombre de places"
|
illustration: "Visuel"
|
||||||
public_page: "Afficher dans la liste de formation"
|
add_an_illustration: "Ajouter un visuel"
|
||||||
|
description: "Description"
|
||||||
|
description_is_required: "La description est requise."
|
||||||
|
add_a_new_training: "Ajouter une nouvelle formation"
|
||||||
|
validate_your_training: "Valider votre formation"
|
||||||
|
associated_machines: "Machines associées"
|
||||||
|
number_of_tickets: "Nombre de places"
|
||||||
|
public_page: "Afficher dans la liste de formation"
|
||||||
|
disable_training: "Désactiver la formation"
|
||||||
|
|
||||||
user_admin:
|
user_admin:
|
||||||
# formulaire partiel d'édition/création utilisateur (vue admin)
|
# formulaire partiel d'édition/création utilisateur (vue admin)
|
||||||
@ -405,6 +424,7 @@ fr:
|
|||||||
add_an_attachment: "Ajouter une pièce jointe"
|
add_an_attachment: "Ajouter une pièce jointe"
|
||||||
default_places: "Maximum de places par défaut"
|
default_places: "Maximum de places par défaut"
|
||||||
default_places_is_required: "Le nombre de places maximum par défaut est requis."
|
default_places_is_required: "Le nombre de places maximum par défaut est requis."
|
||||||
|
disable_space: "Désactiver l'espace"
|
||||||
|
|
||||||
cart:
|
cart:
|
||||||
# module de panier d'achat de réservations
|
# module de panier d'achat de réservations
|
||||||
|
@ -230,14 +230,24 @@ pt:
|
|||||||
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "Como parte da inscrição do parceiro, algumas notificações podem ser enviadas para este usuário."
|
as_part_of_a_partner_subscription_some_notifications_may_be_sent_to_this_user: "Como parte da inscrição do parceiro, algumas notificações podem ser enviadas para este usuário."
|
||||||
new_partner: "Novo parceiro"
|
new_partner: "Novo parceiro"
|
||||||
email_address_is_required: "Email é obrigatório."
|
email_address_is_required: "Email é obrigatório."
|
||||||
|
disabled: "Disable subscrição"
|
||||||
|
disable_plan_will_not_unsubscribe_users: "Aviso: desativar a assinatura não desautorizará os usuários que atualmente possuem esta assinatura ativa."
|
||||||
|
|
||||||
trainings:
|
trainings:
|
||||||
# training edition form
|
# training edition form
|
||||||
add_a_new_training: "Adicionar um novo treinamento"
|
trainings_form:
|
||||||
validate_your_training: "Validar seu treinamento"
|
name: "Nome"
|
||||||
associated_machines: "Máquinas associadas"
|
name_is_required: "Nome é obrigatório."
|
||||||
number_of_tickets: "Número de vagas"
|
illustration: "Ilustração"
|
||||||
public_page: "Mostrar na lista de treinamentos"
|
add_an_illustration: "Adicionar ilustração"
|
||||||
|
description: "Descrição"
|
||||||
|
description_is_required: "Descrição é obrigatório."
|
||||||
|
add_a_new_training: "Adicionar um novo treinamento"
|
||||||
|
validate_your_training: "Validar seu treinamento"
|
||||||
|
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
|
||||||
|
|
||||||
user_admin:
|
user_admin:
|
||||||
# partial form to edit/create an user (admin view)
|
# partial form to edit/create an user (admin view)
|
||||||
@ -405,6 +415,7 @@ pt:
|
|||||||
add_an_attachment: "Adicionar um anexo"
|
add_an_attachment: "Adicionar um anexo"
|
||||||
default_places: "Tickets máximo padrão"
|
default_places: "Tickets máximo padrão"
|
||||||
default_places_is_required: "Tickets máximo padrão é obrigatório."
|
default_places_is_required: "Tickets máximo padrão é obrigatório."
|
||||||
|
disable_space: "Disable space" # TODO
|
||||||
|
|
||||||
cart:
|
cart:
|
||||||
# module de panier d'achat de réservations
|
# module de panier d'achat de réservations
|
||||||
|
@ -228,7 +228,8 @@ en:
|
|||||||
notify_admin_profile_complete:
|
notify_admin_profile_complete:
|
||||||
subject: "An imported account has completed its profile"
|
subject: "An imported account has completed its profile"
|
||||||
body:
|
body:
|
||||||
account_completed: "A previously imported user account via %{PROVIDER} has completed its profile:"
|
account_completed: "An user account has completed its profile:"
|
||||||
|
imported_account_completed: "An user account, previously imported through %{PROVIDER}, has completed its profile:"
|
||||||
provider_id: "its provider ID is:"
|
provider_id: "its provider ID is:"
|
||||||
|
|
||||||
notify_admin_abuse_reported:
|
notify_admin_abuse_reported:
|
||||||
|
@ -228,7 +228,8 @@ fr:
|
|||||||
notify_admin_profile_complete:
|
notify_admin_profile_complete:
|
||||||
subject: "Un compte importé a complété ses informations"
|
subject: "Un compte importé a complété ses informations"
|
||||||
body:
|
body:
|
||||||
account_completed: "Un compte utilisateur précédemment importé via %{PROVIDER} vient de compléter ses informations de profil :"
|
account_completed: "Un compte utilisateur vient de compléter ses informations de profil :"
|
||||||
|
imported_account_completed: "Un compte utilisateur précédemment importé via %{PROVIDER} vient de compléter ses informations de profil :"
|
||||||
provider_id: "Son identifiant fournisseur est %{UID}"
|
provider_id: "Son identifiant fournisseur est %{UID}"
|
||||||
|
|
||||||
notify_admin_abuse_reported:
|
notify_admin_abuse_reported:
|
||||||
|
@ -228,7 +228,8 @@ pt:
|
|||||||
notify_admin_profile_complete:
|
notify_admin_profile_complete:
|
||||||
subject: "Uma conta importada teve o perfil completado"
|
subject: "Uma conta importada teve o perfil completado"
|
||||||
body:
|
body:
|
||||||
account_completed: "Uma conta de usuário importada anteriormente via %{PROVIDER} completou seu perfil:"
|
account_completed: "Uma conta de usuário completou seu perfil:"
|
||||||
|
imported_account_completed: "Uma conta de usuário importada anteriormente via %{PROVIDER} completou seu perfil:"
|
||||||
provider_id: "Seu ID de provedor é:"
|
provider_id: "Seu ID de provedor é:"
|
||||||
|
|
||||||
notify_admin_abuse_reported:
|
notify_admin_abuse_reported:
|
||||||
|
5
db/migrate/20171004135605_add_disabled_to_plan.rb
Normal file
5
db/migrate/20171004135605_add_disabled_to_plan.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddDisabledToPlan < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :plans, :disabled, :boolean
|
||||||
|
end
|
||||||
|
end
|
5
db/migrate/20171005141522_add_disabled_to_group.rb
Normal file
5
db/migrate/20171005141522_add_disabled_to_group.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddDisabledToGroup < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :groups, :disabled, :boolean
|
||||||
|
end
|
||||||
|
end
|
5
db/migrate/20171010143708_add_disabled_to_training.rb
Normal file
5
db/migrate/20171010143708_add_disabled_to_training.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddDisabledToTraining < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :trainings, :disabled, :boolean
|
||||||
|
end
|
||||||
|
end
|
5
db/migrate/20171011100640_add_disabled_to_machine.rb
Normal file
5
db/migrate/20171011100640_add_disabled_to_machine.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddDisabledToMachine < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :machines, :disabled, :boolean
|
||||||
|
end
|
||||||
|
end
|
5
db/migrate/20171011125217_add_disabled_to_space.rb
Normal file
5
db/migrate/20171011125217_add_disabled_to_space.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
class AddDisabledToSpace < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :spaces, :disabled, :boolean
|
||||||
|
end
|
||||||
|
end
|
189
db/schema.rb
189
db/schema.rb
@ -11,12 +11,12 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20170906100906) do
|
ActiveRecord::Schema.define(version: 20171011125217) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
enable_extension "unaccent"
|
|
||||||
enable_extension "pg_trgm"
|
enable_extension "pg_trgm"
|
||||||
|
enable_extension "unaccent"
|
||||||
|
|
||||||
create_table "abuses", force: :cascade do |t|
|
create_table "abuses", force: :cascade do |t|
|
||||||
t.integer "signaled_id"
|
t.integer "signaled_id"
|
||||||
@ -32,14 +32,14 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "abuses", ["signaled_type", "signaled_id"], name: "index_abuses_on_signaled_type_and_signaled_id", using: :btree
|
add_index "abuses", ["signaled_type", "signaled_id"], name: "index_abuses_on_signaled_type_and_signaled_id", using: :btree
|
||||||
|
|
||||||
create_table "addresses", force: :cascade do |t|
|
create_table "addresses", force: :cascade do |t|
|
||||||
t.string "address"
|
t.string "address", limit: 255
|
||||||
t.string "street_number"
|
t.string "street_number", limit: 255
|
||||||
t.string "route"
|
t.string "route", limit: 255
|
||||||
t.string "locality"
|
t.string "locality", limit: 255
|
||||||
t.string "country"
|
t.string "country", limit: 255
|
||||||
t.string "postal_code"
|
t.string "postal_code", limit: 255
|
||||||
t.integer "placeable_id"
|
t.integer "placeable_id"
|
||||||
t.string "placeable_type"
|
t.string "placeable_type", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
end
|
||||||
@ -55,9 +55,9 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "assets", force: :cascade do |t|
|
create_table "assets", force: :cascade do |t|
|
||||||
t.integer "viewable_id"
|
t.integer "viewable_id"
|
||||||
t.string "viewable_type"
|
t.string "viewable_type", limit: 255
|
||||||
t.string "attachment"
|
t.string "attachment", limit: 255
|
||||||
t.string "type"
|
t.string "type", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
end
|
||||||
@ -74,12 +74,12 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
create_table "availabilities", force: :cascade do |t|
|
create_table "availabilities", force: :cascade do |t|
|
||||||
t.datetime "start_at"
|
t.datetime "start_at"
|
||||||
t.datetime "end_at"
|
t.datetime "end_at"
|
||||||
t.string "available_type"
|
t.string "available_type", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "nb_total_places"
|
t.integer "nb_total_places"
|
||||||
t.boolean "destroying", default: false
|
t.boolean "destroying", default: false
|
||||||
t.boolean "lock", default: false
|
t.boolean "lock", default: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "availability_tags", force: :cascade do |t|
|
create_table "availability_tags", force: :cascade do |t|
|
||||||
@ -93,7 +93,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "availability_tags", ["tag_id"], name: "index_availability_tags_on_tag_id", using: :btree
|
add_index "availability_tags", ["tag_id"], name: "index_availability_tags_on_tag_id", using: :btree
|
||||||
|
|
||||||
create_table "categories", force: :cascade do |t|
|
create_table "categories", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "slug"
|
t.string "slug"
|
||||||
@ -102,7 +102,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "categories", ["slug"], name: "index_categories_on_slug", unique: true, using: :btree
|
add_index "categories", ["slug"], name: "index_categories_on_slug", unique: true, using: :btree
|
||||||
|
|
||||||
create_table "components", force: :cascade do |t|
|
create_table "components", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", limit: 255, null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "coupons", force: :cascade do |t|
|
create_table "coupons", force: :cascade do |t|
|
||||||
@ -120,7 +120,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "credits", force: :cascade do |t|
|
create_table "credits", force: :cascade do |t|
|
||||||
t.integer "creditable_id"
|
t.integer "creditable_id"
|
||||||
t.string "creditable_type"
|
t.string "creditable_type", limit: 255
|
||||||
t.integer "plan_id"
|
t.integer "plan_id"
|
||||||
t.integer "hours"
|
t.integer "hours"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
@ -161,7 +161,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "event_themes", ["slug"], name: "index_event_themes_on_slug", unique: true, using: :btree
|
add_index "event_themes", ["slug"], name: "index_event_themes_on_slug", unique: true, using: :btree
|
||||||
|
|
||||||
create_table "events", force: :cascade do |t|
|
create_table "events", force: :cascade do |t|
|
||||||
t.string "title"
|
t.string "title", limit: 255
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
@ -199,10 +199,10 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "exports", ["user_id"], name: "index_exports_on_user_id", using: :btree
|
add_index "exports", ["user_id"], name: "index_exports_on_user_id", using: :btree
|
||||||
|
|
||||||
create_table "friendly_id_slugs", force: :cascade do |t|
|
create_table "friendly_id_slugs", force: :cascade do |t|
|
||||||
t.string "slug", null: false
|
t.string "slug", limit: 255, null: false
|
||||||
t.integer "sluggable_id", null: false
|
t.integer "sluggable_id", null: false
|
||||||
t.string "sluggable_type", limit: 50
|
t.string "sluggable_type", limit: 50
|
||||||
t.string "scope"
|
t.string "scope", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -212,17 +212,18 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "friendly_id_slugs", ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type", using: :btree
|
add_index "friendly_id_slugs", ["sluggable_type"], name: "index_friendly_id_slugs_on_sluggable_type", using: :btree
|
||||||
|
|
||||||
create_table "groups", force: :cascade do |t|
|
create_table "groups", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "slug"
|
t.string "slug", limit: 255
|
||||||
|
t.boolean "disabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "groups", ["slug"], name: "index_groups_on_slug", unique: true, using: :btree
|
add_index "groups", ["slug"], name: "index_groups_on_slug", unique: true, using: :btree
|
||||||
|
|
||||||
create_table "invoice_items", force: :cascade do |t|
|
create_table "invoice_items", force: :cascade do |t|
|
||||||
t.integer "invoice_id"
|
t.integer "invoice_id"
|
||||||
t.string "stp_invoice_item_id"
|
t.string "stp_invoice_item_id", limit: 255
|
||||||
t.integer "amount"
|
t.integer "amount"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
@ -235,17 +236,17 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "invoices", force: :cascade do |t|
|
create_table "invoices", force: :cascade do |t|
|
||||||
t.integer "invoiced_id"
|
t.integer "invoiced_id"
|
||||||
t.string "invoiced_type"
|
t.string "invoiced_type", limit: 255
|
||||||
t.string "stp_invoice_id"
|
t.string "stp_invoice_id", limit: 255
|
||||||
t.integer "total"
|
t.integer "total"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.string "reference"
|
t.string "reference", limit: 255
|
||||||
t.string "avoir_mode"
|
t.string "avoir_mode", limit: 255
|
||||||
t.datetime "avoir_date"
|
t.datetime "avoir_date"
|
||||||
t.integer "invoice_id"
|
t.integer "invoice_id"
|
||||||
t.string "type"
|
t.string "type", limit: 255
|
||||||
t.boolean "subscription_to_expire"
|
t.boolean "subscription_to_expire"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.integer "wallet_amount"
|
t.integer "wallet_amount"
|
||||||
@ -259,17 +260,18 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "invoices", ["wallet_transaction_id"], name: "index_invoices_on_wallet_transaction_id", using: :btree
|
add_index "invoices", ["wallet_transaction_id"], name: "index_invoices_on_wallet_transaction_id", using: :btree
|
||||||
|
|
||||||
create_table "licences", force: :cascade do |t|
|
create_table "licences", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", limit: 255, null: false
|
||||||
t.text "description"
|
t.text "description"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "machines", force: :cascade do |t|
|
create_table "machines", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", limit: 255, null: false
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.text "spec"
|
t.text "spec"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "slug"
|
t.string "slug", limit: 255
|
||||||
|
t.boolean "disabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "machines", ["slug"], name: "index_machines_on_slug", unique: true, using: :btree
|
add_index "machines", ["slug"], name: "index_machines_on_slug", unique: true, using: :btree
|
||||||
@ -285,14 +287,14 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
create_table "notifications", force: :cascade do |t|
|
create_table "notifications", force: :cascade do |t|
|
||||||
t.integer "receiver_id"
|
t.integer "receiver_id"
|
||||||
t.integer "attached_object_id"
|
t.integer "attached_object_id"
|
||||||
t.string "attached_object_type"
|
t.string "attached_object_type", limit: 255
|
||||||
t.integer "notification_type_id"
|
t.integer "notification_type_id"
|
||||||
t.boolean "is_read", default: false
|
t.boolean "is_read", default: false
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "receiver_type"
|
t.string "receiver_type"
|
||||||
t.boolean "is_send", default: false
|
t.boolean "is_send", default: false
|
||||||
t.jsonb "meta_data", default: {}
|
t.jsonb "meta_data", default: {}
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "notifications", ["notification_type_id"], name: "index_notifications_on_notification_type_id", using: :btree
|
add_index "notifications", ["notification_type_id"], name: "index_notifications_on_notification_type_id", using: :btree
|
||||||
@ -361,21 +363,22 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "organizations", ["profile_id"], name: "index_organizations_on_profile_id", using: :btree
|
add_index "organizations", ["profile_id"], name: "index_organizations_on_profile_id", using: :btree
|
||||||
|
|
||||||
create_table "plans", force: :cascade do |t|
|
create_table "plans", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.integer "amount"
|
t.integer "amount"
|
||||||
t.string "interval"
|
t.string "interval", limit: 255
|
||||||
t.integer "group_id"
|
t.integer "group_id"
|
||||||
t.string "stp_plan_id"
|
t.string "stp_plan_id", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "training_credit_nb", default: 0
|
t.integer "training_credit_nb", default: 0
|
||||||
t.boolean "is_rolling", default: true
|
t.boolean "is_rolling", default: true
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.string "type"
|
t.string "type"
|
||||||
t.string "base_name"
|
t.string "base_name"
|
||||||
t.integer "ui_weight", default: 0
|
t.integer "ui_weight", default: 0
|
||||||
t.integer "interval_count", default: 1
|
t.integer "interval_count", default: 1
|
||||||
t.string "slug"
|
t.string "slug"
|
||||||
|
t.boolean "disabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "plans", ["group_id"], name: "index_plans_on_group_id", using: :btree
|
add_index "plans", ["group_id"], name: "index_plans_on_group_id", using: :btree
|
||||||
@ -403,11 +406,11 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "profiles", force: :cascade do |t|
|
create_table "profiles", force: :cascade do |t|
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.string "first_name"
|
t.string "first_name", limit: 255
|
||||||
t.string "last_name"
|
t.string "last_name", limit: 255
|
||||||
t.boolean "gender"
|
t.boolean "gender"
|
||||||
t.date "birthday"
|
t.date "birthday"
|
||||||
t.string "phone"
|
t.string "phone", limit: 255
|
||||||
t.text "interest"
|
t.text "interest"
|
||||||
t.text "software_mastered"
|
t.text "software_mastered"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
@ -437,7 +440,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "title"
|
t.string "title", limit: 255
|
||||||
t.integer "step_nb"
|
t.integer "step_nb"
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -448,27 +451,27 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.boolean "is_valid", default: false
|
t.boolean "is_valid", default: false
|
||||||
t.string "valid_token"
|
t.string "valid_token", limit: 255
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "project_users", ["project_id"], name: "index_project_users_on_project_id", using: :btree
|
add_index "project_users", ["project_id"], name: "index_project_users_on_project_id", using: :btree
|
||||||
add_index "project_users", ["user_id"], name: "index_project_users_on_user_id", using: :btree
|
add_index "project_users", ["user_id"], name: "index_project_users_on_user_id", using: :btree
|
||||||
|
|
||||||
create_table "projects", force: :cascade do |t|
|
create_table "projects", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "author_id"
|
t.integer "author_id"
|
||||||
t.text "tags"
|
t.text "tags"
|
||||||
t.integer "licence_id"
|
t.integer "licence_id"
|
||||||
t.string "state"
|
t.string "state", limit: 255
|
||||||
t.string "slug"
|
t.string "slug", limit: 255
|
||||||
t.datetime "published_at"
|
t.datetime "published_at"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "projects", ["slug"], name: "index_projects_on_slug", unique: true, using: :btree
|
add_index "projects", ["slug"], name: "index_projects_on_slug", using: :btree
|
||||||
|
|
||||||
create_table "projects_components", force: :cascade do |t|
|
create_table "projects_components", force: :cascade do |t|
|
||||||
t.integer "project_id"
|
t.integer "project_id"
|
||||||
@ -508,19 +511,19 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "reservable_id"
|
t.integer "reservable_id"
|
||||||
t.string "reservable_type"
|
t.string "reservable_type", limit: 255
|
||||||
t.string "stp_invoice_id"
|
t.string "stp_invoice_id", limit: 255
|
||||||
t.integer "nb_reserve_places"
|
t.integer "nb_reserve_places"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "reservations", ["reservable_type", "reservable_id"], name: "index_reservations_on_reservable_type_and_reservable_id", using: :btree
|
add_index "reservations", ["reservable_id", "reservable_type"], name: "index_reservations_on_reservable_id_and_reservable_type", using: :btree
|
||||||
add_index "reservations", ["stp_invoice_id"], name: "index_reservations_on_stp_invoice_id", using: :btree
|
add_index "reservations", ["stp_invoice_id"], name: "index_reservations_on_stp_invoice_id", using: :btree
|
||||||
add_index "reservations", ["user_id"], name: "index_reservations_on_user_id", using: :btree
|
add_index "reservations", ["user_id"], name: "index_reservations_on_user_id", using: :btree
|
||||||
|
|
||||||
create_table "roles", force: :cascade do |t|
|
create_table "roles", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.integer "resource_id"
|
t.integer "resource_id"
|
||||||
t.string "resource_type"
|
t.string "resource_type", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
end
|
||||||
@ -568,6 +571,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.text "characteristics"
|
t.text "characteristics"
|
||||||
|
t.boolean "disabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "spaces_availabilities", force: :cascade do |t|
|
create_table "spaces_availabilities", force: :cascade do |t|
|
||||||
@ -594,18 +598,18 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "statistic_fields", force: :cascade do |t|
|
create_table "statistic_fields", force: :cascade do |t|
|
||||||
t.integer "statistic_index_id"
|
t.integer "statistic_index_id"
|
||||||
t.string "key"
|
t.string "key", limit: 255
|
||||||
t.string "label"
|
t.string "label", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.string "data_type"
|
t.string "data_type", limit: 255
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "statistic_fields", ["statistic_index_id"], name: "index_statistic_fields_on_statistic_index_id", using: :btree
|
add_index "statistic_fields", ["statistic_index_id"], name: "index_statistic_fields_on_statistic_index_id", using: :btree
|
||||||
|
|
||||||
create_table "statistic_graphs", force: :cascade do |t|
|
create_table "statistic_graphs", force: :cascade do |t|
|
||||||
t.integer "statistic_index_id"
|
t.integer "statistic_index_id"
|
||||||
t.string "chart_type"
|
t.string "chart_type", limit: 255
|
||||||
t.integer "limit"
|
t.integer "limit"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
@ -614,17 +618,17 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "statistic_graphs", ["statistic_index_id"], name: "index_statistic_graphs_on_statistic_index_id", using: :btree
|
add_index "statistic_graphs", ["statistic_index_id"], name: "index_statistic_graphs_on_statistic_index_id", using: :btree
|
||||||
|
|
||||||
create_table "statistic_indices", force: :cascade do |t|
|
create_table "statistic_indices", force: :cascade do |t|
|
||||||
t.string "es_type_key"
|
t.string "es_type_key", limit: 255
|
||||||
t.string "label"
|
t.string "label", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.boolean "table", default: true
|
t.boolean "table", default: true
|
||||||
t.boolean "ca", default: true
|
t.boolean "ca", default: true
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "statistic_sub_types", force: :cascade do |t|
|
create_table "statistic_sub_types", force: :cascade do |t|
|
||||||
t.string "key"
|
t.string "key", limit: 255
|
||||||
t.string "label"
|
t.string "label", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
end
|
end
|
||||||
@ -641,8 +645,8 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
|
|
||||||
create_table "statistic_types", force: :cascade do |t|
|
create_table "statistic_types", force: :cascade do |t|
|
||||||
t.integer "statistic_index_id"
|
t.integer "statistic_index_id"
|
||||||
t.string "key"
|
t.string "key", limit: 255
|
||||||
t.string "label"
|
t.string "label", limit: 255
|
||||||
t.boolean "graph"
|
t.boolean "graph"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
@ -660,7 +664,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
create_table "subscriptions", force: :cascade do |t|
|
create_table "subscriptions", force: :cascade do |t|
|
||||||
t.integer "plan_id"
|
t.integer "plan_id"
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.string "stp_subscription_id"
|
t.string "stp_subscription_id", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.datetime "expired_at"
|
t.datetime "expired_at"
|
||||||
@ -679,7 +683,7 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "tags", ["name"], name: "index_tags_on_name", unique: true, using: :btree
|
add_index "tags", ["name"], name: "index_tags_on_name", unique: true, using: :btree
|
||||||
|
|
||||||
create_table "themes", force: :cascade do |t|
|
create_table "themes", force: :cascade do |t|
|
||||||
t.string "name", null: false
|
t.string "name", limit: 255, null: false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "tickets", force: :cascade do |t|
|
create_table "tickets", force: :cascade do |t|
|
||||||
@ -694,13 +698,14 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "tickets", ["reservation_id"], name: "index_tickets_on_reservation_id", using: :btree
|
add_index "tickets", ["reservation_id"], name: "index_tickets_on_reservation_id", using: :btree
|
||||||
|
|
||||||
create_table "trainings", force: :cascade do |t|
|
create_table "trainings", force: :cascade do |t|
|
||||||
t.string "name"
|
t.string "name", limit: 255
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.integer "nb_total_places"
|
t.integer "nb_total_places"
|
||||||
t.string "slug"
|
t.string "slug", limit: 255
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.boolean "public_page", default: true
|
t.boolean "public_page", default: true
|
||||||
|
t.boolean "disabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "trainings", ["slug"], name: "index_trainings_on_slug", unique: true, using: :btree
|
add_index "trainings", ["slug"], name: "index_trainings_on_slug", unique: true, using: :btree
|
||||||
@ -755,32 +760,32 @@ ActiveRecord::Schema.define(version: 20170906100906) do
|
|||||||
add_index "user_trainings", ["user_id"], name: "index_user_trainings_on_user_id", using: :btree
|
add_index "user_trainings", ["user_id"], name: "index_user_trainings_on_user_id", using: :btree
|
||||||
|
|
||||||
create_table "users", force: :cascade do |t|
|
create_table "users", force: :cascade do |t|
|
||||||
t.string "email", default: "", null: false
|
t.string "email", limit: 255, default: "", null: false
|
||||||
t.string "encrypted_password", default: "", null: false
|
t.string "encrypted_password", limit: 255, default: "", null: false
|
||||||
t.string "reset_password_token"
|
t.string "reset_password_token", limit: 255
|
||||||
t.datetime "reset_password_sent_at"
|
t.datetime "reset_password_sent_at"
|
||||||
t.datetime "remember_created_at"
|
t.datetime "remember_created_at"
|
||||||
t.integer "sign_in_count", default: 0, null: false
|
t.integer "sign_in_count", default: 0, null: false
|
||||||
t.datetime "current_sign_in_at"
|
t.datetime "current_sign_in_at"
|
||||||
t.datetime "last_sign_in_at"
|
t.datetime "last_sign_in_at"
|
||||||
t.string "current_sign_in_ip"
|
t.string "current_sign_in_ip", limit: 255
|
||||||
t.string "last_sign_in_ip"
|
t.string "last_sign_in_ip", limit: 255
|
||||||
t.string "confirmation_token"
|
t.string "confirmation_token", limit: 255
|
||||||
t.datetime "confirmed_at"
|
t.datetime "confirmed_at"
|
||||||
t.datetime "confirmation_sent_at"
|
t.datetime "confirmation_sent_at"
|
||||||
t.string "unconfirmed_email"
|
t.string "unconfirmed_email", limit: 255
|
||||||
t.integer "failed_attempts", default: 0, null: false
|
t.integer "failed_attempts", default: 0, null: false
|
||||||
t.string "unlock_token"
|
t.string "unlock_token", limit: 255
|
||||||
t.datetime "locked_at"
|
t.datetime "locked_at"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
t.boolean "is_allow_contact", default: true
|
t.boolean "is_allow_contact", default: true
|
||||||
t.integer "group_id"
|
t.integer "group_id"
|
||||||
t.string "stp_customer_id"
|
t.string "stp_customer_id", limit: 255
|
||||||
t.string "username"
|
t.string "username", limit: 255
|
||||||
t.string "slug"
|
t.string "slug", limit: 255
|
||||||
t.boolean "is_active", default: true
|
t.boolean "is_active", default: true
|
||||||
t.boolean "invoicing_disabled", default: false
|
t.boolean "invoicing_disabled", default: false
|
||||||
t.string "provider"
|
t.string "provider"
|
||||||
t.string "uid"
|
t.string "uid"
|
||||||
t.string "auth_token"
|
t.string "auth_token"
|
||||||
|
8
test/fixtures/groups.yml
vendored
8
test/fixtures/groups.yml
vendored
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
group_1:
|
group_1:
|
||||||
id: 1
|
id: 1
|
||||||
name: standard, association
|
name: standard, association
|
||||||
@ -12,3 +11,10 @@ group_2:
|
|||||||
created_at: 2016-04-04 14:11:33.656537000 Z
|
created_at: 2016-04-04 14:11:33.656537000 Z
|
||||||
updated_at: 2016-04-04 14:11:33.656537000 Z
|
updated_at: 2016-04-04 14:11:33.656537000 Z
|
||||||
slug: student
|
slug: student
|
||||||
|
|
||||||
|
admins:
|
||||||
|
id: 3
|
||||||
|
name: Administrateurs
|
||||||
|
created_at: 2017-09-18 10:24:33.651615210 Z
|
||||||
|
updated_at: 2017-09-18 10:24:33.651615210 Z
|
||||||
|
slug: admins
|
14
test/fixtures/settings.yml
vendored
14
test/fixtures/settings.yml
vendored
@ -225,3 +225,17 @@ setting_29:
|
|||||||
value:
|
value:
|
||||||
created_at: 2016-04-04 14:12:01.271670000 Z
|
created_at: 2016-04-04 14:12:01.271670000 Z
|
||||||
updated_at: 2016-04-04 14:12:01.271670000 Z
|
updated_at: 2016-04-04 14:12:01.271670000 Z
|
||||||
|
|
||||||
|
setting_30:
|
||||||
|
id: 30
|
||||||
|
name: visibility_yearly
|
||||||
|
value: 3
|
||||||
|
created_at: 2017-09-18 10:26:42.852150000 Z
|
||||||
|
updated_at: 2017-09-18 10:26:42.852150000 Z
|
||||||
|
|
||||||
|
setting_31:
|
||||||
|
id: 31
|
||||||
|
name: visibility_others
|
||||||
|
value: 1
|
||||||
|
created_at: 2017-09-18 10:27:42.846510000 Z
|
||||||
|
updated_at: 2017-09-18 10:27:42.846510000 Z
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:58 GMT
|
- Mon, 18 Sep 2017 08:54:04 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigzZOUKbFLP8
|
- req_UlHcT5pRxquOpo
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_17xHFG2sOmf47Nz9pZ4CafpU",
|
"id": "tok_1B3L0y2sOmf47Nz9WFqPXvM7",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "86.76.5.109",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1459951378,
|
"created": 1505724844,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:05 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8CzNtM08NVlSGN&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
|
||||||
- '125'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:58 GMT
|
- Mon, 18 Sep 2017 08:54:05 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '469'
|
- '10932'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,318 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigTaKJ04PVMc
|
- req_CSg72e4uSh053r
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: ASCII-8BIT
|
||||||
|
string: !binary |-
|
||||||
|
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
|
||||||
|
ICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3Tno5RUJWU3pZMzYiLAogICAgICAi
|
||||||
|
b2JqZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAw
|
||||||
|
LAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjog
|
||||||
|
ImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTUwNTcyNDgz
|
||||||
|
NCwKICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAg
|
||||||
|
ICJkaXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5f
|
||||||
|
MUIzTDByMnNPbWY0N056OTRaTXlLVXAxIiwKICAgICAgImxpdmVtb2RlIjog
|
||||||
|
ZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjog
|
||||||
|
ewogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzQsCiAgICAgICAgImVuZCI6
|
||||||
|
IDE1MDU3MjQ4MzQKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAg
|
||||||
|
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
|
||||||
|
CiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewogICAg
|
||||||
|
ICAgICJzdGFydCI6IDE1MDU3MjQ0NDksCiAgICAgICAgImVuZCI6IDE1MDU3
|
||||||
|
MjQ0NDkKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAicHJv
|
||||||
|
cmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAgICAg
|
||||||
|
ICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAiaWQi
|
||||||
|
OiAiaWlfMUIzS3RuMnNPbWY0N056OUd4OW9lS3d2IiwKICAgICAgIm9iamVj
|
||||||
|
dCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwKICAg
|
||||||
|
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJjdXNf
|
||||||
|
OEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQzOTksCiAg
|
||||||
|
ICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAiZGlz
|
||||||
|
Y291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFCM0t0
|
||||||
|
cjJzT21mNDdOejlzdVUwak9DOCIsCiAgICAgICJsaXZlbW9kZSI6IGZhbHNl
|
||||||
|
LAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsKICAg
|
||||||
|
ICAgICAic3RhcnQiOiAxNTA1NzI0Mzk5LAogICAgICAgICJlbmQiOiAxNTA1
|
||||||
|
NzI0Mzk5CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAgInBy
|
||||||
|
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
|
||||||
|
ZSwKICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICJwZXJpb2QiOiB7CiAg
|
||||||
|
ICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MiwKICAgICAgICAiZW5kIjogMTQ2
|
||||||
|
OTEwODc0MgogICAgICB9LAogICAgICAicGxhbiI6IG51bGwsCiAgICAgICJw
|
||||||
|
cm9yYXRpb24iOiBmYWxzZSwKICAgICAgInF1YW50aXR5IjogbnVsbCwKICAg
|
||||||
|
ICAgInN1YnNjcmlwdGlvbiI6IG51bGwKICAgIH0sCiAgICB7CiAgICAgICJp
|
||||||
|
ZCI6ICJpaV8xOFc0R04yc09tZjQ3Tno5SzFkVGZUeUEiLAogICAgICAib2Jq
|
||||||
|
ZWN0IjogImludm9pY2VpdGVtIiwKICAgICAgImFtb3VudCI6IC0xMDAwLAog
|
||||||
|
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgImN1c3RvbWVyIjogImN1
|
||||||
|
c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJkYXRlIjogMTQ2ODI0Mjk1NSwK
|
||||||
|
ICAgICAgImRlc2NyaXB0aW9uIjogIndhbGxldCAtMTAuMCIsCiAgICAgICJk
|
||||||
|
aXNjb3VudGFibGUiOiBmYWxzZSwKICAgICAgImludm9pY2UiOiAiaW5fMThX
|
||||||
|
NEdPMnNPbWY0N056OW9vdURRM2hlIiwKICAgICAgImxpdmVtb2RlIjogZmFs
|
||||||
|
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
|
||||||
|
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTUsCiAgICAgICAgImVuZCI6IDE0
|
||||||
|
NjgyNDI5NTUKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
|
||||||
|
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
|
||||||
|
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9CiAgXSwKICAiaGFzX21v
|
||||||
|
cmUiOiBmYWxzZSwKICAidXJsIjogIi92MS9pbnZvaWNlaXRlbXMiCn0K
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:05 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
|
||||||
|
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:
|
||||||
|
- '129'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:54:06 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '473'
|
||||||
|
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_sWYQa245x6J8qZ
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,20 +456,20 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 3200,
|
"amount": 3400,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1459951378,
|
"date": 1505724846,
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724846,
|
||||||
"end": 1459951378
|
"end": 1505724846
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -171,13 +477,13 @@ http_interactions:
|
|||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:06 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: customer=cus_8CzNtM08NVlSGN&amount=-1000¤cy=usd&description=Wallet+-1000
|
string: customer=cus_8CzNtM08NVlSGN&amount=-1000¤cy=usd&description=wallet+-10.0
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -190,11 +496,11 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '125'
|
- '78'
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -203,11 +509,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:58 GMT
|
- Mon, 18 Sep 2017 08:54:07 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '469'
|
- '431'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -216,12 +522,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigTaKJ04PVMc
|
- req_dDXoARWpOFwudA
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -230,20 +538,20 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
|
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": -1000,
|
"amount": -1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1459951378,
|
"date": 1505724847,
|
||||||
"description": "Wallet -1000",
|
"description": "wallet -10.0",
|
||||||
"discountable": true,
|
"discountable": false,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724847,
|
||||||
"end": 1459951378
|
"end": 1505724847
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -251,7 +559,7 @@ http_interactions:
|
|||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:07 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
||||||
@ -270,9 +578,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -281,11 +589,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:59 GMT
|
- Mon, 18 Sep 2017 08:54:08 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3462'
|
- '8094'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -294,149 +602,209 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Digc2V3aKSGrn
|
- req_kcnUGOiWRKdP18
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
- max-age=31556926; includeSubDomains
|
- max-age=31556926; includeSubDomains
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: ASCII-8BIT
|
||||||
string: |
|
string: !binary |-
|
||||||
{
|
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
||||||
"id": "cus_8CzNtM08NVlSGN",
|
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
||||||
"object": "customer",
|
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
||||||
"account_balance": 0,
|
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog
|
||||||
"created": 1459948888,
|
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
||||||
"currency": "usd",
|
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
||||||
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
"delinquent": false,
|
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
||||||
"description": "Jean Dupond",
|
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
||||||
"discount": null,
|
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056
|
||||||
"email": "jean.dupond@gmail.com",
|
OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
||||||
"livemode": false,
|
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
||||||
"metadata": {},
|
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
||||||
"shipping": null,
|
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
||||||
"sources": {
|
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
|
||||||
"object": "list",
|
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
|
||||||
"data": [
|
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
|
||||||
{
|
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
||||||
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
||||||
"object": "card",
|
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
||||||
"address_city": null,
|
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
|
||||||
"address_country": null,
|
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
||||||
"address_line1": null,
|
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
||||||
"address_line1_check": null,
|
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
||||||
"address_line2": null,
|
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
|
||||||
"address_state": null,
|
CiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICJ0
|
||||||
"address_zip": null,
|
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
||||||
"address_zip_check": null,
|
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
||||||
"brand": "Visa",
|
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
||||||
"country": "US",
|
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
||||||
"cvc_check": "pass",
|
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
|
||||||
"dynamic_last4": null,
|
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
|
||||||
"exp_month": 4,
|
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
|
||||||
"exp_year": 2017,
|
MjQ4NDEsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICAgICAg
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICAgICAgICJj
|
||||||
"funding": "credit",
|
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgImN1
|
||||||
"last4": "4242",
|
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
|
||||||
"metadata": {},
|
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
|
||||||
"name": null,
|
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
|
||||||
"tokenization_method": null
|
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
|
||||||
}
|
ZCI6ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAg
|
||||||
],
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
|
||||||
"has_more": false,
|
ICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwKICAgICAgICAgICAgICAibWV0
|
||||||
"total_count": 1,
|
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
|
||||||
"url": "/v1/customers/cus_8CzNtM08NVlSGN/sources"
|
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
|
||||||
},
|
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
|
||||||
"subscriptions": {
|
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
|
||||||
"object": "list",
|
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
|
||||||
"data": [
|
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
|
||||||
{
|
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
|
||||||
"id": "sub_8Di9gqPLwt5IIC",
|
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
|
||||||
"object": "subscription",
|
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
|
||||||
"application_fee_percent": null,
|
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
|
||||||
"cancel_at_period_end": true,
|
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
|
||||||
"canceled_at": 1459949404,
|
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
|
||||||
"current_period_end": 1462541399,
|
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
|
||||||
"current_period_start": 1459949399,
|
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
dGl0eSI6IDEKICAgICAgICAgICAgfQogICAgICAgICAgXSwKICAgICAgICAg
|
||||||
"discount": null,
|
ICJoYXNfbW9yZSI6IGZhbHNlLAogICAgICAgICAgInRvdGFsX2NvdW50Ijog
|
||||||
"ended_at": null,
|
MSwKICAgICAgICAgICJ1cmwiOiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9z
|
||||||
"metadata": {},
|
dWJzY3JpcHRpb249c3ViX0JRQk5ua1VsY2lpM3IxIgogICAgICAgIH0sCiAg
|
||||||
"plan": {
|
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjog
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
e30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3Vl
|
||||||
"object": "plan",
|
bC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIs
|
||||||
"amount": 3000,
|
CiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3Vu
|
||||||
"created": 1459782921,
|
dCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAg
|
||||||
"currency": "usd",
|
ICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZh
|
||||||
"interval": "month",
|
bCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAog
|
||||||
"interval_count": 1,
|
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRh
|
||||||
"livemode": false,
|
dGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOp
|
||||||
"metadata": {},
|
ZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRl
|
||||||
"name": "Mensuel - standard, association - month",
|
bWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
|
||||||
"statement_descriptor": null,
|
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
|
||||||
"trial_period_days": null
|
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
|
||||||
},
|
LAogICAgICAgICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgInN0YXR1
|
||||||
"quantity": 1,
|
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
|
||||||
"start": 1459949399,
|
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
|
||||||
"status": "active",
|
IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9C
|
||||||
"tax_percent": null,
|
UUJJSW11VVdicmp6QiIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
|
||||||
"trial_end": null,
|
b24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGws
|
||||||
"trial_start": null
|
CiAgICAgICAgImJpbGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAog
|
||||||
},
|
ICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAg
|
||||||
{
|
ImNhbmNlbGVkX2F0IjogMTUwNTcyNDUwNywKICAgICAgICAiY3JlYXRlZCI6
|
||||||
"id": "sub_8Di2VadRvr7A99",
|
IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1
|
||||||
"object": "subscription",
|
MDgzMTY1MDMsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUw
|
||||||
"application_fee_percent": null,
|
NTcyNDUwMywKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZs
|
||||||
"cancel_at_period_end": true,
|
U0dOIiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRl
|
||||||
"canceled_at": 1459948972,
|
ZF9hdCI6IG51bGwsCiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9i
|
||||||
"current_period_end": 1462540968,
|
amVjdCI6ICJsaXN0IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAg
|
||||||
"current_period_start": 1459948968,
|
ICB7CiAgICAgICAgICAgICAgImlkIjogInNpXzFCM0t2VDJzT21mNDdOejl1
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
M2lNYTVTeiIsCiAgICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRp
|
||||||
"discount": null,
|
b25faXRlbSIsCiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAz
|
||||||
"ended_at": null,
|
LAogICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
|
||||||
"metadata": {},
|
ICJwbGFuIjogewogICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
|
||||||
"plan": {
|
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
ICAgICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAg
|
||||||
"object": "plan",
|
ICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAx
|
||||||
"amount": 3000,
|
NDU5NzgzMTA4LAogICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIs
|
||||||
"created": 1459782921,
|
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAg
|
||||||
"currency": "usd",
|
ICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAg
|
||||||
"interval": "month",
|
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRh
|
||||||
"interval_count": 1,
|
Ijoge30sCiAgICAgICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlm
|
||||||
"livemode": false,
|
IHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50
|
||||||
"metadata": {},
|
LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAg
|
||||||
"name": "Mensuel - standard, association - month",
|
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAg
|
||||||
"statement_descriptor": null,
|
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0s
|
||||||
"trial_period_days": null
|
CiAgICAgICAgICAgICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAg
|
||||||
},
|
ICAgICAgICBdLAogICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAg
|
||||||
"quantity": 1,
|
ICAgICAidG90YWxfY291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEv
|
||||||
"start": 1459948968,
|
c3Vic2NyaXB0aW9uX2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCSUltdVVX
|
||||||
"status": "active",
|
YnJqekIiCiAgICAgICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
|
||||||
"tax_percent": null,
|
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
|
||||||
"trial_end": null,
|
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
|
||||||
"trial_start": null
|
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
|
||||||
}
|
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
|
||||||
],
|
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
|
||||||
"has_more": false,
|
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
|
||||||
"total_count": 2,
|
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
|
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
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:59 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:08 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card=tok_17xHFG2sOmf47Nz9pZ4CafpU
|
string: card=tok_1B3L0y2sOmf47Nz9WFqPXvM7
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -449,9 +817,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '33'
|
- '33'
|
||||||
response:
|
response:
|
||||||
@ -462,7 +830,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:00 GMT
|
- Mon, 18 Sep 2017 08:54:09 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -475,12 +843,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigAxuQClwx3A
|
- req_IXKMjO7F6pXcr0
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -489,7 +859,7 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -505,7 +875,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -514,13 +884,13 @@ http_interactions:
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:00 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:09 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: default_source=card_17xHFG2sOmf47Nz95yErDQbL
|
string: default_source=card_1B3L0y2sOmf47Nz9AZVEmtnY
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -533,9 +903,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '44'
|
- '44'
|
||||||
response:
|
response:
|
||||||
@ -546,11 +916,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:01 GMT
|
- Mon, 18 Sep 2017 08:54:10 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '4190'
|
- '8822'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -559,168 +929,220 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Dig1Js3cBEeqQ
|
- req_0J2EyTu1iiAIGn
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
- max-age=31556926; includeSubDomains
|
- max-age=31556926; includeSubDomains
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: ASCII-8BIT
|
||||||
string: |
|
string: !binary |-
|
||||||
{
|
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
||||||
"id": "cus_8CzNtM08NVlSGN",
|
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
||||||
"object": "customer",
|
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
||||||
"account_balance": 0,
|
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMHkyc09tZjQ3Tno5QVpWRW10blkiLAog
|
||||||
"created": 1459948888,
|
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
||||||
"currency": "usd",
|
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
||||||
"default_source": "card_17xHFG2sOmf47Nz95yErDQbL",
|
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
"delinquent": false,
|
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
||||||
"description": "Jean Dupond",
|
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
||||||
"discount": null,
|
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDB5MnNPbWY0N056
|
||||||
"email": "jean.dupond@gmail.com",
|
OUFaVkVtdG5ZIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
||||||
"livemode": false,
|
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
||||||
"metadata": {},
|
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
||||||
"shipping": null,
|
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
||||||
"sources": {
|
ZHJlc3NfbGluZTIiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3N0YXRlIjog
|
||||||
"object": "list",
|
bnVsbCwKICAgICAgICAiYWRkcmVzc196aXAiOiBudWxsLAogICAgICAgICJh
|
||||||
"data": [
|
ZGRyZXNzX3ppcF9jaGVjayI6IG51bGwsCiAgICAgICAgImJyYW5kIjogIlZp
|
||||||
{
|
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
||||||
"object": "card",
|
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
||||||
"address_city": null,
|
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
|
||||||
"address_country": null,
|
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
||||||
"address_line1": null,
|
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
||||||
"address_line1_check": null,
|
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
||||||
"address_line2": null,
|
ZSI6IG51bGwsCiAgICAgICAgInRva2VuaXphdGlvbl9tZXRob2QiOiBudWxs
|
||||||
"address_state": null,
|
CiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAiY2FyZF8xQjNMMGwy
|
||||||
"address_zip": null,
|
c09tZjQ3Tno5M0o5ZHVBemQiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIs
|
||||||
"address_zip_check": null,
|
CiAgICAgICAgImFkZHJlc3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJl
|
||||||
"brand": "Visa",
|
c3NfY291bnRyeSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBu
|
||||||
"country": "US",
|
dWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAg
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
ICAgICAiYWRkcmVzc19saW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
|
||||||
"cvc_check": "pass",
|
c3RhdGUiOiBudWxsLAogICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAg
|
||||||
"dynamic_last4": null,
|
ICAgICAgImFkZHJlc3NfemlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJh
|
||||||
"exp_month": 4,
|
bmQiOiAiVmlzYSIsCiAgICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAg
|
||||||
"exp_year": 2017,
|
ICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJj
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
dmNfY2hlY2siOiAicGFzcyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBu
|
||||||
"funding": "credit",
|
dWxsLAogICAgICAgICJleHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVh
|
||||||
"last4": "4242",
|
ciI6IDIwMTgsCiAgICAgICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5t
|
||||||
"metadata": {},
|
Tm42QVQiLAogICAgICAgICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAg
|
||||||
"name": null,
|
Imxhc3Q0IjogIjQyNDIiLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
|
||||||
"tokenization_method": null
|
ICAgICJuYW1lIjogbnVsbCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhv
|
||||||
},
|
ZCI6IG51bGwKICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNl
|
||||||
{
|
LAogICAgInRvdGFsX2NvdW50IjogMiwKICAgICJ1cmwiOiAiL3YxL2N1c3Rv
|
||||||
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
bWVycy9jdXNfOEN6TnRNMDhOVmxTR04vc291cmNlcyIKICB9LAogICJzdWJz
|
||||||
"object": "card",
|
Y3JpcHRpb25zIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRh
|
||||||
"address_city": null,
|
IjogWwogICAgICB7CiAgICAgICAgImlkIjogInN1Yl9CUUJObmtVbGNpaTNy
|
||||||
"address_country": null,
|
MSIsCiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAg
|
||||||
"address_line1": null,
|
ICJhcHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImJp
|
||||||
"address_line1_check": null,
|
bGxpbmciOiAiY2hhcmdlX2F1dG9tYXRpY2FsbHkiLAogICAgICAgICJjYW5j
|
||||||
"address_line2": null,
|
ZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0
|
||||||
"address_state": null,
|
IjogMTUwNTcyNDg0MSwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4Mzcs
|
||||||
"address_zip": null,
|
CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE1MDgzMTY4MzcsCiAg
|
||||||
"address_zip_check": null,
|
ICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTUwNTcyNDgzNywKICAg
|
||||||
"brand": "Visa",
|
ICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAg
|
||||||
"country": "US",
|
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGws
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
CiAgICAgICAgIml0ZW1zIjogewogICAgICAgICAgIm9iamVjdCI6ICJsaXN0
|
||||||
"cvc_check": "pass",
|
IiwKICAgICAgICAgICJkYXRhIjogWwogICAgICAgICAgICB7CiAgICAgICAg
|
||||||
"dynamic_last4": null,
|
ICAgICAgImlkIjogInNpXzFCM0wwcjJzT21mNDdOejlLS2RWMXpzSiIsCiAg
|
||||||
"exp_month": 4,
|
ICAgICAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb25faXRlbSIsCiAg
|
||||||
"exp_year": 2017,
|
ICAgICAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0ODM4LAogICAgICAgICAg
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJwbGFuIjogewog
|
||||||
"funding": "credit",
|
ICAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
|
||||||
"last4": "4242",
|
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICAg
|
||||||
"metadata": {},
|
Im9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAgICJhbW91bnQiOiAy
|
||||||
"name": null,
|
MDAwLAogICAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAog
|
||||||
"tokenization_method": null
|
ICAgICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAg
|
||||||
}
|
ICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgICAgICAgImlu
|
||||||
],
|
dGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICAgICAgICJsaXZlbW9kZSI6
|
||||||
"has_more": false,
|
IGZhbHNlLAogICAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
|
||||||
"total_count": 2,
|
ICAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
|
||||||
"url": "/v1/customers/cus_8CzNtM08NVlSGN/sources"
|
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
|
||||||
},
|
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAgICAgICAic3RhdGVtZW50
|
||||||
"subscriptions": {
|
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgICAgICAgInRyaWFsX3Bl
|
||||||
"object": "list",
|
cmlvZF9kYXlzIjogbnVsbAogICAgICAgICAgICAgIH0sCiAgICAgICAgICAg
|
||||||
"data": [
|
ICAgInF1YW50aXR5IjogMQogICAgICAgICAgICB9CiAgICAgICAgICBdLAog
|
||||||
{
|
ICAgICAgICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAgICAgICAidG90YWxf
|
||||||
"id": "sub_8Di9gqPLwt5IIC",
|
Y291bnQiOiAxLAogICAgICAgICAgInVybCI6ICIvdjEvc3Vic2NyaXB0aW9u
|
||||||
"object": "subscription",
|
X2l0ZW1zP3N1YnNjcmlwdGlvbj1zdWJfQlFCTm5rVWxjaWkzcjEiCiAgICAg
|
||||||
"application_fee_percent": null,
|
ICAgfSwKICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAibWV0
|
||||||
"cancel_at_period_end": true,
|
YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAgICJpZCI6
|
||||||
"canceled_at": 1459949404,
|
ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1vbnRoLTIwMTYwNDA0
|
||||||
"current_period_end": 1462541399,
|
MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAg
|
||||||
"current_period_start": 1459949399,
|
ICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAg
|
||||||
"discount": null,
|
ImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3Vu
|
||||||
"ended_at": null,
|
dCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAg
|
||||||
"metadata": {},
|
ICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCB0
|
||||||
"plan": {
|
YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1IGFucywgZW5zZWln
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
bmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgiLAogICAgICAgICAg
|
||||||
"object": "plan",
|
InN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlh
|
||||||
"amount": 3000,
|
bF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFu
|
||||||
"created": 1459782921,
|
dGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTUwNTcyNDgzNywKICAgICAg
|
||||||
"currency": "usd",
|
ICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50Ijog
|
||||||
"interval": "month",
|
bnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJp
|
||||||
"interval_count": 1,
|
YWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQi
|
||||||
"livemode": false,
|
OiAic3ViX0JRQklJbXVVV2JyanpCIiwKICAgICAgICAib2JqZWN0IjogInN1
|
||||||
"metadata": {},
|
YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50
|
||||||
"name": "Mensuel - standard, association - month",
|
IjogbnVsbCwKICAgICAgICAiYmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGlj
|
||||||
"statement_descriptor": null,
|
YWxseSIsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwK
|
||||||
"trial_period_days": null
|
ICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNTA1NzI0NTA3LAogICAgICAgICJj
|
||||||
},
|
cmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rf
|
||||||
"quantity": 1,
|
ZW5kIjogMTUwODMxNjUwMywKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3Rh
|
||||||
"start": 1459949399,
|
cnQiOiAxNTA1NzI0NTAzLAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOEN6
|
||||||
"status": "active",
|
TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAg
|
||||||
"tax_percent": null,
|
ICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRlbXMiOiB7CiAgICAg
|
||||||
"trial_end": null,
|
ICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAgImRhdGEiOiBbCiAg
|
||||||
"trial_start": null
|
ICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAic2lfMUIzS3ZUMnNP
|
||||||
},
|
bWY0N056OXUzaU1hNVN6IiwKICAgICAgICAgICAgICAib2JqZWN0IjogInN1
|
||||||
{
|
YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE1
|
||||||
"id": "sub_8Di2VadRvr7A99",
|
MDU3MjQ1MDMsCiAgICAgICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAg
|
||||||
"object": "subscription",
|
ICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAgICAiaWQiOiAibWVu
|
||||||
"application_fee_percent": null,
|
c3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgy
|
||||||
"cancel_at_period_end": true,
|
NyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg
|
||||||
"canceled_at": 1459948972,
|
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICAgICAiY3Jl
|
||||||
"current_period_end": 1462540968,
|
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAgICAiY3VycmVuY3ki
|
||||||
"current_period_start": 1459948968,
|
OiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIs
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
CiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
|
||||||
"discount": null,
|
ICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICAgICAi
|
||||||
"ended_at": null,
|
bWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJuYW1lIjogIk1lbnN1
|
||||||
"metadata": {},
|
ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVu
|
||||||
"plan": {
|
c2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAg
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
ICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAg
|
||||||
"object": "plan",
|
ICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAg
|
||||||
"amount": 3000,
|
ICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHkiOiAxCiAgICAgICAg
|
||||||
"created": 1459782921,
|
ICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFzX21vcmUiOiBmYWxz
|
||||||
"currency": "usd",
|
ZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAgICAgICAidXJs
|
||||||
"interval": "month",
|
IjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9C
|
||||||
"interval_count": 1,
|
UUJJSW11VVdicmp6QiIKICAgICAgICB9LAogICAgICAgICJsaXZlbW9kZSI6
|
||||||
"livemode": false,
|
IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFu
|
||||||
"metadata": {},
|
IjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
|
||||||
"name": "Mensuel - standard, association - month",
|
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVj
|
||||||
"statement_descriptor": null,
|
dCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAg
|
||||||
"trial_period_days": null
|
ICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5
|
||||||
},
|
IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAg
|
||||||
"quantity": 1,
|
ICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9k
|
||||||
"start": 1459948968,
|
ZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAg
|
||||||
"status": "active",
|
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
|
||||||
"tax_percent": null,
|
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
|
||||||
"trial_end": null,
|
LSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBu
|
||||||
"trial_start": null
|
dWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAg
|
||||||
}
|
ICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQi
|
||||||
],
|
OiAxNTA1NzI0NTAzLAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAg
|
||||||
"has_more": false,
|
ICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQi
|
||||||
"total_count": 2,
|
OiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwK
|
||||||
"url": "/v1/customers/cus_8CzNtM08NVlSGN/subscriptions"
|
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=
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:01 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:10 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices
|
uri: https://api.stripe.com/v1/invoices
|
||||||
@ -739,9 +1161,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '27'
|
- '27'
|
||||||
response:
|
response:
|
||||||
@ -752,11 +1174,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:02 GMT
|
- Mon, 18 Sep 2017 08:54:11 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1426'
|
- '1990'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -765,12 +1187,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigRXqOIStdA0
|
- req_MD7tR4VWUwGjSi
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -779,17 +1203,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
"id": "in_1B3L152sOmf47Nz9z31UmWS7",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 2200,
|
"amount_due": 2400,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": false,
|
"attempted": false,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": false,
|
"closed": false,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1459951382,
|
"date": 1505724851,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
@ -798,17 +1223,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3200,
|
"amount": -1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "wallet -10.0",
|
||||||
"discountable": true,
|
"discountable": false,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724847,
|
||||||
"end": 1459951378
|
"end": 1505724847
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -817,52 +1242,51 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
|
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
|
||||||
"object": "invoiceitem",
|
"object": "line_item",
|
||||||
"amount": -1000,
|
"amount": 3400,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"date": 1459951378,
|
|
||||||
"description": "Wallet -1000",
|
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724846,
|
||||||
"end": 1459951378
|
"end": 1505724846
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null,
|
||||||
|
"type": "invoiceitem"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 2,
|
||||||
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
|
"url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1459954982,
|
"next_payment_attempt": 1505728451,
|
||||||
|
"number": "9ebfead20b-0007",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"period_end": 1459951382,
|
"period_end": 1508316452,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724452,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
"subscription": null,
|
"subscription": null,
|
||||||
"subtotal": 2200,
|
"subtotal": 2400,
|
||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 2200,
|
"total": 2400,
|
||||||
"webhooks_delivered_at": null
|
"webhooks_delivered_at": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:02 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:11 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/pay
|
uri: https://api.stripe.com/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/pay
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: ''
|
string: ''
|
||||||
@ -878,9 +1302,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
Content-Length:
|
||||||
- '0'
|
- '0'
|
||||||
response:
|
response:
|
||||||
@ -891,11 +1315,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:03 GMT
|
- Mon, 18 Sep 2017 08:54:13 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1445'
|
- '2009'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -904,12 +1328,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigckzVuj8MLI
|
- req_frf59awTiJQwLz
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -918,17 +1344,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
"id": "in_1B3L152sOmf47Nz9z31UmWS7",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 2200,
|
"amount_due": 2400,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_17xHFL2sOmf47Nz9FCQ0BJKc",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L162sOmf47Nz9qcHIrHQK",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1459951382,
|
"date": 1505724851,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -937,17 +1364,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"id": "ii_1B3L112sOmf47Nz9HhdRh67V",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3200,
|
"amount": -1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "wallet -10.0",
|
||||||
"discountable": true,
|
"discountable": false,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724847,
|
||||||
"end": 1459951378
|
"end": 1505724847
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -956,52 +1383,51 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47N59hh8aJSt6",
|
"id": "ii_1B3L102sOmf47Nz9bcXk9I95",
|
||||||
"object": "invoiceitem",
|
"object": "line_item",
|
||||||
"amount": -1000,
|
"amount": 3400,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"date": 1459951378,
|
|
||||||
"description": "Wallet -1000",
|
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724846,
|
||||||
"end": 1459951378
|
"end": 1505724846
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null,
|
||||||
|
"type": "invoiceitem"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 2,
|
||||||
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
|
"url": "/v1/invoices/in_1B3L152sOmf47Nz9z31UmWS7/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "9ebfead20b-0007",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1459951382,
|
"period_end": 1508316452,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724452,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
"subscription": null,
|
"subscription": null,
|
||||||
"subtotal": 2200,
|
"subtotal": 2400,
|
||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 2200,
|
"total": 2400,
|
||||||
"webhooks_delivered_at": 1459951382
|
"webhooks_delivered_at": 1505724851
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:03 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:13 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_17xHFG2sOmf47Nz95yErDQbL
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/sources/card_1B3L0y2sOmf47Nz9AZVEmtnY
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1017,9 +1443,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
MBP-sleede-Nicolas.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"MBP-sleede-Nicolas.local"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1028,7 +1454,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:04 GMT
|
- Mon, 18 Sep 2017 08:54:14 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -1041,12 +1467,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Dig3VHawFrxab
|
- req_tk6tIKk8cV3KXX
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1056,8 +1484,8 @@ http_interactions:
|
|||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"deleted": true,
|
"deleted": true,
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL"
|
"id": "card_1B3L0y2sOmf47Nz9AZVEmtnY"
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:04 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:14 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:24 GMT
|
- Mon, 18 Sep 2017 08:54:24 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjynFP8DZtkjQ
|
- req_rBBmJ98gbN56kC
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_17xIU82sOmf47Nz9lhdbMB7A",
|
"id": "tok_1B3L1I2sOmf47Nz9UYqYHZPI",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_17xIU82sOmf47Nz94aVn3WmU",
|
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "86.76.5.109",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1459956144,
|
"created": 1505724864,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:24 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:24 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
|
||||||
- '122'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:25 GMT
|
- Mon, 18 Sep 2017 08:54:25 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '466'
|
- '4731'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjyDxNWUBoDuT
|
- req_CUHXfO0pLWL0Mk
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,34 +152,270 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"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",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724410,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku02sOmf47Nz9iK6od82f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724410,
|
||||||
|
"end": 1505724410
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Kso2sOmf47Nz9XnTBtpv8",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1000,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724338,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724338,
|
||||||
|
"end": 1505724338
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ksn2sOmf47Nz9SArgrvPT",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724337,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724337,
|
||||||
|
"end": 1505724337
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1460041620,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeip2sOmf47Nz9kf2GTiaS",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041620,
|
||||||
|
"end": 1460041620
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xefB2sOmf47Nz90DXwNFPG",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1460041397,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xefC2sOmf47Nz9PU2pUoSg",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041397,
|
||||||
|
"end": 1460041397
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1000,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1459956145,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459956145,
|
||||||
|
"end": 1459956145
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1459956145,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459956145,
|
||||||
|
"end": 1459956145
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:25 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
|
||||||
|
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:
|
||||||
|
- '126'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:54:25 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '470'
|
||||||
|
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_mBs8AeIi26ArEU
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1459956145,
|
"date": 1505724865,
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724865,
|
||||||
"end": 1459956145
|
"end": 1505724865
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:25 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:26 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: customer=cus_8CzKe50I0J1gaI&amount=1000¤cy=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+15%3A00+-+04%3A00+PM
|
string: customer=cus_8CzKe50I0J1gaI&amount=1000¤cy=usd&description=FORM1%2B+imprimante+3D+September+17%2C+2017+15%3A00+-+04%3A00+PM
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -190,11 +428,11 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '125'
|
- '129'
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -203,11 +441,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:25 GMT
|
- Mon, 18 Sep 2017 08:54:26 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '469'
|
- '473'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -216,12 +454,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Djyoqd7RfPgqy
|
- req_X0rtTGbxYcEHNX
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -230,28 +470,28 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
|
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 1000,
|
"amount": 1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1459956145,
|
"date": 1505724866,
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724866,
|
||||||
"end": 1459956145
|
"end": 1505724866
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:26 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:26 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
|
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
|
||||||
@ -270,9 +510,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -281,7 +521,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:26 GMT
|
- Mon, 18 Sep 2017 08:54:27 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -294,12 +534,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjyndnI54v1Uz
|
- req_TGsPAAmcyqQJQW
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -336,14 +578,14 @@ http_interactions:
|
|||||||
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
|
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:26 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:27 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources
|
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card=tok_17xIU82sOmf47Nz9lhdbMB7A
|
string: card=tok_1B3L1I2sOmf47Nz9UYqYHZPI
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -356,9 +598,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '33'
|
- '33'
|
||||||
response:
|
response:
|
||||||
@ -369,7 +611,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:27 GMT
|
- Mon, 18 Sep 2017 08:54:28 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -382,12 +624,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjyrgeP2PYiHp
|
- req_WbVXW7BaLJsFc0
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -396,7 +640,7 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "card_17xIU82sOmf47Nz94aVn3WmU",
|
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -412,7 +656,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -420,8 +664,8 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:27 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:28 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices
|
uri: https://api.stripe.com/v1/invoices
|
||||||
@ -440,9 +684,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '27'
|
- '27'
|
||||||
response:
|
response:
|
||||||
@ -453,11 +697,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:28 GMT
|
- Mon, 18 Sep 2017 08:54:31 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1953'
|
- '2029'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -466,12 +710,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjyPqF2AowT93
|
- req_EB69hb1VatAHXD
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -480,17 +726,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
"id": "in_1B3L1P2sOmf47Nz9jJ905GpU",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 1000,
|
"amount_due": 1000,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": false,
|
"attempted": false,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": false,
|
"closed": false,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1459956148,
|
"date": 1505724871,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
@ -499,17 +746,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
|
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 1000,
|
"amount": 1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724866,
|
||||||
"end": 1459956145
|
"end": 1505724866
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -518,17 +765,17 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
|
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724865,
|
||||||
"end": 1459956145
|
"end": 1505724865
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -539,14 +786,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 2,
|
"total_count": 2,
|
||||||
"url": "/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/lines"
|
"url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1459959748,
|
"next_payment_attempt": 1505728471,
|
||||||
|
"number": "80bcaa9d6c-0004",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"period_end": 1459956148,
|
"period_end": 1505724871,
|
||||||
"period_start": 1459956148,
|
"period_start": 1505724871,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -557,11 +805,11 @@ http_interactions:
|
|||||||
"total": 1000,
|
"total": 1000,
|
||||||
"webhooks_delivered_at": null
|
"webhooks_delivered_at": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:28 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:31 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/pay
|
uri: https://api.stripe.com/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/pay
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: ''
|
string: ''
|
||||||
@ -577,9 +825,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '0'
|
- '0'
|
||||||
response:
|
response:
|
||||||
@ -590,11 +838,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:29 GMT
|
- Mon, 18 Sep 2017 08:54:32 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1972'
|
- '2048'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -603,12 +851,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjynUtcAbsRqG
|
- req_CfM49U0xLMpVKX
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -617,17 +867,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
"id": "in_1B3L1P2sOmf47Nz9jJ905GpU",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 1000,
|
"amount_due": 1000,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_17xIUD2sOmf47Nz9ScdFhmGL",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L1Q2sOmf47Nz9BOHlC9jv",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1459956148,
|
"date": 1505724871,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -636,17 +887,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
|
"id": "ii_1B3L1K2sOmf47Nz9qJv9M20Q",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 1000,
|
"amount": 1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724866,
|
||||||
"end": 1459956145
|
"end": 1505724866
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -655,17 +906,17 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
|
"id": "ii_1B3L1J2sOmf47Nz9Qjf0ElJ7",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459956145,
|
"start": 1505724865,
|
||||||
"end": 1459956145
|
"end": 1505724865
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -676,14 +927,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 2,
|
"total_count": 2,
|
||||||
"url": "/v1/invoices/in_17xIUC2sOmf47Nz9RmCbPPpz/lines"
|
"url": "/v1/invoices/in_1B3L1P2sOmf47Nz9jJ905GpU/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "80bcaa9d6c-0004",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1459956148,
|
"period_end": 1505724871,
|
||||||
"period_start": 1459956148,
|
"period_start": 1505724871,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -692,13 +944,13 @@ http_interactions:
|
|||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 1000,
|
"total": 1000,
|
||||||
"webhooks_delivered_at": 1459956148
|
"webhooks_delivered_at": 1505724871
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:29 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:32 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_17xIU82sOmf47Nz94aVn3WmU
|
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI/sources/card_1B3L1I2sOmf47Nz9bQ7Ubbqd
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -714,9 +966,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -725,7 +977,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 15:22:30 GMT
|
- Mon, 18 Sep 2017 08:54:33 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -738,12 +990,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DjyJ9JQVHnxT0
|
- req_iV2lD3XQlaQT5F
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -753,8 +1007,8 @@ http_interactions:
|
|||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"deleted": true,
|
"deleted": true,
|
||||||
"id": "card_17xIU82sOmf47Nz94aVn3WmU"
|
"id": "card_1B3L1I2sOmf47Nz9bQ7Ubbqd"
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 15:22:30 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:33 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4000000000000002&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Mon, 11 Jul 2016 13:26:13 GMT
|
- Mon, 18 Sep 2017 08:53:31 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '780'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8nflaXEiTf6O0X
|
- req_uPtkdMZa7Vrhh0
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_18W4QL2sOmf47Nz9GM695H9O",
|
"id": "tok_1B3L0R2sOmf47Nz9kqrwf4rs",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_18W4QL2sOmf47Nz9NuqbiJMr",
|
"id": "card_1B3L0R2sOmf47Nz9xB6kupfY",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "xsVM9Mfv9kfwhRSL",
|
"fingerprint": "xsVM9Mfv9kfwhRSL",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "0002",
|
"last4": "0002",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "82.122.118.54",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1468243573,
|
"created": 1505724811,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Mon, 11 Jul 2016 13:26:13 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:31 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+July+10%2C+2016+14%3A00+-+03%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
|
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:
|
|
||||||
- '124'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Mon, 11 Jul 2016 13:26:14 GMT
|
- Mon, 18 Sep 2017 08:53:32 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '468'
|
- '8647'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8nflWbFKH0Wr7j
|
- req_mxHkH6irMEaPi5
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,20 +152,403 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18W4QM2sOmf47Nz9g7EdrbZV",
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"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",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724462,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724462,
|
||||||
|
"end": 1505724462
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724432,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724432,
|
||||||
|
"end": 1505724432
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -675,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724418,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724418,
|
||||||
|
"end": 1505724418
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724417,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724417,
|
||||||
|
"end": 1505724417
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -510,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338732,
|
||||||
|
"description": "coupon XMAS10",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338732,
|
||||||
|
"end": 1473338732
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338731,
|
||||||
|
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338731,
|
||||||
|
"end": 1473338731
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -450,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321651,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321651,
|
||||||
|
"end": 1473321651
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -225,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1460041342,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041342,
|
||||||
|
"end": 1460041342
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951378,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951378,
|
||||||
|
"end": 1459951378
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951370,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951370,
|
||||||
|
"end": 1459951370
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:32 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
|
||||||
|
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:
|
||||||
|
- '129'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:53:33 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '473'
|
||||||
|
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_dsPsy5cWquMsHp
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 3200,
|
"amount": 3200,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1468243574,
|
"date": 1505724813,
|
||||||
"description": "FORM1+ imprimante 3D July 10, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1468243574,
|
"start": 1505724813,
|
||||||
"end": 1468243574
|
"end": 1505724813
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -171,7 +556,7 @@ http_interactions:
|
|||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Mon, 11 Jul 2016 13:26:14 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:33 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -190,9 +575,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -201,11 +586,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Mon, 11 Jul 2016 13:26:15 GMT
|
- Mon, 18 Sep 2017 08:53:34 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1408'
|
- '7733'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -214,12 +599,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8nflczxuJx3Fit
|
- req_zCowIoVV1dD8Cj
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -233,7 +620,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -245,7 +632,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -261,7 +648,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -276,20 +663,216 @@ http_interactions:
|
|||||||
},
|
},
|
||||||
"subscriptions": {
|
"subscriptions": {
|
||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [],
|
"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,
|
"has_more": false,
|
||||||
"total_count": 0,
|
"total_count": 3,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Mon, 11 Jul 2016 13:26:15 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:34 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card=tok_18W4QL2sOmf47Nz9GM695H9O
|
string: card=tok_1B3L0R2sOmf47Nz9kqrwf4rs
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -302,9 +885,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
|
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:
|
Content-Length:
|
||||||
- '33'
|
- '33'
|
||||||
response:
|
response:
|
||||||
@ -315,11 +898,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Mon, 11 Jul 2016 13:26:16 GMT
|
- Mon, 18 Sep 2017 08:53:35 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '134'
|
- '173'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -328,12 +911,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8nflIAexuhWlA2
|
- req_GnbA1i9ui5RfdB
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
body:
|
body:
|
||||||
@ -344,70 +929,10 @@ http_interactions:
|
|||||||
"message": "Your card was declined.",
|
"message": "Your card was declined.",
|
||||||
"type": "card_error",
|
"type": "card_error",
|
||||||
"param": "",
|
"param": "",
|
||||||
"code": "card_declined"
|
"code": "card_declined",
|
||||||
|
"decline_code": "generic_decline"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Mon, 11 Jul 2016 13:26:16 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:35 GMT
|
||||||
- request:
|
|
||||||
method: delete
|
|
||||||
uri: https://api.stripe.com/v1/invoiceitems/ii_18W4QM2sOmf47Nz9g7EdrbZV
|
|
||||||
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-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
|
||||||
mbp-sleede-peng.home 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05
|
|
||||||
PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64","hostname":"mbp-sleede-peng.home"}'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Mon, 11 Jul 2016 13:26:17 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '61'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_8nflVBopesOpHn
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"deleted": true,
|
|
||||||
"id": "ii_18W4QM2sOmf47Nz9g7EdrbZV"
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Mon, 11 Jul 2016 13:26:17 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:58 GMT
|
- Mon, 18 Sep 2017 08:53:36 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigzZOUKbFLP8
|
- req_IxVJETx0YE83qh
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_17xHFG2sOmf47Nz9pZ4CafpU",
|
"id": "tok_1B3L0W2sOmf47Nz9YIxXHgWn",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "86.76.5.109",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1459951378,
|
"created": 1505724816,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:36 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=3200¤cy=usd&description=FORM1%2B+imprimante+3D+April+11%2C+2016+14%3A00+-+03%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
|
||||||
- '125'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:58 GMT
|
- Mon, 18 Sep 2017 08:53:37 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '469'
|
- '9205'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigTaKJ04PVMc
|
- req_v0QlFIQhn3VFHz
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,28 +152,495 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724813,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": null,
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724813,
|
||||||
|
"end": 1505724813
|
||||||
|
},
|
||||||
|
"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",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724462,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724462,
|
||||||
|
"end": 1505724462
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724432,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724432,
|
||||||
|
"end": 1505724432
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -675,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724418,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724418,
|
||||||
|
"end": 1505724418
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724417,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724417,
|
||||||
|
"end": 1505724417
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -510,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338732,
|
||||||
|
"description": "coupon XMAS10",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338732,
|
||||||
|
"end": 1473338732
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338731,
|
||||||
|
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338731,
|
||||||
|
"end": 1473338731
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -450,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321651,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321651,
|
||||||
|
"end": 1473321651
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -225,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1460041342,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041342,
|
||||||
|
"end": 1460041342
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951378,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951378,
|
||||||
|
"end": 1459951378
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951370,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951370,
|
||||||
|
"end": 1459951370
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:37 GMT
|
||||||
|
- request:
|
||||||
|
method: delete
|
||||||
|
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0T2sOmf47Nz9OXEMdidl
|
||||||
|
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:53:38 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '61'
|
||||||
|
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_apPZpzQnYfS7IC
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"deleted": true,
|
||||||
|
"id": "ii_1B3L0T2sOmf47Nz9OXEMdidl"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:38 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
|
||||||
|
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:
|
||||||
|
- '129'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:53:38 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '473'
|
||||||
|
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_xeDUKVhcpnww2l
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 3200,
|
"amount": 3200,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1459951378,
|
"date": 1505724818,
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724818,
|
||||||
"end": 1459951378
|
"end": 1505724818
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:38 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -190,9 +659,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -201,11 +670,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:02:59 GMT
|
- Mon, 18 Sep 2017 08:53:40 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3462'
|
- '7733'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -214,12 +683,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Digc2V3aKSGrn
|
- req_NRtlLT39ygNjWM
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -233,7 +704,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -245,7 +716,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -261,7 +732,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -278,16 +749,48 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "sub_8Di9gqPLwt5IIC",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": true,
|
"cancel_at_period_end": true,
|
||||||
"canceled_at": 1459949404,
|
"canceled_at": 1505724793,
|
||||||
"current_period_end": 1462541399,
|
"created": 1505724789,
|
||||||
"current_period_start": 1459949399,
|
"current_period_end": 1508316789,
|
||||||
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -304,23 +807,55 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1459949399,
|
"start": 1505724789,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
"trial_start": null
|
"trial_start": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "sub_8Di2VadRvr7A99",
|
"id": "sub_BQBH03MUz5WO4y",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": true,
|
"cancel_at_period_end": true,
|
||||||
"canceled_at": 1459948972,
|
"canceled_at": 1505724499,
|
||||||
"current_period_end": 1462540968,
|
"created": 1505724494,
|
||||||
"current_period_start": 1459948968,
|
"current_period_end": 1508316494,
|
||||||
|
"current_period_start": 1505724494,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -337,7 +872,72 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1459948968,
|
"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",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
@ -345,18 +945,18 @@ http_interactions:
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 2,
|
"total_count": 3,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:02:59 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:40 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card=tok_17xHFG2sOmf47Nz9pZ4CafpU
|
string: card=tok_1B3L0W2sOmf47Nz9YIxXHgWn
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -369,9 +969,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '33'
|
- '33'
|
||||||
response:
|
response:
|
||||||
@ -382,7 +982,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:00 GMT
|
- Mon, 18 Sep 2017 08:53:41 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -395,12 +995,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigAxuQClwx3A
|
- req_tPZGiOLb8nT67d
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -409,7 +1011,7 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -425,7 +1027,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -433,14 +1035,14 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:00 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:42 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: default_source=card_17xHFG2sOmf47Nz95yErDQbL
|
string: default_source=card_1B3L0W2sOmf47Nz9IWFm3G6v
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -453,9 +1055,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '44'
|
- '44'
|
||||||
response:
|
response:
|
||||||
@ -466,11 +1068,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:01 GMT
|
- Mon, 18 Sep 2017 08:53:42 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '4190'
|
- '8461'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -479,12 +1081,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Dig1Js3cBEeqQ
|
- req_UzJfZWItnduFA2
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -498,7 +1102,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"default_source": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -510,7 +1114,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL",
|
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -526,7 +1130,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -535,7 +1139,7 @@ http_interactions:
|
|||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "card_17xGjJ2sOmf47Nz9UrQOP8Cl",
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -551,7 +1155,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -568,16 +1172,48 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "sub_8Di9gqPLwt5IIC",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": true,
|
"cancel_at_period_end": true,
|
||||||
"canceled_at": 1459949404,
|
"canceled_at": 1505724793,
|
||||||
"current_period_end": 1462541399,
|
"created": 1505724789,
|
||||||
"current_period_start": 1459949399,
|
"current_period_end": 1508316789,
|
||||||
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -594,23 +1230,55 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1459949399,
|
"start": 1505724789,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
"trial_start": null
|
"trial_start": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "sub_8Di2VadRvr7A99",
|
"id": "sub_BQBH03MUz5WO4y",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": true,
|
"cancel_at_period_end": true,
|
||||||
"canceled_at": 1459948972,
|
"canceled_at": 1505724499,
|
||||||
"current_period_end": 1462540968,
|
"created": 1505724494,
|
||||||
"current_period_start": 1459948968,
|
"current_period_end": 1508316494,
|
||||||
|
"current_period_start": 1505724494,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -627,7 +1295,72 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1459948968,
|
"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",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
@ -635,12 +1368,12 @@ http_interactions:
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 2,
|
"total_count": 3,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:01 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:43 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices
|
uri: https://api.stripe.com/v1/invoices
|
||||||
@ -659,9 +1392,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '27'
|
- '27'
|
||||||
response:
|
response:
|
||||||
@ -672,11 +1405,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:02 GMT
|
- Mon, 18 Sep 2017 08:53:44 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1426'
|
- '1498'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -685,12 +1418,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigRXqOIStdA0
|
- req_iD3i9JZhcdLh0e
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -699,17 +1434,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
"id": "in_1B3L0d2sOmf47Nz9sybqyVQx",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 3200,
|
"amount_due": 3200,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": false,
|
"attempted": false,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": false,
|
"closed": false,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1459951382,
|
"date": 1505724823,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
@ -718,17 +1454,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3200,
|
"amount": 3200,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724818,
|
||||||
"end": 1459951378
|
"end": 1505724818
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -739,14 +1475,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
|
"url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1459954982,
|
"next_payment_attempt": 1505728423,
|
||||||
|
"number": "d4cc0e661c-0007",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"period_end": 1459951382,
|
"period_end": 1508316421,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -757,11 +1494,11 @@ http_interactions:
|
|||||||
"total": 3200,
|
"total": 3200,
|
||||||
"webhooks_delivered_at": null
|
"webhooks_delivered_at": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:02 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:44 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/pay
|
uri: https://api.stripe.com/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/pay
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: ''
|
string: ''
|
||||||
@ -777,9 +1514,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '0'
|
- '0'
|
||||||
response:
|
response:
|
||||||
@ -790,11 +1527,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:03 GMT
|
- Mon, 18 Sep 2017 08:53:45 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1445'
|
- '1517'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -803,12 +1540,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8DigckzVuj8MLI
|
- req_lmWhdNT85zChxE
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -817,17 +1556,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
"id": "in_1B3L0d2sOmf47Nz9sybqyVQx",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 3200,
|
"amount_due": 3200,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_17xHFL2sOmf47Nz9FCQ0BJKc",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L0e2sOmf47Nz9z1pvTozK",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1459951382,
|
"date": 1505724823,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -836,17 +1576,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
"id": "ii_1B3L0Y2sOmf47Nz9e9W8bl2Z",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3200,
|
"amount": 3200,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1459951378,
|
"start": 1505724818,
|
||||||
"end": 1459951378
|
"end": 1505724818
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -857,14 +1597,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xHFK2sOmf47Nz9jegPFlNt/lines"
|
"url": "/v1/invoices/in_1B3L0d2sOmf47Nz9sybqyVQx/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "d4cc0e661c-0007",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1459951382,
|
"period_end": 1508316421,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -873,13 +1614,13 @@ http_interactions:
|
|||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 3200,
|
"total": 3200,
|
||||||
"webhooks_delivered_at": 1459951382
|
"webhooks_delivered_at": 1505724823
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:03 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:45 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_17xHFG2sOmf47Nz95yErDQbL
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0W2sOmf47Nz9IWFm3G6v
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -895,9 +1636,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -906,7 +1647,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Wed, 06 Apr 2016 14:03:04 GMT
|
- Mon, 18 Sep 2017 08:53:47 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -919,12 +1660,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8Dig3VHawFrxab
|
- req_UcuYTs0yXoHJnn
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -934,8 +1677,8 @@ http_interactions:
|
|||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"deleted": true,
|
"deleted": true,
|
||||||
"id": "card_17xHFG2sOmf47Nz95yErDQbL"
|
"id": "card_1B3L0W2sOmf47Nz9IWFm3G6v"
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Wed, 06 Apr 2016 14:03:04 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:47 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:41 GMT
|
- Mon, 18 Sep 2017 08:53:51 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLLl2gl7snRL
|
- req_g5bDFSuFxX1Wjc
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_18ZhUf2sOmf47Nz96Yt86HJI",
|
"id": "tok_1B3L0l2sOmf47Nz9dZknQMA5",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_18ZhUf2sOmf47Nz9LhkQeEmO",
|
"id": "card_1B3L0l2sOmf47Nz93J9duAzd",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "90.52.50.40",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1469108741,
|
"created": 1505724831,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:41 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:51 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzNtM08NVlSGN&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8CzNtM08NVlSGN&amount=0¤cy=usd&description=Formation+Imprimante+3D+July+18%2C+2016+08%3A00+-+12%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
|
||||||
- '122'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:42 GMT
|
- Mon, 18 Sep 2017 08:53:52 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '468'
|
- '9808'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,293 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLLf16BTkRiQ
|
- req_5q9RX2zw8G2dUx
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: ASCII-8BIT
|
||||||
|
string: !binary |-
|
||||||
|
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
|
||||||
|
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
|
||||||
|
S3pxMnNPbWY0N056OUlYN3JsSFN1IiwKICAgICAgImxpdmVtb2RlIjogZmFs
|
||||||
|
c2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAicGVyaW9kIjogewog
|
||||||
|
ICAgICAgICJzdGFydCI6IDE1MDU3MjQ3NjgsCiAgICAgICAgImVuZCI6IDE1
|
||||||
|
MDU3MjQ3NjgKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
|
||||||
|
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
|
||||||
|
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
|
||||||
|
aWQiOiAiaWlfMUIzS3ZTMnNPbWY0N056OWRSZVBsRDd2IiwKICAgICAgIm9i
|
||||||
|
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
|
||||||
|
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
|
||||||
|
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE1MDU3MjQ1MDIs
|
||||||
|
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
|
||||||
|
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzFC
|
||||||
|
M0t2VDJzT21mNDdOejlEVnY1ck9MUSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
|
||||||
|
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
|
||||||
|
ICAgICAgICAic3RhcnQiOiAxNTA1NzI0NTAyLAogICAgICAgICJlbmQiOiAx
|
||||||
|
NTA1NzI0NTAyCiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
|
||||||
|
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
|
||||||
|
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfSwKICAgIHsKICAgICAg
|
||||||
|
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
|
||||||
|
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
|
||||||
|
ICAgICAgICJzdGFydCI6IDE0NjkxMDg3NDIsCiAgICAgICAgImVuZCI6IDE0
|
||||||
|
NjkxMDg3NDIKICAgICAgfSwKICAgICAgInBsYW4iOiBudWxsLAogICAgICAi
|
||||||
|
cHJvcmF0aW9uIjogZmFsc2UsCiAgICAgICJxdWFudGl0eSI6IG51bGwsCiAg
|
||||||
|
ICAgICJzdWJzY3JpcHRpb24iOiBudWxsCiAgICB9LAogICAgewogICAgICAi
|
||||||
|
aWQiOiAiaWlfMThXNEdOMnNPbWY0N056OUsxZFRmVHlBIiwKICAgICAgIm9i
|
||||||
|
amVjdCI6ICJpbnZvaWNlaXRlbSIsCiAgICAgICJhbW91bnQiOiAtMTAwMCwK
|
||||||
|
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICJjdXN0b21lciI6ICJj
|
||||||
|
dXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAiZGF0ZSI6IDE0NjgyNDI5NTUs
|
||||||
|
CiAgICAgICJkZXNjcmlwdGlvbiI6ICJ3YWxsZXQgLTEwLjAiLAogICAgICAi
|
||||||
|
ZGlzY291bnRhYmxlIjogZmFsc2UsCiAgICAgICJpbnZvaWNlIjogImluXzE4
|
||||||
|
VzRHTzJzT21mNDdOejlvb3VEUTNoZSIsCiAgICAgICJsaXZlbW9kZSI6IGZh
|
||||||
|
bHNlLAogICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgInBlcmlvZCI6IHsK
|
||||||
|
ICAgICAgICAic3RhcnQiOiAxNDY4MjQyOTU1LAogICAgICAgICJlbmQiOiAx
|
||||||
|
NDY4MjQyOTU1CiAgICAgIH0sCiAgICAgICJwbGFuIjogbnVsbCwKICAgICAg
|
||||||
|
InByb3JhdGlvbiI6IGZhbHNlLAogICAgICAicXVhbnRpdHkiOiBudWxsLAog
|
||||||
|
ICAgICAic3Vic2NyaXB0aW9uIjogbnVsbAogICAgfQogIF0sCiAgImhhc19t
|
||||||
|
b3JlIjogZmFsc2UsCiAgInVybCI6ICIvdjEvaW52b2ljZWl0ZW1zIgp9Cg==
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:52 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
|
||||||
|
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:
|
||||||
|
- '127'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:53:53 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '473'
|
||||||
|
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_jhLdk03pPeN19q
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,28 +431,28 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
|
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1469108742,
|
"date": 1505724833,
|
||||||
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1469108742,
|
"start": 1505724833,
|
||||||
"end": 1469108742
|
"end": 1505724833
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:42 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:53 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems
|
||||||
@ -190,9 +471,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '78'
|
- '78'
|
||||||
response:
|
response:
|
||||||
@ -203,7 +484,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:43 GMT
|
- Mon, 18 Sep 2017 08:53:55 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -216,12 +497,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLqGKwXBxt3a
|
- req_uXl3hD1s1hVtKD
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -230,28 +513,28 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18ZhUh2sOmf47Nz902ykGybB",
|
"id": "ii_1B3L0o2sOmf47Nz9EBVSzY36",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": -1000,
|
"amount": -1000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1469108743,
|
"date": 1505724834,
|
||||||
"description": "wallet -10.0",
|
"description": "wallet -10.0",
|
||||||
"discountable": false,
|
"discountable": false,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1469108743,
|
"start": 1505724834,
|
||||||
"end": 1469108743
|
"end": 1505724834
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:43 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:55 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
||||||
@ -270,9 +553,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -281,11 +564,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:44 GMT
|
- Mon, 18 Sep 2017 08:53:55 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '2561'
|
- '5869'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -294,12 +577,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLPVnSOwscpK
|
- req_vWLNKAs5Aweszt
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -310,14 +595,14 @@ http_interactions:
|
|||||||
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
||||||
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
||||||
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
||||||
dF9zb3VyY2UiOiAiY2FyZF8xOFc0R0syc09tZjQ3Tno5SzZkZlNtWmwiLAog
|
dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog
|
||||||
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
||||||
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
||||||
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
||||||
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
||||||
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThXNEdLMnNPbWY0N056
|
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056
|
||||||
OUs2ZGZTbVpsIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
||||||
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
||||||
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
||||||
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
||||||
@ -327,7 +612,7 @@ http_interactions:
|
|||||||
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
||||||
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
||||||
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
||||||
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
|
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
|
||||||
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
||||||
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
||||||
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
||||||
@ -336,36 +621,110 @@ http_interactions:
|
|||||||
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
||||||
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
||||||
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
||||||
ICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICAg
|
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg
|
||||||
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
||||||
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
|
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
|
||||||
cGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ2
|
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
|
||||||
ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0NjgyNDI5NTYsCiAgICAg
|
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
|
||||||
ICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEzNTYsCiAgICAgICAg
|
MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg
|
||||||
ImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAgICAgICAi
|
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj
|
||||||
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlz
|
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1
|
||||||
Y291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAg
|
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
|
||||||
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30s
|
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
|
||||||
CiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10
|
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
|
||||||
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
|
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
|
||||||
ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6
|
ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg
|
||||||
IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAg
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
|
||||||
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6
|
ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0
|
||||||
ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg
|
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
|
||||||
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEi
|
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
|
||||||
OiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVp
|
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
|
||||||
dCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFu
|
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
|
||||||
ZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRf
|
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
|
||||||
ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh
|
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
|
||||||
eXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAog
|
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
|
||||||
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAgICAgInN0YXR1cyI6
|
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
|
||||||
ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAg
|
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
|
||||||
ICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0Ijog
|
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
|
||||||
bnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAg
|
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
|
||||||
ICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJz
|
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
|
||||||
L2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo=
|
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
|
||||||
http_version:
|
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:44 GMT
|
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==
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:55 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
||||||
@ -384,9 +743,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -395,11 +754,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:45 GMT
|
- Mon, 18 Sep 2017 08:53:56 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '2561'
|
- '5869'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -408,12 +767,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLZ9w0ZwAlFB
|
- req_A4QdLbLnyGL92R
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -424,14 +785,14 @@ http_interactions:
|
|||||||
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
||||||
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
||||||
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
||||||
dF9zb3VyY2UiOiAiY2FyZF8xOFc0R0syc09tZjQ3Tno5SzZkZlNtWmwiLAog
|
dF9zb3VyY2UiOiAiY2FyZF8xQjNLdlEyc09tZjQ3Tno5Rmc2QWxjUzEiLAog
|
||||||
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
||||||
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
||||||
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
||||||
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
||||||
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThXNEdLMnNPbWY0N056
|
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzS3ZRMnNPbWY0N056
|
||||||
OUs2ZGZTbVpsIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
OUZnNkFsY1MxIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
||||||
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
||||||
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
||||||
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
||||||
@ -441,7 +802,7 @@ http_interactions:
|
|||||||
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
||||||
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
||||||
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
||||||
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
|
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
|
||||||
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
||||||
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
||||||
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
||||||
@ -450,42 +811,116 @@ http_interactions:
|
|||||||
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
||||||
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
||||||
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
||||||
ICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lRUlF6eDEiLAogICAg
|
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUltdVVXYnJqekIiLAogICAg
|
||||||
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
||||||
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
|
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
|
||||||
cGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ2
|
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
|
||||||
ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0NjgyNDI5NTYsCiAgICAg
|
cmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE1MDU3
|
||||||
ICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEzNTYsCiAgICAgICAg
|
MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1NzI0NTAzLAogICAgICAg
|
||||||
ImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1NiwKICAgICAgICAi
|
ICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2NTAzLAogICAgICAgICJj
|
||||||
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiZGlz
|
dXJyZW50X3BlcmlvZF9zdGFydCI6IDE1MDU3MjQ1MDMsCiAgICAgICAgImN1
|
||||||
Y291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAg
|
c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2Nv
|
||||||
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1ldGFkYXRhIjoge30s
|
dW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAg
|
||||||
CiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10
|
ICJpdGVtcyI6IHsKICAgICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAg
|
||||||
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
|
ICAgICAiZGF0YSI6IFsKICAgICAgICAgICAgewogICAgICAgICAgICAgICJp
|
||||||
ICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6
|
ZCI6ICJzaV8xQjNLdlQyc09tZjQ3Tno5dTNpTWE1U3oiLAogICAgICAgICAg
|
||||||
IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAg
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uX2l0ZW0iLAogICAgICAgICAg
|
||||||
ICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6
|
ICAgICJjcmVhdGVkIjogMTUwNTcyNDUwMywKICAgICAgICAgICAgICAibWV0
|
||||||
ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAg
|
YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
|
||||||
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEi
|
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
|
||||||
OiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVp
|
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICAgICAgICJvYmplY3Qi
|
||||||
dCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFu
|
OiAicGxhbiIsCiAgICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAg
|
||||||
ZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRf
|
ICAgICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAg
|
||||||
ZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2Rh
|
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICAgImlu
|
||||||
eXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAog
|
dGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAgICJpbnRlcnZhbF9j
|
||||||
ICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAgICAgInN0YXR1cyI6
|
b3VudCI6IDEsCiAgICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwK
|
||||||
ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAg
|
ICAgICAgICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAg
|
||||||
ICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0Ijog
|
ICAgIm5hbWUiOiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50
|
||||||
bnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAg
|
LCAtIGRlIDI1IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9p
|
||||||
ICAidG90YWxfY291bnQiOiAxLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJz
|
IC0gbW9udGgiLAogICAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlw
|
||||||
L2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25zIgogIH0KfQo=
|
dG9yIjogbnVsbCwKICAgICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5
|
||||||
http_version:
|
cyI6IG51bGwKICAgICAgICAgICAgICB9LAogICAgICAgICAgICAgICJxdWFu
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:45 GMT
|
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==
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:56 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_18ZhUf2sOmf47Nz96Yt86HJI
|
string: plan=mensuel-tarif-reduit-student-month-20160404171827&source=tok_1B3L0l2sOmf47Nz9dZknQMA5
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -498,9 +933,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '90'
|
- '90'
|
||||||
response:
|
response:
|
||||||
@ -511,11 +946,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:46 GMT
|
- Mon, 18 Sep 2017 08:53:58 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '926'
|
- '1829'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -524,12 +959,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQL1c3JVc0vk5
|
- req_YR1JnosO8FxVqH
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -537,29 +974,49 @@ http_interactions:
|
|||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: !binary |-
|
string: !binary |-
|
||||||
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
|
||||||
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
||||||
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
|
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
|
||||||
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICJj
|
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
|
||||||
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICJjdXJyZW50X3Bl
|
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w
|
||||||
cmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgImN1c3RvbWVyIjogImN1c184
|
ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh
|
||||||
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
|
cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
|
||||||
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
|
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
|
||||||
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
|
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
|
||||||
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
|
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0
|
||||||
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
|
N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
|
||||||
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
|
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg
|
||||||
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
|
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
|
||||||
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
|
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
|
||||||
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
|
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
|
||||||
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
|
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
|
||||||
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
|
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
|
||||||
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
|
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
|
||||||
MSwKICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICJzdGF0dXMiOiAiYWN0aXZl
|
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
|
||||||
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
|
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
|
||||||
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
|
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
|
||||||
http_version:
|
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:46 GMT
|
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
|
||||||
|
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
|
||||||
|
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
|
||||||
|
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
|
||||||
|
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV
|
||||||
|
bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
|
||||||
|
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
|
||||||
|
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
|
||||||
|
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
|
||||||
|
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
|
||||||
|
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
|
||||||
|
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
|
||||||
|
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
|
||||||
|
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
|
||||||
|
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
|
||||||
|
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
|
||||||
|
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0
|
||||||
|
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
|
||||||
|
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:58 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1
|
uri: https://api.stripe.com/v1/invoices?customer=cus_8CzNtM08NVlSGN&limit=1
|
||||||
@ -578,9 +1035,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -589,11 +1046,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:47 GMT
|
- Mon, 18 Sep 2017 08:53:59 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3439'
|
- '3584'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -602,12 +1059,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLSdX3E9CFcJ
|
- req_OnEblbUmBqmr3M
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -616,84 +1075,87 @@ http_interactions:
|
|||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: !binary |-
|
string: !binary |-
|
||||||
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
|
ewogICJvYmplY3QiOiAibGlzdCIsCiAgImRhdGEiOiBbCiAgICB7CiAgICAg
|
||||||
ICJpZCI6ICJpbl8xOFpoVWoyc09tZjQ3Tno5cjhMS0lCTksiLAogICAgICAi
|
ICJpZCI6ICJpbl8xQjNMMHIyc09tZjQ3Tno5NFpNeUtVcDEiLAogICAgICAi
|
||||||
b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs
|
b2JqZWN0IjogImludm9pY2UiLAogICAgICAiYW1vdW50X2R1ZSI6IDEwMDAs
|
||||||
CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w
|
CiAgICAgICJhcHBsaWNhdGlvbl9mZWUiOiBudWxsLAogICAgICAiYXR0ZW1w
|
||||||
dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi
|
dF9jb3VudCI6IDEsCiAgICAgICJhdHRlbXB0ZWQiOiB0cnVlLAogICAgICAi
|
||||||
Y2hhcmdlIjogImNoXzE4WmhVazJzT21mNDdOejl2VVpXbWFZdSIsCiAgICAg
|
YmlsbGluZyI6ICJjaGFyZ2VfYXV0b21hdGljYWxseSIsCiAgICAgICJjaGFy
|
||||||
ICJjbG9zZWQiOiB0cnVlLAogICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
|
Z2UiOiAiY2hfMUIzTDByMnNPbWY0N056OU1PV0V0VlpGIiwKICAgICAgImNs
|
||||||
ICAgImN1c3RvbWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICJk
|
b3NlZCI6IHRydWUsCiAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAi
|
||||||
YXRlIjogMTQ2OTEwODc0NSwKICAgICAgImRlc2NyaXB0aW9uIjogbnVsbCwK
|
Y3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgImRhdGUi
|
||||||
ICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgImVuZGluZ19iYWxhbmNl
|
OiAxNTA1NzI0ODM3LAogICAgICAiZGVzY3JpcHRpb24iOiBudWxsLAogICAg
|
||||||
IjogMCwKICAgICAgImZvcmdpdmVuIjogZmFsc2UsCiAgICAgICJsaW5lcyI6
|
ICAiZGlzY291bnQiOiBudWxsLAogICAgICAiZW5kaW5nX2JhbGFuY2UiOiAw
|
||||||
IHsKICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICJkYXRhIjog
|
LAogICAgICAiZm9yZ2l2ZW4iOiBmYWxzZSwKICAgICAgImxpbmVzIjogewog
|
||||||
WwogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAiaWlfMThaaFVoMnNP
|
ICAgICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAgICAgImRhdGEiOiBbCiAg
|
||||||
bWY0N056OTAyeWtHeWJCIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5l
|
ICAgICAgICB7CiAgICAgICAgICAgICJpZCI6ICJpaV8xQjNMMG8yc09tZjQ3
|
||||||
X2l0ZW0iLAogICAgICAgICAgICAiYW1vdW50IjogLTEwMDAsCiAgICAgICAg
|
Tno5RUJWU3pZMzYiLAogICAgICAgICAgICAib2JqZWN0IjogImxpbmVfaXRl
|
||||||
ICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRp
|
bSIsCiAgICAgICAgICAgICJhbW91bnQiOiAtMTAwMCwKICAgICAgICAgICAg
|
||||||
b24iOiAid2FsbGV0IC0xMC4wIiwKICAgICAgICAgICAgImRpc2NvdW50YWJs
|
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6
|
||||||
ZSI6IGZhbHNlLAogICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
|
ICJ3YWxsZXQgLTEwLjAiLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjog
|
||||||
ICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAgICJwZXJpb2Qi
|
ZmFsc2UsCiAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
|
||||||
OiB7CiAgICAgICAgICAgICAgInN0YXJ0IjogMTQ2OTEwODc0MywKICAgICAg
|
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgInBlcmlvZCI6IHsK
|
||||||
ICAgICAgICAiZW5kIjogMTQ2OTEwODc0MwogICAgICAgICAgICB9LAogICAg
|
ICAgICAgICAgICAgICAic3RhcnQiOiAxNTA1NzI0ODM0LAogICAgICAgICAg
|
||||||
ICAgICAgICAicGxhbiI6IG51bGwsCiAgICAgICAgICAgICJwcm9yYXRpb24i
|
ICAgICJlbmQiOiAxNTA1NzI0ODM0CiAgICAgICAgICAgIH0sCiAgICAgICAg
|
||||||
OiBmYWxzZSwKICAgICAgICAgICAgInF1YW50aXR5IjogbnVsbCwKICAgICAg
|
ICAgICJwbGFuIjogbnVsbCwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZh
|
||||||
ICAgICAgInN1YnNjcmlwdGlvbiI6IG51bGwsCiAgICAgICAgICAgICJ0eXBl
|
bHNlLAogICAgICAgICAgICAicXVhbnRpdHkiOiBudWxsLAogICAgICAgICAg
|
||||||
IjogImludm9pY2VpdGVtIgogICAgICAgICAgfSwKICAgICAgICAgIHsKICAg
|
ICAic3Vic2NyaXB0aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAi
|
||||||
ICAgICAgICAgImlkIjogImlpXzE4WmhVZzJzT21mNDdOejl2U3NsNUo5eiIs
|
aW52b2ljZWl0ZW0iCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAg
|
||||||
CiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVtIiwKICAgICAgICAg
|
ICAgICAiaWQiOiAiaWlfMUIzTDBuMnNPbWY0N056OUF1enFsWGtUIiwKICAg
|
||||||
ICAgImFtb3VudCI6IDAsCiAgICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
|
ICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0iLAogICAgICAgICAgICAi
|
||||||
LAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiAiRm9ybWF0aW9uIEltcHJp
|
YW1vdW50IjogMCwKICAgICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAg
|
||||||
bWFudGUgM0QgSnVseSAxOCwgMjAxNiAwODowMCAtIDEyOjAwIFBNIiwKICAg
|
ICAgICAgICAgICJkZXNjcmlwdGlvbiI6ICJGb3JtYXRpb24gSW1wcmltYW50
|
||||||
ICAgICAgICAgImRpc2NvdW50YWJsZSI6IHRydWUsCiAgICAgICAgICAgICJs
|
ZSAzRCBTZXB0ZW1iZXIgMTgsIDIwMTcgMDg6MDAgLSAxMjowMCBQTSIsCiAg
|
||||||
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwK
|
ICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAgICAgICAi
|
||||||
ICAgICAgICAgICAgInBlcmlvZCI6IHsKICAgICAgICAgICAgICAic3RhcnQi
|
bGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRhIjoge30s
|
||||||
OiAxNDY5MTA4NzQyLAogICAgICAgICAgICAgICJlbmQiOiAxNDY5MTA4NzQy
|
CiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAgInN0YXJ0
|
||||||
CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJwbGFuIjogbnVsbCwKICAg
|
IjogMTUwNTcyNDgzMywKICAgICAgICAgICAgICAiZW5kIjogMTUwNTcyNDgz
|
||||||
ICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAgICAgICAgICAicXVh
|
MwogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IG51bGwsCiAg
|
||||||
bnRpdHkiOiBudWxsLAogICAgICAgICAgICAic3Vic2NyaXB0aW9uIjogbnVs
|
ICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAgICAgICAgICAgInF1
|
||||||
bCwKICAgICAgICAgICAgInR5cGUiOiAiaW52b2ljZWl0ZW0iCiAgICAgICAg
|
YW50aXR5IjogbnVsbCwKICAgICAgICAgICAgInN1YnNjcmlwdGlvbiI6IG51
|
||||||
ICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaWQiOiAic3ViXzhyUUxr
|
bGwsCiAgICAgICAgICAgICJ0eXBlIjogImludm9pY2VpdGVtIgogICAgICAg
|
||||||
bFVVVVFlNjZrIiwKICAgICAgICAgICAgIm9iamVjdCI6ICJsaW5lX2l0ZW0i
|
ICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgImlkIjogInN1Yl9CUUJO
|
||||||
LAogICAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICAgImN1
|
bmtVbGNpaTNyMSIsCiAgICAgICAgICAgICJvYmplY3QiOiAibGluZV9pdGVt
|
||||||
cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICJkZXNjcmlwdGlvbiI6IG51
|
IiwKICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAgICJj
|
||||||
bGwsCiAgICAgICAgICAgICJkaXNjb3VudGFibGUiOiB0cnVlLAogICAgICAg
|
dXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAiZGVzY3JpcHRpb24iOiBu
|
||||||
ICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICAgIm1ldGFkYXRh
|
dWxsLAogICAgICAgICAgICAiZGlzY291bnRhYmxlIjogdHJ1ZSwKICAgICAg
|
||||||
Ijoge30sCiAgICAgICAgICAgICJwZXJpb2QiOiB7CiAgICAgICAgICAgICAg
|
ICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAgICJtZXRhZGF0
|
||||||
InN0YXJ0IjogMTQ2OTEwODc0NSwKICAgICAgICAgICAgICAiZW5kIjogMTQ3
|
YSI6IHt9LAogICAgICAgICAgICAicGVyaW9kIjogewogICAgICAgICAgICAg
|
||||||
MTc4NzE0NQogICAgICAgICAgICB9LAogICAgICAgICAgICAicGxhbiI6IHsK
|
ICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgICAgICAgICAgICAgImVuZCI6IDE1
|
||||||
ICAgICAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1
|
MDgzMTY4MzcKICAgICAgICAgICAgfSwKICAgICAgICAgICAgInBsYW4iOiB7
|
||||||
ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgIm9i
|
CiAgICAgICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0
|
||||||
amVjdCI6ICJwbGFuIiwKICAgICAgICAgICAgICAiYW1vdW50IjogMjAwMCwK
|
dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgICAgICJv
|
||||||
ICAgICAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAg
|
YmplY3QiOiAicGxhbiIsCiAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAs
|
||||||
ICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAgICAgImludGVy
|
CiAgICAgICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
|
||||||
dmFsIjogIm1vbnRoIiwKICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
|
ICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgICAgICJpbnRl
|
||||||
OiAxLAogICAgICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAg
|
cnZhbCI6ICJtb250aCIsCiAgICAgICAgICAgICAgImludGVydmFsX2NvdW50
|
||||||
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgICAgICJuYW1lIjog
|
IjogMSwKICAgICAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAg
|
||||||
Ik1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBh
|
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAibmFtZSI6
|
||||||
bnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwK
|
ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUgMjUg
|
||||||
ICAgICAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
|
YW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250aCIs
|
||||||
ICAgICAgICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAg
|
CiAgICAgICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwK
|
||||||
ICAgICAgfSwKICAgICAgICAgICAgInByb3JhdGlvbiI6IGZhbHNlLAogICAg
|
ICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAg
|
||||||
ICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICAgICAic3Vic2NyaXB0
|
ICAgICAgIH0sCiAgICAgICAgICAgICJwcm9yYXRpb24iOiBmYWxzZSwKICAg
|
||||||
aW9uIjogbnVsbCwKICAgICAgICAgICAgInR5cGUiOiAic3Vic2NyaXB0aW9u
|
ICAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAgICAgInN1YnNjcmlw
|
||||||
IgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImhhc19tb3JlIjog
|
dGlvbiI6IG51bGwsCiAgICAgICAgICAgICJzdWJzY3JpcHRpb25faXRlbSI6
|
||||||
ZmFsc2UsCiAgICAgICAgInRvdGFsX2NvdW50IjogMywKICAgICAgICAidXJs
|
ICJzaV8xQjNMMHIyc09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICAgICAi
|
||||||
IjogIi92MS9pbnZvaWNlcy9pbl8xOFpoVWoyc09tZjQ3Tno5cjhMS0lCTksv
|
dHlwZSI6ICJzdWJzY3JpcHRpb24iCiAgICAgICAgICB9CiAgICAgICAgXSwK
|
||||||
bGluZXMiCiAgICAgIH0sCiAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAg
|
ICAgICAgICAiaGFzX21vcmUiOiBmYWxzZSwKICAgICAgICAidG90YWxfY291
|
||||||
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgIm5leHRfcGF5bWVudF9hdHRlbXB0
|
bnQiOiAzLAogICAgICAgICJ1cmwiOiAiL3YxL2ludm9pY2VzL2luXzFCM0ww
|
||||||
IjogbnVsbCwKICAgICAgInBhaWQiOiB0cnVlLAogICAgICAicGVyaW9kX2Vu
|
cjJzT21mNDdOejk0Wk15S1VwMS9saW5lcyIKICAgICAgfSwKICAgICAgImxp
|
||||||
ZCI6IDE0NjkxMDg3NDUsCiAgICAgICJwZXJpb2Rfc3RhcnQiOiAxNDY4MjQy
|
dmVtb2RlIjogZmFsc2UsCiAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAi
|
||||||
OTU2LAogICAgICAicmVjZWlwdF9udW1iZXIiOiBudWxsLAogICAgICAic3Rh
|
bmV4dF9wYXltZW50X2F0dGVtcHQiOiBudWxsLAogICAgICAibnVtYmVyIjog
|
||||||
cnRpbmdfYmFsYW5jZSI6IDAsCiAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRv
|
IjllYmZlYWQyMGItMDAwNiIsCiAgICAgICJwYWlkIjogdHJ1ZSwKICAgICAg
|
||||||
ciI6IG51bGwsCiAgICAgICJzdWJzY3JpcHRpb24iOiAic3ViXzhyUUxrbFVV
|
InBlcmlvZF9lbmQiOiAxNTA1NzI0ODM3LAogICAgICAicGVyaW9kX3N0YXJ0
|
||||||
VVFlNjZrIiwKICAgICAgInN1YnRvdGFsIjogMTAwMCwKICAgICAgInRheCI6
|
IjogMTUwNTcyNDQ1MiwKICAgICAgInJlY2VpcHRfbnVtYmVyIjogbnVsbCwK
|
||||||
IG51bGwsCiAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICJ0b3Rh
|
ICAgICAgInN0YXJ0aW5nX2JhbGFuY2UiOiAwLAogICAgICAic3RhdGVtZW50
|
||||||
bCI6IDEwMDAsCiAgICAgICJ3ZWJob29rc19kZWxpdmVyZWRfYXQiOiAxNDY5
|
X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAic3Vic2NyaXB0aW9uIjogInN1
|
||||||
MTA4NzQ2CiAgICB9CiAgXSwKICAiaGFzX21vcmUiOiB0cnVlLAogICJ1cmwi
|
Yl9CUUJObmtVbGNpaTNyMSIsCiAgICAgICJzdWJ0b3RhbCI6IDEwMDAsCiAg
|
||||||
OiAiL3YxL2ludm9pY2VzIgp9Cg==
|
ICAgICJ0YXgiOiBudWxsLAogICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAog
|
||||||
http_version:
|
ICAgICAidG90YWwiOiAxMDAwLAogICAgICAid2ViaG9va3NfZGVsaXZlcmVk
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:47 GMT
|
X2F0IjogMTUwNTcyNDgzOAogICAgfQogIF0sCiAgImhhc19tb3JlIjogdHJ1
|
||||||
|
ZSwKICAidXJsIjogIi92MS9pbnZvaWNlcyIKfQo=
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:59 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN
|
||||||
@ -712,9 +1174,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -723,11 +1185,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:48 GMT
|
- Mon, 18 Sep 2017 08:54:00 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3698'
|
- '8089'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -736,12 +1198,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLtUHnQxh6hr
|
- req_Mb0MtGBJXv6u0u
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -752,14 +1216,14 @@ http_interactions:
|
|||||||
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICJvYmplY3QiOiAi
|
||||||
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
||||||
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
IjogMTQ1OTc4Mjg0OSwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
||||||
dF9zb3VyY2UiOiAiY2FyZF8xOFpoVWYyc09tZjQ3Tno5TGhrUWVFbU8iLAog
|
dF9zb3VyY2UiOiAiY2FyZF8xQjNMMGwyc09tZjQ3Tno5M0o5ZHVBemQiLAog
|
||||||
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIlZhbmVz
|
||||||
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
c2EgTG9uY2hhbXAiLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVtYWlsIjog
|
||||||
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
InZhbmVzc2EubG9uY2hhbXBAc2ZyLmZyIiwKICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
ZSwKICAibWV0YWRhdGEiOiB7fSwKICAic2hpcHBpbmciOiBudWxsLAogICJz
|
||||||
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
b3VyY2VzIjogewogICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjog
|
||||||
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMThaaFVmMnNPbWY0N056
|
WwogICAgICB7CiAgICAgICAgImlkIjogImNhcmRfMUIzTDBsMnNPbWY0N056
|
||||||
OUxoa1FlRW1PIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
OTNKOWR1QXpkIiwKICAgICAgICAib2JqZWN0IjogImNhcmQiLAogICAgICAg
|
||||||
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
ICJhZGRyZXNzX2NpdHkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2NvdW50
|
||||||
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
cnkiOiBudWxsLAogICAgICAgICJhZGRyZXNzX2xpbmUxIjogbnVsbCwKICAg
|
||||||
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
ICAgICAiYWRkcmVzc19saW5lMV9jaGVjayI6IG51bGwsCiAgICAgICAgImFk
|
||||||
@ -769,7 +1233,7 @@ http_interactions:
|
|||||||
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
c2EiLAogICAgICAgICJjb3VudHJ5IjogIlVTIiwKICAgICAgICAiY3VzdG9t
|
||||||
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
ZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwKICAgICAgICAiY3ZjX2NoZWNr
|
||||||
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
IjogInBhc3MiLAogICAgICAgICJkeW5hbWljX2xhc3Q0IjogbnVsbCwKICAg
|
||||||
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE3
|
ICAgICAiZXhwX21vbnRoIjogNCwKICAgICAgICAiZXhwX3llYXIiOiAyMDE4
|
||||||
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
LAogICAgICAgICJmaW5nZXJwcmludCI6ICJvNTJqeWJSN2JubU5uNkFUIiwK
|
||||||
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
ICAgICAgICAiZnVuZGluZyI6ICJjcmVkaXQiLAogICAgICAgICJsYXN0NCI6
|
||||||
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
ICI0MjQyIiwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAibmFt
|
||||||
@ -778,65 +1242,162 @@ http_interactions:
|
|||||||
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92MS9jdXN0b21lcnMvY3Vz
|
||||||
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
XzhDek50TTA4TlZsU0dOL3NvdXJjZXMiCiAgfSwKICAic3Vic2NyaXB0aW9u
|
||||||
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
cyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAgICAiZGF0YSI6IFsKICAg
|
||||||
ICAgewogICAgICAgICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICAg
|
ICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICAg
|
||||||
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
ICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGlj
|
||||||
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRf
|
YXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJiaWxsaW5nIjog
|
||||||
cGVyaW9kX2VuZCI6IGZhbHNlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IG51
|
ImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAgICAiY2FuY2VsX2F0X3Bl
|
||||||
bGwsCiAgICAgICAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICAgICAgICJj
|
cmlvZF9lbmQiOiBmYWxzZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiBudWxs
|
||||||
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICAgICAgICJjdXJy
|
LAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAgICAgICAiY3Vy
|
||||||
ZW50X3BlcmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgICAgICAgImN1c3Rv
|
cmVudF9wZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAgICAgICAiY3VycmVu
|
||||||
bWVyIjogImN1c184Q3pOdE0wOE5WbFNHTiIsCiAgICAgICAgImRpc2NvdW50
|
dF9wZXJpb2Rfc3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJjdXN0b21l
|
||||||
IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAgICAgICJs
|
ciI6ICJjdXNfOEN6TnRNMDhOVmxTR04iLAogICAgICAgICJkaXNjb3VudCI6
|
||||||
aXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAg
|
IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAgICAiaXRl
|
||||||
ICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
|
bXMiOiB7CiAgICAgICAgICAib2JqZWN0IjogImxpc3QiLAogICAgICAgICAg
|
||||||
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAg
|
ImRhdGEiOiBbCiAgICAgICAgICAgIHsKICAgICAgICAgICAgICAiaWQiOiAi
|
||||||
ICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAw
|
c2lfMUIzTDByMnNPbWY0N056OUtLZFYxenNKIiwKICAgICAgICAgICAgICAi
|
||||||
LAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAg
|
b2JqZWN0IjogInN1YnNjcmlwdGlvbl9pdGVtIiwKICAgICAgICAgICAgICAi
|
||||||
ImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9u
|
Y3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAgICAgICAgICAgIm1ldGFkYXRh
|
||||||
dGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAg
|
Ijoge30sCiAgICAgICAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAgICAg
|
||||||
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30s
|
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
|
||||||
CiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDD
|
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAgICAgICAib2JqZWN0IjogInBs
|
||||||
qXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIg
|
YW4iLAogICAgICAgICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAg
|
||||||
ZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
|
ICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAgICAg
|
||||||
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
|
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICAgICAgICJpbnRlcnZh
|
||||||
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
|
bCI6ICJtb250aCIsCiAgICAgICAgICAgICAgICAiaW50ZXJ2YWxfY291bnQi
|
||||||
ICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICAgICAgICJzdGF0dXMiOiAiYWN0
|
OiAxLAogICAgICAgICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
|
||||||
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
|
ICAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICAgICAgICJu
|
||||||
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
|
YW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBk
|
||||||
ICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfOG5mYlRHR0lR
|
ZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1v
|
||||||
UlF6eDEiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAg
|
bnRoIiwKICAgICAgICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
|
||||||
ICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAg
|
IG51bGwsCiAgICAgICAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBu
|
||||||
ICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNl
|
dWxsCiAgICAgICAgICAgICAgfSwKICAgICAgICAgICAgICAicXVhbnRpdHki
|
||||||
bGVkX2F0IjogMTQ2ODI0Mjk2MCwKICAgICAgICAiY3JlYXRlZCI6IDE0Njgy
|
OiAxCiAgICAgICAgICAgIH0KICAgICAgICAgIF0sCiAgICAgICAgICAiaGFz
|
||||||
NDI5NTYsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzA5MjEz
|
X21vcmUiOiBmYWxzZSwKICAgICAgICAgICJ0b3RhbF9jb3VudCI6IDEsCiAg
|
||||||
NTYsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2ODI0Mjk1
|
ICAgICAgICAidXJsIjogIi92MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2Ny
|
||||||
NiwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhDek50TTA4TlZsU0dOIiwK
|
aXB0aW9uPXN1Yl9CUUJObmtVbGNpaTNyMSIKICAgICAgICB9LAogICAgICAg
|
||||||
ICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6
|
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAog
|
||||||
IG51bGwsCiAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgIm1l
|
ICAgICAgICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFy
|
||||||
dGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQi
|
aWYtcmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAg
|
||||||
OiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQw
|
ICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJhbW91bnQiOiAy
|
||||||
NDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAg
|
MDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAg
|
||||||
ICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3
|
ICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAi
|
||||||
ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAg
|
bW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50IjogMSwKICAgICAg
|
||||||
ICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291
|
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1ldGFkYXRhIjog
|
||||||
bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAg
|
e30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQg
|
||||||
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwg
|
LSDDqXR1ZGlhbnQsIC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRl
|
||||||
dGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMsIGVuc2Vp
|
dXIgZCdlbXBsb2kgLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rl
|
||||||
Z25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAgICAgICAg
|
c2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlz
|
||||||
ICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJp
|
IjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAg
|
||||||
YWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVh
|
ICAgICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICAgICAgICJzdGF0dXMiOiAi
|
||||||
bnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE0NjgyNDI5NTYsCiAgICAg
|
YWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAg
|
||||||
ICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6
|
ICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51
|
||||||
IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRy
|
bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJpZCI6ICJzdWJfQlFCSUlt
|
||||||
aWFsX3N0YXJ0IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3Jl
|
dVVXYnJqekIiLAogICAgICAgICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwK
|
||||||
IjogZmFsc2UsCiAgICAidG90YWxfY291bnQiOiAyLAogICAgInVybCI6ICIv
|
ICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAg
|
||||||
djEvY3VzdG9tZXJzL2N1c184Q3pOdE0wOE5WbFNHTi9zdWJzY3JpcHRpb25z
|
ICAgICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAgICAg
|
||||||
IgogIH0KfQo=
|
ICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5j
|
||||||
http_version:
|
ZWxlZF9hdCI6IDE1MDU3MjQ1MDcsCiAgICAgICAgImNyZWF0ZWQiOiAxNTA1
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:48 GMT
|
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==
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:00 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8rQLklUUUQe66k
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -852,9 +1413,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -863,11 +1424,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:48 GMT
|
- Mon, 18 Sep 2017 08:54:00 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '926'
|
- '1829'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -876,12 +1437,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLxhq9Ba8DPf
|
- req_UpIaYMWbYIydxW
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -889,32 +1452,52 @@ http_interactions:
|
|||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: !binary |-
|
string: !binary |-
|
||||||
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
|
||||||
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
||||||
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IGZhbHNlLAogICJjYW5j
|
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
|
||||||
ZWxlZF9hdCI6IG51bGwsCiAgImNyZWF0ZWQiOiAxNDY5MTA4NzQ1LAogICJj
|
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiBmYWxzZSwKICAiY2FuY2VsZWRfYXQi
|
||||||
dXJyZW50X3BlcmlvZF9lbmQiOiAxNDcxNzg3MTQ1LAogICJjdXJyZW50X3Bl
|
OiBudWxsLAogICJjcmVhdGVkIjogMTUwNTcyNDgzNywKICAiY3VycmVudF9w
|
||||||
cmlvZF9zdGFydCI6IDE0NjkxMDg3NDUsCiAgImN1c3RvbWVyIjogImN1c184
|
ZXJpb2RfZW5kIjogMTUwODMxNjgzNywKICAiY3VycmVudF9wZXJpb2Rfc3Rh
|
||||||
Q3pOdE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRf
|
cnQiOiAxNTA1NzI0ODM3LAogICJjdXN0b21lciI6ICJjdXNfOEN6TnRNMDhO
|
||||||
YXQiOiBudWxsLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0YSI6
|
VmxTR04iLAogICJkaXNjb3VudCI6IG51bGwsCiAgImVuZGVkX2F0IjogbnVs
|
||||||
IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVk
|
bCwKICAiaXRlbXMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRh
|
||||||
dWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9iamVj
|
dGEiOiBbCiAgICAgIHsKICAgICAgICAiaWQiOiAic2lfMUIzTDByMnNPbWY0
|
||||||
dCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0ZWQi
|
N056OUtLZFYxenNKIiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlv
|
||||||
OiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAiaW50
|
bl9pdGVtIiwKICAgICAgICAiY3JlYXRlZCI6IDE1MDU3MjQ4MzgsCiAgICAg
|
||||||
ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwKICAg
|
ICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAg
|
||||||
ICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAgICAi
|
ICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0y
|
||||||
bmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0g
|
MDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAog
|
||||||
ZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBt
|
ICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6
|
||||||
b250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAg
|
IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
|
||||||
InRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5Ijog
|
ICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2
|
||||||
MSwKICAic3RhcnQiOiAxNDY5MTA4NzQ1LAogICJzdGF0dXMiOiAiYWN0aXZl
|
YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAg
|
||||||
IiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBudWxs
|
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1l
|
||||||
LAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
|
bnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFudCwgLSBkZSAyNSBhbnMs
|
||||||
http_version:
|
IGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxvaSAtIG1vbnRoIiwKICAg
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:49 GMT
|
ICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAg
|
||||||
|
ICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAg
|
||||||
|
ICAicXVhbnRpdHkiOiAxCiAgICAgIH0KICAgIF0sCiAgICAiaGFzX21vcmUi
|
||||||
|
OiBmYWxzZSwKICAgICJ0b3RhbF9jb3VudCI6IDEsCiAgICAidXJsIjogIi92
|
||||||
|
MS9zdWJzY3JpcHRpb25faXRlbXM/c3Vic2NyaXB0aW9uPXN1Yl9CUUJObmtV
|
||||||
|
bGNpaTNyMSIKICB9LAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJtZXRhZGF0
|
||||||
|
YSI6IHt9LAogICJwbGFuIjogewogICAgImlkIjogIm1lbnN1ZWwtdGFyaWYt
|
||||||
|
cmVkdWl0LXN0dWRlbnQtbW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgIm9i
|
||||||
|
amVjdCI6ICJwbGFuIiwKICAgICJhbW91bnQiOiAyMDAwLAogICAgImNyZWF0
|
||||||
|
ZWQiOiAxNDU5NzgzMTA4LAogICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAi
|
||||||
|
aW50ZXJ2YWwiOiAibW9udGgiLAogICAgImludGVydmFsX2NvdW50IjogMSwK
|
||||||
|
ICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgIm1ldGFkYXRhIjoge30sCiAg
|
||||||
|
ICAibmFtZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQs
|
||||||
|
IC0gZGUgMjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kg
|
||||||
|
LSBtb250aCIsCiAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
|
||||||
|
ICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogIH0sCiAgInF1YW50aXR5
|
||||||
|
IjogMSwKICAic3RhcnQiOiAxNTA1NzI0ODM3LAogICJzdGF0dXMiOiAiYWN0
|
||||||
|
aXZlIiwKICAidGF4X3BlcmNlbnQiOiBudWxsLAogICJ0cmlhbF9lbmQiOiBu
|
||||||
|
dWxsLAogICJ0cmlhbF9zdGFydCI6IG51bGwKfQo=
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:00 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_8rQLklUUUQe66k?at_period_end=true
|
uri: https://api.stripe.com/v1/customers/cus_8CzNtM08NVlSGN/subscriptions/sub_BQBNnkUlcii3r1?at_period_end=true
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -930,9 +1513,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -941,11 +1524,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:49 GMT
|
- Mon, 18 Sep 2017 08:54:01 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '931'
|
- '1834'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -954,12 +1537,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLffnLhxa9Y2
|
- req_d1tT8F1v39ZR9M
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -967,32 +1552,52 @@ http_interactions:
|
|||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: !binary |-
|
string: !binary |-
|
||||||
ewogICJpZCI6ICJzdWJfOHJRTGtsVVVVUWU2NmsiLAogICJvYmplY3QiOiAi
|
ewogICJpZCI6ICJzdWJfQlFCTm5rVWxjaWkzcjEiLAogICJvYmplY3QiOiAi
|
||||||
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
c3Vic2NyaXB0aW9uIiwKICAiYXBwbGljYXRpb25fZmVlX3BlcmNlbnQiOiBu
|
||||||
dWxsLAogICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRydWUsCiAgImNhbmNl
|
dWxsLAogICJiaWxsaW5nIjogImNoYXJnZV9hdXRvbWF0aWNhbGx5IiwKICAi
|
||||||
bGVkX2F0IjogMTQ2OTEwODc0OSwKICAiY3JlYXRlZCI6IDE0NjkxMDg3NDUs
|
Y2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICJjYW5jZWxlZF9hdCI6
|
||||||
CiAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NzE3ODcxNDUsCiAgImN1cnJl
|
IDE1MDU3MjQ4NDEsCiAgImNyZWF0ZWQiOiAxNTA1NzI0ODM3LAogICJjdXJy
|
||||||
bnRfcGVyaW9kX3N0YXJ0IjogMTQ2OTEwODc0NSwKICAiY3VzdG9tZXIiOiAi
|
ZW50X3BlcmlvZF9lbmQiOiAxNTA4MzE2ODM3LAogICJjdXJyZW50X3Blcmlv
|
||||||
Y3VzXzhDek50TTA4TlZsU0dOIiwKICAiZGlzY291bnQiOiBudWxsLAogICJl
|
ZF9zdGFydCI6IDE1MDU3MjQ4MzcsCiAgImN1c3RvbWVyIjogImN1c184Q3pO
|
||||||
bmRlZF9hdCI6IG51bGwsCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1ldGFk
|
dE0wOE5WbFNHTiIsCiAgImRpc2NvdW50IjogbnVsbCwKICAiZW5kZWRfYXQi
|
||||||
YXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10YXJp
|
OiBudWxsLAogICJpdGVtcyI6IHsKICAgICJvYmplY3QiOiAibGlzdCIsCiAg
|
||||||
Zi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAi
|
ICAiZGF0YSI6IFsKICAgICAgewogICAgICAgICJpZCI6ICJzaV8xQjNMMHIy
|
||||||
b2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAiY3Jl
|
c09tZjQ3Tno5S0tkVjF6c0oiLAogICAgICAgICJvYmplY3QiOiAic3Vic2Ny
|
||||||
YXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwKICAg
|
aXB0aW9uX2l0ZW0iLAogICAgICAgICJjcmVhdGVkIjogMTUwNTcyNDgzOCwK
|
||||||
ICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQiOiAx
|
ICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAg
|
||||||
LAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7fSwK
|
ICAgICAgICJpZCI6ICJtZW5zdWVsLXRhcmlmLXJlZHVpdC1zdHVkZW50LW1v
|
||||||
ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu
|
bnRoLTIwMTYwNDA0MTcxODI3IiwKICAgICAgICAgICJvYmplY3QiOiAicGxh
|
||||||
dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv
|
biIsCiAgICAgICAgICAiYW1vdW50IjogMjAwMCwKICAgICAgICAgICJjcmVh
|
||||||
aSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGws
|
dGVkIjogMTQ1OTc4MzEwOCwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2Qi
|
||||||
CiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVhbnRp
|
LAogICAgICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJp
|
||||||
dHkiOiAxLAogICJzdGFydCI6IDE0NjkxMDg3NDUsCiAgInN0YXR1cyI6ICJh
|
bnRlcnZhbF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxz
|
||||||
Y3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2VuZCI6
|
ZSwKICAgICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUi
|
||||||
IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
|
OiAiTWVuc3VlbCB0YXJpZiByw6lkdWl0IC0gw6l0dWRpYW50LCAtIGRlIDI1
|
||||||
http_version:
|
IGFucywgZW5zZWlnbmFudCwgZGVtYW5kZXVyIGQnZW1wbG9pIC0gbW9udGgi
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:50 GMT
|
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
|
||||||
|
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
|
||||||
|
ICAgICAgICJxdWFudGl0eSI6IDEKICAgICAgfQogICAgXSwKICAgICJoYXNf
|
||||||
|
bW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2NvdW50IjogMSwKICAgICJ1cmwi
|
||||||
|
OiAiL3YxL3N1YnNjcmlwdGlvbl9pdGVtcz9zdWJzY3JpcHRpb249c3ViX0JR
|
||||||
|
Qk5ua1VsY2lpM3IxIgogIH0sCiAgImxpdmVtb2RlIjogZmFsc2UsCiAgIm1l
|
||||||
|
dGFkYXRhIjoge30sCiAgInBsYW4iOiB7CiAgICAiaWQiOiAibWVuc3VlbC10
|
||||||
|
YXJpZi1yZWR1aXQtc3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAg
|
||||||
|
ICAib2JqZWN0IjogInBsYW4iLAogICAgImFtb3VudCI6IDIwMDAsCiAgICAi
|
||||||
|
Y3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAiY3VycmVuY3kiOiAidXNkIiwK
|
||||||
|
ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAiaW50ZXJ2YWxfY291bnQi
|
||||||
|
OiAxLAogICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAibWV0YWRhdGEiOiB7
|
||||||
|
fSwKICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVk
|
||||||
|
aWFudCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2Vt
|
||||||
|
cGxvaSAtIG1vbnRoIiwKICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51
|
||||||
|
bGwsCiAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgfSwKICAicXVh
|
||||||
|
bnRpdHkiOiAxLAogICJzdGFydCI6IDE1MDU3MjQ4MzcsCiAgInN0YXR1cyI6
|
||||||
|
ICJhY3RpdmUiLAogICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgInRyaWFsX2Vu
|
||||||
|
ZCI6IG51bGwsCiAgInRyaWFsX3N0YXJ0IjogbnVsbAp9Cg==
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:01 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems/ii_18ZhUg2sOmf47Nz9vSsl5J9z
|
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1008,9 +1613,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1019,11 +1624,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:50 GMT
|
- Mon, 18 Sep 2017 08:54:02 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '493'
|
- '498'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -1032,12 +1637,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQL4mVlBuIk4d
|
- req_bQCk9FqnGziAxW
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1046,31 +1653,31 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
|
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1469108742,
|
"date": 1505724833,
|
||||||
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": "in_18ZhUj2sOmf47Nz9r8LKIBNK",
|
"invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1469108742,
|
"start": 1505724833,
|
||||||
"end": 1469108742
|
"end": 1505724833
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:50 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:02 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems/ii_18ZhUg2sOmf47Nz9vSsl5J9z
|
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L0n2sOmf47Nz9AuzqlXkT
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1086,9 +1693,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin15","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1097,11 +1704,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 21 Jul 2016 13:45:51 GMT
|
- Mon, 18 Sep 2017 08:54:03 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '493'
|
- '498'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -1110,12 +1717,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8rQLaiuoNH33sw
|
- req_F4XpYgeD0WsFcF
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1124,26 +1733,26 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18ZhUg2sOmf47Nz9vSsl5J9z",
|
"id": "ii_1B3L0n2sOmf47Nz9AuzqlXkT",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzNtM08NVlSGN",
|
"customer": "cus_8CzNtM08NVlSGN",
|
||||||
"date": 1469108742,
|
"date": 1505724833,
|
||||||
"description": "Formation Imprimante 3D July 18, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": "in_18ZhUj2sOmf47Nz9r8LKIBNK",
|
"invoice": "in_1B3L0r2sOmf47Nz94ZMyKUp1",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1469108742,
|
"start": 1505724833,
|
||||||
"end": 1469108742
|
"end": 1505724833
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 21 Jul 2016 13:45:51 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:03 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:06:59 GMT
|
- Mon, 18 Sep 2017 08:54:16 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6w5td6P3FMmw
|
- req_Q73oCbk2VNeMn0
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_17xeil2sOmf47Nz9hPGrY38H",
|
"id": "tok_1B3L1A2sOmf47Nz9pZRSgJR1",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_17xeil2sOmf47Nz9K3lr9AIc",
|
"id": "card_1B3L192sOmf47Nz9izgfnmoO",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "86.76.5.109",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1460041619,
|
"created": 1505724856,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:06:59 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:16 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8CzKe50I0J1gaI&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8CzKe50I0J1gaI&amount=0¤cy=usd&description=Formation+Imprimante+3D+April+12%2C+2016+08%3A00+-+12%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
|
||||||
- '123'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:07:00 GMT
|
- Mon, 18 Sep 2017 08:54:16 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '469'
|
- '4148'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6wDLVEcvrNew
|
- req_1qluZhR4CXKAKw
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,28 +152,243 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Kty2sOmf47Nz96UsCcZKF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724410,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku02sOmf47Nz9iK6od82f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724410,
|
||||||
|
"end": 1505724410
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Kso2sOmf47Nz9XnTBtpv8",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1000,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724338,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 15:00 - 04:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724338,
|
||||||
|
"end": 1505724338
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ksn2sOmf47Nz9SArgrvPT",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1505724337,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ksv2sOmf47Nz9IG9BBW8S",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724337,
|
||||||
|
"end": 1505724337
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1460041620,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeip2sOmf47Nz9kf2GTiaS",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041620,
|
||||||
|
"end": 1460041620
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xefB2sOmf47Nz90DXwNFPG",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1460041397,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xefC2sOmf47Nz9PU2pUoSg",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041397,
|
||||||
|
"end": 1460041397
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xIU92sOmf47Nz98bi7Z01X",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1000,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1459956145,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 15:00 - 04:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459956145,
|
||||||
|
"end": 1459956145
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xIU92sOmf47Nz9JiLpXlHs",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 0,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
|
"date": 1459956145,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xIUC2sOmf47Nz9RmCbPPpz",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459956145,
|
||||||
|
"end": 1459956145
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:54:17 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
|
||||||
|
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:
|
||||||
|
- '127'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:54:17 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '473'
|
||||||
|
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_ussK5bZvs6zz0I
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1460041620,
|
"date": 1505724857,
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041620,
|
"start": 1505724857,
|
||||||
"end": 1460041620
|
"end": 1505724857
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:07:00 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:17 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
|
uri: https://api.stripe.com/v1/customers/cus_8CzKe50I0J1gaI
|
||||||
@ -190,9 +407,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -201,7 +418,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:07:02 GMT
|
- Mon, 18 Sep 2017 08:54:18 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -214,12 +431,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6wKVkDbddbOI
|
- req_OxOB9pRMBEQkSU
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -256,8 +475,8 @@ http_interactions:
|
|||||||
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
|
"url": "/v1/customers/cus_8CzKe50I0J1gaI/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:07:01 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:18 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices
|
uri: https://api.stripe.com/v1/invoices
|
||||||
@ -276,9 +495,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '27'
|
- '27'
|
||||||
response:
|
response:
|
||||||
@ -289,11 +508,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:07:03 GMT
|
- Mon, 18 Sep 2017 08:54:19 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1417'
|
- '1489'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -302,12 +521,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6wYV4WPn7r3p
|
- req_zusobGu1GvbD1H
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -316,17 +537,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xeip2sOmf47Nz9kf2GTiaS",
|
"id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 0,
|
"amount_due": 0,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": false,
|
"attempted": false,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": false,
|
"closed": false,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1460041623,
|
"date": 1505724859,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
@ -335,17 +557,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
|
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041620,
|
"start": 1505724857,
|
||||||
"end": 1460041620
|
"end": 1505724857
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -356,14 +578,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/lines"
|
"url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1460045223,
|
"next_payment_attempt": 1505728459,
|
||||||
|
"number": "80bcaa9d6c-0003",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"period_end": 1460041623,
|
"period_end": 1505724859,
|
||||||
"period_start": 1460041623,
|
"period_start": 1505724859,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -374,11 +597,11 @@ http_interactions:
|
|||||||
"total": 0,
|
"total": 0,
|
||||||
"webhooks_delivered_at": null
|
"webhooks_delivered_at": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:07:02 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:19 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/pay
|
uri: https://api.stripe.com/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/pay
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: ''
|
string: ''
|
||||||
@ -394,9 +617,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '0'
|
- '0'
|
||||||
response:
|
response:
|
||||||
@ -407,11 +630,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:07:04 GMT
|
- Mon, 18 Sep 2017 08:54:20 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1411'
|
- '1483'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -420,12 +643,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6w2oGfDSiKDf
|
- req_P9DMbovAnaLgpz
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -434,17 +659,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xeip2sOmf47Nz9kf2GTiaS",
|
"id": "in_1B3L1D2sOmf47Nz9ujfC1Wx9",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 0,
|
"amount_due": 0,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8CzKe50I0J1gaI",
|
"customer": "cus_8CzKe50I0J1gaI",
|
||||||
"date": 1460041623,
|
"date": 1505724859,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -453,17 +679,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xeim2sOmf47Nz9aoVFuMOo",
|
"id": "ii_1B3L1B2sOmf47Nz9dbDfy0so",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 0,
|
"amount": 0,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041620,
|
"start": 1505724857,
|
||||||
"end": 1460041620
|
"end": 1505724857
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -474,14 +700,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xeip2sOmf47Nz9kf2GTiaS/lines"
|
"url": "/v1/invoices/in_1B3L1D2sOmf47Nz9ujfC1Wx9/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "80bcaa9d6c-0003",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1460041623,
|
"period_end": 1505724859,
|
||||||
"period_start": 1460041623,
|
"period_start": 1505724859,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -490,8 +717,8 @@ http_interactions:
|
|||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 0,
|
"total": 0,
|
||||||
"webhooks_delivered_at": 1460041623
|
"webhooks_delivered_at": 1505724859
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:07:04 GMT
|
recorded_at: Mon, 18 Sep 2017 08:54:20 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -18,9 +18,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,11 +31,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:21 GMT
|
- Mon, 18 Sep 2017 08:53:19 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '778'
|
- '779'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6s5qX3Z71ouH
|
- req_SFWzRMsEWkmQaB
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_17xeeH2sOmf47Nz9fhi24LcM",
|
"id": "tok_1B3L0F2sOmf47Nz90Uq0PJwi",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS",
|
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "86.76.5.109",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1460041341,
|
"created": 1505724799,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:21 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:19 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+April+12%2C+2016+08%3A00+-+12%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -110,11 +112,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
|
||||||
- '126'
|
|
||||||
response:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -123,11 +123,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:22 GMT
|
- Mon, 18 Sep 2017 08:53:22 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '472'
|
- '8061'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -136,12 +136,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6sbtrP1o0eL7
|
- req_IoO4LMAnWWJpPi
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,28 +152,390 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"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",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724462,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724462,
|
||||||
|
"end": 1505724462
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724432,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724432,
|
||||||
|
"end": 1505724432
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -675,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724418,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724418,
|
||||||
|
"end": 1505724418
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724417,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724417,
|
||||||
|
"end": 1505724417
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -510,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338732,
|
||||||
|
"description": "coupon XMAS10",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338732,
|
||||||
|
"end": 1473338732
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338731,
|
||||||
|
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338731,
|
||||||
|
"end": 1473338731
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -450,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321651,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321651,
|
||||||
|
"end": 1473321651
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -225,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1460041342,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041342,
|
||||||
|
"end": 1460041342
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951378,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951378,
|
||||||
|
"end": 1459951378
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951370,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951370,
|
||||||
|
"end": 1459951370
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:22 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+-+12%3A00+PM
|
||||||
|
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:
|
||||||
|
- '130'
|
||||||
|
response:
|
||||||
|
status:
|
||||||
|
code: 200
|
||||||
|
message: OK
|
||||||
|
headers:
|
||||||
|
Server:
|
||||||
|
- nginx
|
||||||
|
Date:
|
||||||
|
- Mon, 18 Sep 2017 08:53:23 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '476'
|
||||||
|
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_TXuF3WscQXuP0C
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 5100,
|
"amount": 5100,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1460041342,
|
"date": 1505724803,
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041342,
|
"start": 1505724803,
|
||||||
"end": 1460041342
|
"end": 1505724803
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:22 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:23 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -190,9 +554,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -201,11 +565,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:23 GMT
|
- Mon, 18 Sep 2017 08:53:24 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '5571'
|
- '7733'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -214,151 +578,280 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6sNFUC3vntgP
|
- req_d4T6tXihTxKkIM
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
- max-age=31556926; includeSubDomains
|
- max-age=31556926; includeSubDomains
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: UTF-8
|
||||||
string: !binary |-
|
string: |
|
||||||
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
|
{
|
||||||
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
"id": "cus_8Di1wjdVktv5kt",
|
||||||
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
"object": "customer",
|
||||||
dF9zb3VyY2UiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1M0EiLAog
|
"account_balance": 0,
|
||||||
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
|
"created": 1459948888,
|
||||||
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
|
"currency": "usd",
|
||||||
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
|
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
|
"delinquent": false,
|
||||||
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
|
"description": "Jean Dupond",
|
||||||
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3haV3Qyc09tZjQ3Tno5ZVZVQ2k1
|
"discount": null,
|
||||||
M0EiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
|
"email": "jean.dupond@gmail.com",
|
||||||
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
|
"livemode": false,
|
||||||
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
|
"metadata": {},
|
||||||
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
|
"shipping": null,
|
||||||
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
|
"sources": {
|
||||||
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
|
"object": "list",
|
||||||
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
|
"data": [
|
||||||
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
|
{
|
||||||
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
|
"object": "card",
|
||||||
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
|
"address_city": null,
|
||||||
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
|
"address_country": null,
|
||||||
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
|
"address_line1": null,
|
||||||
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
|
"address_line1_check": null,
|
||||||
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
|
"address_line2": null,
|
||||||
fQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRvdGFsX2Nv
|
"address_state": null,
|
||||||
dW50IjogMSwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNfOERpMXdq
|
"address_zip": null,
|
||||||
ZFZrdHY1a3Qvc291cmNlcyIKICB9LAogICJzdWJzY3JpcHRpb25zIjogewog
|
"address_zip_check": null,
|
||||||
ICAgIm9iamVjdCI6ICJsaXN0IiwKICAgICJkYXRhIjogWwogICAgICB7CiAg
|
"brand": "Visa",
|
||||||
ICAgICAgImlkIjogInN1Yl84RTFhZmtUQm4yZGMxRCIsCiAgICAgICAgIm9i
|
"country": "US",
|
||||||
amVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9m
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
ZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2Rf
|
"cvc_check": "pass",
|
||||||
ZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDYwMDIxNjcw
|
"dynamic_last4": null,
|
||||||
LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNjEzNjY1LAog
|
"exp_month": 4,
|
||||||
ICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NjAwMjE2NjUsCiAg
|
"exp_year": 2018,
|
||||||
ICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAg
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
ICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxs
|
"funding": "credit",
|
||||||
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewog
|
"last4": "4242",
|
||||||
ICAgICAgICAgImlkIjogIm1lbnN1ZWwtdGFyaWYtcmVkdWl0LXN0dWRlbnQt
|
"metadata": {},
|
||||||
bW9udGgtMjAxNjA0MDQxNzE4MjciLAogICAgICAgICAgIm9iamVjdCI6ICJw
|
"name": null,
|
||||||
bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAyMDAwLAogICAgICAgICAgImNy
|
"tokenization_method": null
|
||||||
ZWF0ZWQiOiAxNDU5NzgzMTA4LAogICAgICAgICAgImN1cnJlbmN5IjogInVz
|
}
|
||||||
ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg
|
],
|
||||||
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh
|
"has_more": false,
|
||||||
bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt
|
"total_count": 1,
|
||||||
ZSI6ICJNZW5zdWVsIHRhcmlmIHLDqWR1aXQgLSDDqXR1ZGlhbnQsIC0gZGUg
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
|
||||||
MjUgYW5zLCBlbnNlaWduYW50LCBkZW1hbmRldXIgZCdlbXBsb2kgLSBtb250
|
},
|
||||||
aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAog
|
"subscriptions": {
|
||||||
ICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0s
|
"object": "list",
|
||||||
CiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDYw
|
"data": [
|
||||||
MDIxNjY1LAogICAgICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAi
|
{
|
||||||
dGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxs
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
LAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAg
|
"object": "subscription",
|
||||||
ewogICAgICAgICJpZCI6ICJzdWJfOERrcUJjUjFiUXZyNUciLAogICAgICAg
|
"application_fee_percent": null,
|
||||||
ICJvYmplY3QiOiAic3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRp
|
"billing": "charge_automatically",
|
||||||
b25fZmVlX3BlcmNlbnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVy
|
"cancel_at_period_end": true,
|
||||||
aW9kX2VuZCI6IHRydWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk1
|
"canceled_at": 1505724793,
|
||||||
OTM4NiwKICAgICAgICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU1MTM4
|
"created": 1505724789,
|
||||||
MiwKICAgICAgICAiY3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTU5Mzgy
|
"current_period_end": 1508316789,
|
||||||
LAogICAgICAgICJjdXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAog
|
"current_period_start": 1505724789,
|
||||||
ICAgICAgICJkaXNjb3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0Ijog
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
bnVsbCwKICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6
|
"discount": null,
|
||||||
IHsKICAgICAgICAgICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIw
|
"ended_at": null,
|
||||||
MTYwNDA0MTcxNTE5IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAg
|
"items": {
|
||||||
ICAgICAgICAiYW1vdW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjog
|
"object": "list",
|
||||||
MTQ1OTc4MjkyMSwKICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAg
|
"data": [
|
||||||
ICAgICAgImludGVydmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZh
|
{
|
||||||
bF9jb3VudCI6IDEsCiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAg
|
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
|
||||||
ICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVu
|
"object": "subscription_item",
|
||||||
c3VlbCAtIHN0YW5kYXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAg
|
"created": 1505724789,
|
||||||
ICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAi
|
"metadata": {},
|
||||||
dHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAi
|
"plan": {
|
||||||
cXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFydCI6IDE0NTk5NTkzODIsCiAg
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
ICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2Vu
|
"object": "plan",
|
||||||
dCI6IG51bGwsCiAgICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAg
|
"amount": 3000,
|
||||||
InRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9LAogICAgICB7CiAgICAgICAg
|
"created": 1459782921,
|
||||||
ImlkIjogInN1Yl84RGk5Z3FQTHd0NUlJQyIsCiAgICAgICAgIm9iamVjdCI6
|
"currency": "usd",
|
||||||
ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJhcHBsaWNhdGlvbl9mZWVfcGVy
|
"interval": "month",
|
||||||
Y2VudCI6IG51bGwsCiAgICAgICAgImNhbmNlbF9hdF9wZXJpb2RfZW5kIjog
|
"interval_count": 1,
|
||||||
dHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQiOiAxNDU5OTQ5NDA0LAogICAg
|
"livemode": false,
|
||||||
ICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAxNDYyNTQxMzk5LAogICAgICAg
|
"metadata": {},
|
||||||
ICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0NTk5NDkzOTksCiAgICAgICAg
|
"name": "Mensuel - standard, association - month",
|
||||||
ImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImRp
|
"statement_descriptor": null,
|
||||||
c2NvdW50IjogbnVsbCwKICAgICAgICAiZW5kZWRfYXQiOiBudWxsLAogICAg
|
"trial_period_days": null
|
||||||
ICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJwbGFuIjogewogICAgICAg
|
},
|
||||||
ICAgImlkIjogIm1lbnN1ZWwtc3RhbmRhcmQtbW9udGgtMjAxNjA0MDQxNzE1
|
"quantity": 1
|
||||||
MTkiLAogICAgICAgICAgIm9iamVjdCI6ICJwbGFuIiwKICAgICAgICAgICJh
|
}
|
||||||
bW91bnQiOiAzMDAwLAogICAgICAgICAgImNyZWF0ZWQiOiAxNDU5NzgyOTIx
|
],
|
||||||
LAogICAgICAgICAgImN1cnJlbmN5IjogInVzZCIsCiAgICAgICAgICAiaW50
|
"has_more": false,
|
||||||
ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAgImludGVydmFsX2NvdW50Ijog
|
"total_count": 1,
|
||||||
MSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZhbHNlLAogICAgICAgICAgIm1l
|
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
|
||||||
dGFkYXRhIjoge30sCiAgICAgICAgICAibmFtZSI6ICJNZW5zdWVsIC0gc3Rh
|
},
|
||||||
bmRhcmQsIGFzc29jaWF0aW9uIC0gbW9udGgiLAogICAgICAgICAgInN0YXRl
|
"livemode": false,
|
||||||
bWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAgICAgICAgICJ0cmlhbF9wZXJp
|
"metadata": {},
|
||||||
b2RfZGF5cyI6IG51bGwKICAgICAgICB9LAogICAgICAgICJxdWFudGl0eSI6
|
"plan": {
|
||||||
IDEsCiAgICAgICAgInN0YXJ0IjogMTQ1OTk0OTM5OSwKICAgICAgICAic3Rh
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
dHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRheF9wZXJjZW50IjogbnVsbCwK
|
"object": "plan",
|
||||||
ICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwKICAgICAgICAidHJpYWxfc3Rh
|
"amount": 3000,
|
||||||
cnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsKICAgICAgICAiaWQiOiAic3Vi
|
"created": 1459782921,
|
||||||
XzhEaTJWYWRSdnI3QTk5IiwKICAgICAgICAib2JqZWN0IjogInN1YnNjcmlw
|
"currency": "usd",
|
||||||
dGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9uX2ZlZV9wZXJjZW50IjogbnVs
|
"interval": "month",
|
||||||
bCwKICAgICAgICAiY2FuY2VsX2F0X3BlcmlvZF9lbmQiOiB0cnVlLAogICAg
|
"interval_count": 1,
|
||||||
ICAgICJjYW5jZWxlZF9hdCI6IDE0NTk5NDg5NzIsCiAgICAgICAgImN1cnJl
|
"livemode": false,
|
||||||
bnRfcGVyaW9kX2VuZCI6IDE0NjI1NDA5NjgsCiAgICAgICAgImN1cnJlbnRf
|
"metadata": {},
|
||||||
cGVyaW9kX3N0YXJ0IjogMTQ1OTk0ODk2OCwKICAgICAgICAiY3VzdG9tZXIi
|
"name": "Mensuel - standard, association - month",
|
||||||
OiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAgICAgICAiZGlzY291bnQiOiBu
|
"statement_descriptor": null,
|
||||||
dWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51bGwsCiAgICAgICAgIm1ldGFk
|
"trial_period_days": null
|
||||||
YXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7CiAgICAgICAgICAiaWQiOiAi
|
},
|
||||||
bWVuc3VlbC1zdGFuZGFyZC1tb250aC0yMDE2MDQwNDE3MTUxOSIsCiAgICAg
|
"quantity": 1,
|
||||||
ICAgICAib2JqZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDMw
|
"start": 1505724789,
|
||||||
MDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0NTk3ODI5MjEsCiAgICAgICAg
|
"status": "active",
|
||||||
ICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJt
|
"tax_percent": null,
|
||||||
b250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAg
|
"trial_end": null,
|
||||||
ICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7
|
"trial_start": null
|
||||||
fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1ZWwgLSBzdGFuZGFyZCwgYXNz
|
},
|
||||||
b2NpYXRpb24gLSBtb250aCIsCiAgICAgICAgICAic3RhdGVtZW50X2Rlc2Ny
|
{
|
||||||
aXB0b3IiOiBudWxsLAogICAgICAgICAgInRyaWFsX3BlcmlvZF9kYXlzIjog
|
"id": "sub_BQBH03MUz5WO4y",
|
||||||
bnVsbAogICAgICAgIH0sCiAgICAgICAgInF1YW50aXR5IjogMSwKICAgICAg
|
"object": "subscription",
|
||||||
ICAic3RhcnQiOiAxNDU5OTQ4OTY4LAogICAgICAgICJzdGF0dXMiOiAiYWN0
|
"application_fee_percent": null,
|
||||||
aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQiOiBudWxsLAogICAgICAgICJ0
|
"billing": "charge_automatically",
|
||||||
cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0cmlhbF9zdGFydCI6IG51bGwK
|
"cancel_at_period_end": true,
|
||||||
ICAgICAgfQogICAgXSwKICAgICJoYXNfbW9yZSI6IGZhbHNlLAogICAgInRv
|
"canceled_at": 1505724499,
|
||||||
dGFsX2NvdW50IjogNCwKICAgICJ1cmwiOiAiL3YxL2N1c3RvbWVycy9jdXNf
|
"created": 1505724494,
|
||||||
OERpMXdqZFZrdHY1a3Qvc3Vic2NyaXB0aW9ucyIKICB9Cn0K
|
"current_period_end": 1508316494,
|
||||||
http_version:
|
"current_period_start": 1505724494,
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:23 GMT
|
"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:53:24 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card=tok_17xeeH2sOmf47Nz9fhi24LcM
|
string: card=tok_1B3L0F2sOmf47Nz90Uq0PJwi
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -371,9 +864,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '33'
|
- '33'
|
||||||
response:
|
response:
|
||||||
@ -384,7 +877,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:24 GMT
|
- Mon, 18 Sep 2017 08:53:25 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -397,12 +890,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6s96LPZP4cCo
|
- req_gofh7Q1SqT6S9h
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -411,7 +906,7 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS",
|
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -427,7 +922,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -435,14 +930,14 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:24 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:25 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: default_source=card_17xeeH2sOmf47Nz9qkD2jaiS
|
string: default_source=card_1B3L0F2sOmf47Nz9aqfWs2B0
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -455,9 +950,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '44'
|
- '44'
|
||||||
response:
|
response:
|
||||||
@ -468,11 +963,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:25 GMT
|
- Mon, 18 Sep 2017 08:53:26 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '6299'
|
- '8461'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -481,161 +976,299 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6shlISPAIWMP
|
- req_5CQT08Jg1P126V
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
- max-age=31556926; includeSubDomains
|
- max-age=31556926; includeSubDomains
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: UTF-8
|
||||||
string: !binary |-
|
string: |
|
||||||
ewogICJpZCI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICJvYmplY3QiOiAi
|
{
|
||||||
Y3VzdG9tZXIiLAogICJhY2NvdW50X2JhbGFuY2UiOiAwLAogICJjcmVhdGVk
|
"id": "cus_8Di1wjdVktv5kt",
|
||||||
IjogMTQ1OTk0ODg4OCwKICAiY3VycmVuY3kiOiAidXNkIiwKICAiZGVmYXVs
|
"object": "customer",
|
||||||
dF9zb3VyY2UiOiAiY2FyZF8xN3hlZUgyc09tZjQ3Tno5cWtEMmphaVMiLAog
|
"account_balance": 0,
|
||||||
ICJkZWxpbnF1ZW50IjogZmFsc2UsCiAgImRlc2NyaXB0aW9uIjogIkplYW4g
|
"created": 1459948888,
|
||||||
RHVwb25kIiwKICAiZGlzY291bnQiOiBudWxsLAogICJlbWFpbCI6ICJqZWFu
|
"currency": "usd",
|
||||||
LmR1cG9uZEBnbWFpbC5jb20iLAogICJsaXZlbW9kZSI6IGZhbHNlLAogICJt
|
"default_source": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
|
||||||
ZXRhZGF0YSI6IHt9LAogICJzaGlwcGluZyI6IG51bGwsCiAgInNvdXJjZXMi
|
"delinquent": false,
|
||||||
OiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAgICAg
|
"description": "Jean Dupond",
|
||||||
IHsKICAgICAgICAiaWQiOiAiY2FyZF8xN3hlZUgyc09tZjQ3Tno5cWtEMmph
|
"discount": null,
|
||||||
aVMiLAogICAgICAgICJvYmplY3QiOiAiY2FyZCIsCiAgICAgICAgImFkZHJl
|
"email": "jean.dupond@gmail.com",
|
||||||
c3NfY2l0eSI6IG51bGwsCiAgICAgICAgImFkZHJlc3NfY291bnRyeSI6IG51
|
"livemode": false,
|
||||||
bGwsCiAgICAgICAgImFkZHJlc3NfbGluZTEiOiBudWxsLAogICAgICAgICJh
|
"metadata": {},
|
||||||
ZGRyZXNzX2xpbmUxX2NoZWNrIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19s
|
"shipping": null,
|
||||||
aW5lMiI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nfc3RhdGUiOiBudWxsLAog
|
"sources": {
|
||||||
ICAgICAgICJhZGRyZXNzX3ppcCI6IG51bGwsCiAgICAgICAgImFkZHJlc3Nf
|
"object": "list",
|
||||||
emlwX2NoZWNrIjogbnVsbCwKICAgICAgICAiYnJhbmQiOiAiVmlzYSIsCiAg
|
"data": [
|
||||||
ICAgICAgImNvdW50cnkiOiAiVVMiLAogICAgICAgICJjdXN0b21lciI6ICJj
|
{
|
||||||
dXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJjdmNfY2hlY2siOiAicGFz
|
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0",
|
||||||
cyIsCiAgICAgICAgImR5bmFtaWNfbGFzdDQiOiBudWxsLAogICAgICAgICJl
|
"object": "card",
|
||||||
eHBfbW9udGgiOiA0LAogICAgICAgICJleHBfeWVhciI6IDIwMTcsCiAgICAg
|
"address_city": null,
|
||||||
ICAgImZpbmdlcnByaW50IjogIm81Mmp5YlI3Ym5tTm42QVQiLAogICAgICAg
|
"address_country": null,
|
||||||
ICJmdW5kaW5nIjogImNyZWRpdCIsCiAgICAgICAgImxhc3Q0IjogIjQyNDIi
|
"address_line1": null,
|
||||||
LAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAgICJuYW1lIjogbnVs
|
"address_line1_check": null,
|
||||||
bCwKICAgICAgICAidG9rZW5pemF0aW9uX21ldGhvZCI6IG51bGwKICAgICAg
|
"address_line2": null,
|
||||||
fSwKICAgICAgewogICAgICAgICJpZCI6ICJjYXJkXzE3eFpXdDJzT21mNDdO
|
"address_state": null,
|
||||||
ejllVlVDaTUzQSIsCiAgICAgICAgIm9iamVjdCI6ICJjYXJkIiwKICAgICAg
|
"address_zip": null,
|
||||||
ICAiYWRkcmVzc19jaXR5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19jb3Vu
|
"address_zip_check": null,
|
||||||
dHJ5IjogbnVsbCwKICAgICAgICAiYWRkcmVzc19saW5lMSI6IG51bGwsCiAg
|
"brand": "Visa",
|
||||||
ICAgICAgImFkZHJlc3NfbGluZTFfY2hlY2siOiBudWxsLAogICAgICAgICJh
|
"country": "US",
|
||||||
ZGRyZXNzX2xpbmUyIjogbnVsbCwKICAgICAgICAiYWRkcmVzc19zdGF0ZSI6
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
IG51bGwsCiAgICAgICAgImFkZHJlc3NfemlwIjogbnVsbCwKICAgICAgICAi
|
"cvc_check": "pass",
|
||||||
YWRkcmVzc196aXBfY2hlY2siOiBudWxsLAogICAgICAgICJicmFuZCI6ICJW
|
"dynamic_last4": null,
|
||||||
aXNhIiwKICAgICAgICAiY291bnRyeSI6ICJVUyIsCiAgICAgICAgImN1c3Rv
|
"exp_month": 4,
|
||||||
bWVyIjogImN1c184RGkxd2pkVmt0djVrdCIsCiAgICAgICAgImN2Y19jaGVj
|
"exp_year": 2018,
|
||||||
ayI6ICJwYXNzIiwKICAgICAgICAiZHluYW1pY19sYXN0NCI6IG51bGwsCiAg
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
ICAgICAgImV4cF9tb250aCI6IDQsCiAgICAgICAgImV4cF95ZWFyIjogMjAx
|
"funding": "credit",
|
||||||
NywKICAgICAgICAiZmluZ2VycHJpbnQiOiAibzUyanliUjdibm1ObjZBVCIs
|
"last4": "4242",
|
||||||
CiAgICAgICAgImZ1bmRpbmciOiAiY3JlZGl0IiwKICAgICAgICAibGFzdDQi
|
"metadata": {},
|
||||||
OiAiNDI0MiIsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgIm5h
|
"name": null,
|
||||||
bWUiOiBudWxsLAogICAgICAgICJ0b2tlbml6YXRpb25fbWV0aG9kIjogbnVs
|
"tokenization_method": null
|
||||||
bAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2UsCiAgICAi
|
},
|
||||||
dG90YWxfY291bnQiOiAyLAogICAgInVybCI6ICIvdjEvY3VzdG9tZXJzL2N1
|
{
|
||||||
c184RGkxd2pkVmt0djVrdC9zb3VyY2VzIgogIH0sCiAgInN1YnNjcmlwdGlv
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
bnMiOiB7CiAgICAib2JqZWN0IjogImxpc3QiLAogICAgImRhdGEiOiBbCiAg
|
"object": "card",
|
||||||
ICAgIHsKICAgICAgICAiaWQiOiAic3ViXzhFMWFma1RCbjJkYzFEIiwKICAg
|
"address_city": null,
|
||||||
ICAgICAib2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxp
|
"address_country": null,
|
||||||
Y2F0aW9uX2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiY2FuY2VsX2F0
|
"address_line1": null,
|
||||||
X3BlcmlvZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE0
|
"address_line1_check": null,
|
||||||
NjAwMjE2NzAsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NjI2
|
"address_line2": null,
|
||||||
MTM2NjUsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ2MDAy
|
"address_state": null,
|
||||||
MTY2NSwKICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0
|
"address_zip": null,
|
||||||
IiwKICAgICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9h
|
"address_zip_check": null,
|
||||||
dCI6IG51bGwsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBs
|
"brand": "Visa",
|
||||||
YW4iOiB7CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC10YXJpZi1yZWR1aXQt
|
"country": "US",
|
||||||
c3R1ZGVudC1tb250aC0yMDE2MDQwNDE3MTgyNyIsCiAgICAgICAgICAib2Jq
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
ZWN0IjogInBsYW4iLAogICAgICAgICAgImFtb3VudCI6IDIwMDAsCiAgICAg
|
"cvc_check": "pass",
|
||||||
ICAgICAiY3JlYXRlZCI6IDE0NTk3ODMxMDgsCiAgICAgICAgICAiY3VycmVu
|
"dynamic_last4": null,
|
||||||
Y3kiOiAidXNkIiwKICAgICAgICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAg
|
"exp_month": 4,
|
||||||
ICAgICAgICAiaW50ZXJ2YWxfY291bnQiOiAxLAogICAgICAgICAgImxpdmVt
|
"exp_year": 2018,
|
||||||
b2RlIjogZmFsc2UsCiAgICAgICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAg
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
ICAgICJuYW1lIjogIk1lbnN1ZWwgdGFyaWYgcsOpZHVpdCAtIMOpdHVkaWFu
|
"funding": "credit",
|
||||||
dCwgLSBkZSAyNSBhbnMsIGVuc2VpZ25hbnQsIGRlbWFuZGV1ciBkJ2VtcGxv
|
"last4": "4242",
|
||||||
aSAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6
|
"metadata": {},
|
||||||
IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9kX2RheXMiOiBudWxsCiAg
|
"name": null,
|
||||||
ICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAxLAogICAgICAgICJzdGFy
|
"tokenization_method": null
|
||||||
dCI6IDE0NjAwMjE2NjUsCiAgICAgICAgInN0YXR1cyI6ICJhY3RpdmUiLAog
|
}
|
||||||
ICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAgICAgICAgInRyaWFsX2Vu
|
],
|
||||||
ZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0IjogbnVsbAogICAgICB9
|
"has_more": false,
|
||||||
LAogICAgICB7CiAgICAgICAgImlkIjogInN1Yl84RGtxQmNSMWJRdnI1RyIs
|
"total_count": 2,
|
||||||
CiAgICAgICAgIm9iamVjdCI6ICJzdWJzY3JpcHRpb24iLAogICAgICAgICJh
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
|
||||||
cHBsaWNhdGlvbl9mZWVfcGVyY2VudCI6IG51bGwsCiAgICAgICAgImNhbmNl
|
},
|
||||||
bF9hdF9wZXJpb2RfZW5kIjogdHJ1ZSwKICAgICAgICAiY2FuY2VsZWRfYXQi
|
"subscriptions": {
|
||||||
OiAxNDU5OTU5Mzg2LAogICAgICAgICJjdXJyZW50X3BlcmlvZF9lbmQiOiAx
|
"object": "list",
|
||||||
NDYyNTUxMzgyLAogICAgICAgICJjdXJyZW50X3BlcmlvZF9zdGFydCI6IDE0
|
"data": [
|
||||||
NTk5NTkzODIsCiAgICAgICAgImN1c3RvbWVyIjogImN1c184RGkxd2pkVmt0
|
{
|
||||||
djVrdCIsCiAgICAgICAgImRpc2NvdW50IjogbnVsbCwKICAgICAgICAiZW5k
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
ZWRfYXQiOiBudWxsLAogICAgICAgICJtZXRhZGF0YSI6IHt9LAogICAgICAg
|
"object": "subscription",
|
||||||
ICJwbGFuIjogewogICAgICAgICAgImlkIjogIm1lbnN1ZWwtc3RhbmRhcmQt
|
"application_fee_percent": null,
|
||||||
bW9udGgtMjAxNjA0MDQxNzE1MTkiLAogICAgICAgICAgIm9iamVjdCI6ICJw
|
"billing": "charge_automatically",
|
||||||
bGFuIiwKICAgICAgICAgICJhbW91bnQiOiAzMDAwLAogICAgICAgICAgImNy
|
"cancel_at_period_end": true,
|
||||||
ZWF0ZWQiOiAxNDU5NzgyOTIxLAogICAgICAgICAgImN1cnJlbmN5IjogInVz
|
"canceled_at": 1505724793,
|
||||||
ZCIsCiAgICAgICAgICAiaW50ZXJ2YWwiOiAibW9udGgiLAogICAgICAgICAg
|
"created": 1505724789,
|
||||||
ImludGVydmFsX2NvdW50IjogMSwKICAgICAgICAgICJsaXZlbW9kZSI6IGZh
|
"current_period_end": 1508316789,
|
||||||
bHNlLAogICAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgICAibmFt
|
"current_period_start": 1505724789,
|
||||||
ZSI6ICJNZW5zdWVsIC0gc3RhbmRhcmQsIGFzc29jaWF0aW9uIC0gbW9udGgi
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
LAogICAgICAgICAgInN0YXRlbWVudF9kZXNjcmlwdG9yIjogbnVsbCwKICAg
|
"discount": null,
|
||||||
ICAgICAgICJ0cmlhbF9wZXJpb2RfZGF5cyI6IG51bGwKICAgICAgICB9LAog
|
"ended_at": null,
|
||||||
ICAgICAgICJxdWFudGl0eSI6IDEsCiAgICAgICAgInN0YXJ0IjogMTQ1OTk1
|
"items": {
|
||||||
OTM4MiwKICAgICAgICAic3RhdHVzIjogImFjdGl2ZSIsCiAgICAgICAgInRh
|
"object": "list",
|
||||||
eF9wZXJjZW50IjogbnVsbCwKICAgICAgICAidHJpYWxfZW5kIjogbnVsbCwK
|
"data": [
|
||||||
ICAgICAgICAidHJpYWxfc3RhcnQiOiBudWxsCiAgICAgIH0sCiAgICAgIHsK
|
{
|
||||||
ICAgICAgICAiaWQiOiAic3ViXzhEaTlncVBMd3Q1SUlDIiwKICAgICAgICAi
|
"id": "si_1B3L052sOmf47Nz9MoxGlk6i",
|
||||||
b2JqZWN0IjogInN1YnNjcmlwdGlvbiIsCiAgICAgICAgImFwcGxpY2F0aW9u
|
"object": "subscription_item",
|
||||||
X2ZlZV9wZXJjZW50IjogbnVsbCwKICAgICAgICAiY2FuY2VsX2F0X3Blcmlv
|
"created": 1505724789,
|
||||||
ZF9lbmQiOiB0cnVlLAogICAgICAgICJjYW5jZWxlZF9hdCI6IDE0NTk5NDk0
|
"metadata": {},
|
||||||
MDQsCiAgICAgICAgImN1cnJlbnRfcGVyaW9kX2VuZCI6IDE0NjI1NDEzOTks
|
"plan": {
|
||||||
CiAgICAgICAgImN1cnJlbnRfcGVyaW9kX3N0YXJ0IjogMTQ1OTk0OTM5OSwK
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
ICAgICAgICAiY3VzdG9tZXIiOiAiY3VzXzhEaTF3amRWa3R2NWt0IiwKICAg
|
"object": "plan",
|
||||||
ICAgICAiZGlzY291bnQiOiBudWxsLAogICAgICAgICJlbmRlZF9hdCI6IG51
|
"amount": 3000,
|
||||||
bGwsCiAgICAgICAgIm1ldGFkYXRhIjoge30sCiAgICAgICAgInBsYW4iOiB7
|
"created": 1459782921,
|
||||||
CiAgICAgICAgICAiaWQiOiAibWVuc3VlbC1zdGFuZGFyZC1tb250aC0yMDE2
|
"currency": "usd",
|
||||||
MDQwNDE3MTUxOSIsCiAgICAgICAgICAib2JqZWN0IjogInBsYW4iLAogICAg
|
"interval": "month",
|
||||||
ICAgICAgImFtb3VudCI6IDMwMDAsCiAgICAgICAgICAiY3JlYXRlZCI6IDE0
|
"interval_count": 1,
|
||||||
NTk3ODI5MjEsCiAgICAgICAgICAiY3VycmVuY3kiOiAidXNkIiwKICAgICAg
|
"livemode": false,
|
||||||
ICAgICJpbnRlcnZhbCI6ICJtb250aCIsCiAgICAgICAgICAiaW50ZXJ2YWxf
|
"metadata": {},
|
||||||
Y291bnQiOiAxLAogICAgICAgICAgImxpdmVtb2RlIjogZmFsc2UsCiAgICAg
|
"name": "Mensuel - standard, association - month",
|
||||||
ICAgICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAgICJuYW1lIjogIk1lbnN1
|
"statement_descriptor": null,
|
||||||
ZWwgLSBzdGFuZGFyZCwgYXNzb2NpYXRpb24gLSBtb250aCIsCiAgICAgICAg
|
"trial_period_days": null
|
||||||
ICAic3RhdGVtZW50X2Rlc2NyaXB0b3IiOiBudWxsLAogICAgICAgICAgInRy
|
},
|
||||||
aWFsX3BlcmlvZF9kYXlzIjogbnVsbAogICAgICAgIH0sCiAgICAgICAgInF1
|
"quantity": 1
|
||||||
YW50aXR5IjogMSwKICAgICAgICAic3RhcnQiOiAxNDU5OTQ5Mzk5LAogICAg
|
}
|
||||||
ICAgICJzdGF0dXMiOiAiYWN0aXZlIiwKICAgICAgICAidGF4X3BlcmNlbnQi
|
],
|
||||||
OiBudWxsLAogICAgICAgICJ0cmlhbF9lbmQiOiBudWxsLAogICAgICAgICJ0
|
"has_more": false,
|
||||||
cmlhbF9zdGFydCI6IG51bGwKICAgICAgfSwKICAgICAgewogICAgICAgICJp
|
"total_count": 1,
|
||||||
ZCI6ICJzdWJfOERpMlZhZFJ2cjdBOTkiLAogICAgICAgICJvYmplY3QiOiAi
|
"url": "/v1/subscription_items?subscription=sub_BQBMKKS6nutZLr"
|
||||||
c3Vic2NyaXB0aW9uIiwKICAgICAgICAiYXBwbGljYXRpb25fZmVlX3BlcmNl
|
},
|
||||||
bnQiOiBudWxsLAogICAgICAgICJjYW5jZWxfYXRfcGVyaW9kX2VuZCI6IHRy
|
"livemode": false,
|
||||||
dWUsCiAgICAgICAgImNhbmNlbGVkX2F0IjogMTQ1OTk0ODk3MiwKICAgICAg
|
"metadata": {},
|
||||||
ICAiY3VycmVudF9wZXJpb2RfZW5kIjogMTQ2MjU0MDk2OCwKICAgICAgICAi
|
"plan": {
|
||||||
Y3VycmVudF9wZXJpb2Rfc3RhcnQiOiAxNDU5OTQ4OTY4LAogICAgICAgICJj
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
dXN0b21lciI6ICJjdXNfOERpMXdqZFZrdHY1a3QiLAogICAgICAgICJkaXNj
|
"object": "plan",
|
||||||
b3VudCI6IG51bGwsCiAgICAgICAgImVuZGVkX2F0IjogbnVsbCwKICAgICAg
|
"amount": 3000,
|
||||||
ICAibWV0YWRhdGEiOiB7fSwKICAgICAgICAicGxhbiI6IHsKICAgICAgICAg
|
"created": 1459782921,
|
||||||
ICJpZCI6ICJtZW5zdWVsLXN0YW5kYXJkLW1vbnRoLTIwMTYwNDA0MTcxNTE5
|
"currency": "usd",
|
||||||
IiwKICAgICAgICAgICJvYmplY3QiOiAicGxhbiIsCiAgICAgICAgICAiYW1v
|
"interval": "month",
|
||||||
dW50IjogMzAwMCwKICAgICAgICAgICJjcmVhdGVkIjogMTQ1OTc4MjkyMSwK
|
"interval_count": 1,
|
||||||
ICAgICAgICAgICJjdXJyZW5jeSI6ICJ1c2QiLAogICAgICAgICAgImludGVy
|
"livemode": false,
|
||||||
dmFsIjogIm1vbnRoIiwKICAgICAgICAgICJpbnRlcnZhbF9jb3VudCI6IDEs
|
"metadata": {},
|
||||||
CiAgICAgICAgICAibGl2ZW1vZGUiOiBmYWxzZSwKICAgICAgICAgICJtZXRh
|
"name": "Mensuel - standard, association - month",
|
||||||
ZGF0YSI6IHt9LAogICAgICAgICAgIm5hbWUiOiAiTWVuc3VlbCAtIHN0YW5k
|
"statement_descriptor": null,
|
||||||
YXJkLCBhc3NvY2lhdGlvbiAtIG1vbnRoIiwKICAgICAgICAgICJzdGF0ZW1l
|
"trial_period_days": null
|
||||||
bnRfZGVzY3JpcHRvciI6IG51bGwsCiAgICAgICAgICAidHJpYWxfcGVyaW9k
|
},
|
||||||
X2RheXMiOiBudWxsCiAgICAgICAgfSwKICAgICAgICAicXVhbnRpdHkiOiAx
|
"quantity": 1,
|
||||||
LAogICAgICAgICJzdGFydCI6IDE0NTk5NDg5NjgsCiAgICAgICAgInN0YXR1
|
"start": 1505724789,
|
||||||
cyI6ICJhY3RpdmUiLAogICAgICAgICJ0YXhfcGVyY2VudCI6IG51bGwsCiAg
|
"status": "active",
|
||||||
ICAgICAgInRyaWFsX2VuZCI6IG51bGwsCiAgICAgICAgInRyaWFsX3N0YXJ0
|
"tax_percent": null,
|
||||||
IjogbnVsbAogICAgICB9CiAgICBdLAogICAgImhhc19tb3JlIjogZmFsc2Us
|
"trial_end": null,
|
||||||
CiAgICAidG90YWxfY291bnQiOiA0LAogICAgInVybCI6ICIvdjEvY3VzdG9t
|
"trial_start": null
|
||||||
ZXJzL2N1c184RGkxd2pkVmt0djVrdC9zdWJzY3JpcHRpb25zIgogIH0KfQo=
|
},
|
||||||
http_version:
|
{
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:25 GMT
|
"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:53:26 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices
|
uri: https://api.stripe.com/v1/invoices
|
||||||
@ -654,9 +1287,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '27'
|
- '27'
|
||||||
response:
|
response:
|
||||||
@ -667,11 +1300,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:26 GMT
|
- Mon, 18 Sep 2017 08:53:27 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1429'
|
- '1501'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -680,12 +1313,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6spkK6V9UkUW
|
- req_lLsyHtioA7pdvd
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -694,17 +1329,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
"id": "in_1B3L0N2sOmf47Nz9YpYod08J",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 5100,
|
"amount_due": 5100,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 0,
|
"attempt_count": 0,
|
||||||
"attempted": false,
|
"attempted": false,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"charge": null,
|
"charge": null,
|
||||||
"closed": false,
|
"closed": false,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1460041346,
|
"date": 1505724807,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": null,
|
"ending_balance": null,
|
||||||
@ -713,17 +1349,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 5100,
|
"amount": 5100,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041342,
|
"start": 1505724803,
|
||||||
"end": 1460041342
|
"end": 1505724803
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -734,14 +1370,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/lines"
|
"url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": 1460044946,
|
"next_payment_attempt": 1505728407,
|
||||||
|
"number": "d4cc0e661c-0006",
|
||||||
"paid": false,
|
"paid": false,
|
||||||
"period_end": 1460041346,
|
"period_end": 1508316421,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -752,11 +1389,11 @@ http_interactions:
|
|||||||
"total": 5100,
|
"total": 5100,
|
||||||
"webhooks_delivered_at": null
|
"webhooks_delivered_at": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:26 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:27 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/pay
|
uri: https://api.stripe.com/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/pay
|
||||||
body:
|
body:
|
||||||
encoding: ASCII-8BIT
|
encoding: ASCII-8BIT
|
||||||
string: ''
|
string: ''
|
||||||
@ -772,9 +1409,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '0'
|
- '0'
|
||||||
response:
|
response:
|
||||||
@ -785,11 +1422,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:28 GMT
|
- Mon, 18 Sep 2017 08:53:28 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1448'
|
- '1520'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -798,12 +1435,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6srau28jSd0F
|
- req_Q1JY5c7c5oOcvH
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -812,17 +1451,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
"id": "in_1B3L0N2sOmf47Nz9YpYod08J",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 5100,
|
"amount_due": 5100,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_17xeeN2sOmf47Nz9bPRkhlte",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L0O2sOmf47Nz9Qfo2Mx6j",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1460041346,
|
"date": 1505724807,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -831,17 +1471,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
"id": "ii_1B3L0J2sOmf47Nz9lKSNNF1U",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 5100,
|
"amount": 5100,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1460041342,
|
"start": 1505724803,
|
||||||
"end": 1460041342
|
"end": 1505724803
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -852,14 +1492,15 @@ http_interactions:
|
|||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 1,
|
||||||
"url": "/v1/invoices/in_17xeeM2sOmf47Nz9kzn0pC8f/lines"
|
"url": "/v1/invoices/in_1B3L0N2sOmf47Nz9YpYod08J/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "d4cc0e661c-0006",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1460041346,
|
"period_end": 1508316421,
|
||||||
"period_start": 1459948968,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
@ -868,13 +1509,13 @@ http_interactions:
|
|||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 5100,
|
"total": 5100,
|
||||||
"webhooks_delivered_at": 1460041346
|
"webhooks_delivered_at": 1505724807
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:27 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:29 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_17xeeH2sOmf47Nz9qkD2jaiS
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_1B3L0F2sOmf47Nz9aqfWs2B0
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -890,9 +1531,9 @@ http_interactions:
|
|||||||
Content-Type:
|
Content-Type:
|
||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
X-Stripe-Client-User-Agent:
|
||||||
- '{"bindings_version":"1.30.2","lang":"ruby","lang_version":"2.3.0 p0 (2015-12-25)","platform":"x86_64-darwin14","engine":"ruby","publisher":"stripe","uname":"Darwin
|
- '{"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
|
||||||
integration 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -901,7 +1542,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 07 Apr 2016 15:02:29 GMT
|
- Mon, 18 Sep 2017 08:53:29 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -914,12 +1555,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_8E6saiNl2MPHRO
|
- req_uZzsRyDtYBkcsg
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -929,8 +1572,8 @@ http_interactions:
|
|||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"deleted": true,
|
"deleted": true,
|
||||||
"id": "card_17xeeH2sOmf47Nz9qkD2jaiS"
|
"id": "card_1B3L0F2sOmf47Nz9aqfWs2B0"
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 07 Apr 2016 15:02:28 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:30 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
http_interactions:
|
http_interactions:
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7
|
uri: https://api.stripe.com/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -19,8 +19,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -29,11 +29,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 12:25:04 GMT
|
- Mon, 18 Sep 2017 08:53:17 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3362'
|
- '2993'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -42,12 +42,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99l6aCLd0IC3Qn
|
- req_Yq5lCXzK2PtgOo
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -56,17 +58,18 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
"id": "in_1B3L052sOmf47Nz9zx9vIGks",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 3825,
|
"amount_due": 3825,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_18rNSq2sOmf47Nz9Z8EuuyI8",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L052sOmf47Nz9yFwS4Xua",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321652,
|
"date": 1505724789,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -75,17 +78,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": -450,
|
"amount": -675,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "coupon SUNNYFABLAB",
|
"description": "coupon SUNNYFABLAB",
|
||||||
"discountable": false,
|
"discountable": false,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321651,
|
"start": 1505724785,
|
||||||
"end": 1473321651
|
"end": 1505724785
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -94,36 +97,17 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
|
||||||
"object": "line_item",
|
|
||||||
"amount": -225,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "coupon SUNNYFABLAB",
|
|
||||||
"discountable": false,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473321648,
|
|
||||||
"end": 1473321648
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 1500,
|
"amount": 1500,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724784,
|
||||||
"end": 1473321648
|
"end": 1505724784
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -132,7 +116,7 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3000,
|
"amount": 3000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
@ -141,8 +125,8 @@ http_interactions:
|
|||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321652,
|
"start": 1505724789,
|
||||||
"end": 1475913652
|
"end": 1508316789
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -161,29 +145,31 @@ http_interactions:
|
|||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"subscription": null,
|
"subscription": null,
|
||||||
|
"subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i",
|
||||||
"type": "subscription"
|
"type": "subscription"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 4,
|
"total_count": 3,
|
||||||
"url": "/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7/lines"
|
"url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "d4cc0e661c-0005",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1473321652,
|
"period_end": 1505724789,
|
||||||
"period_start": 1473321652,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
"subscription": "sub_99gqb47NmX9r79",
|
"subscription": "sub_BQBMKKS6nutZLr",
|
||||||
"subtotal": 3825,
|
"subtotal": 3825,
|
||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 3825,
|
"total": 3825,
|
||||||
"webhooks_delivered_at": 1473321652
|
"webhooks_delivered_at": 1505724789
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 12:25:04 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:17 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -19,8 +19,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,7 +31,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:47 GMT
|
- Mon, 18 Sep 2017 08:53:02 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqPbGrfRTnyZ
|
- req_vbKmqleGbrZcOb
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_18rNSl2sOmf47Nz9cTGhyMRc",
|
"id": "tok_1B3Kzy2sOmf47Nz9sGjFTkgo",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "90.52.44.103",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1473321647,
|
"created": 1505724782,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:47 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:02 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=1500¤cy=usd&description=FORM1%2B+imprimante+3D+September+04%2C+2016+14%3A00+-+03%3A00+PM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -111,8 +113,326 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:53:03 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '6932'
|
||||||
|
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_BimRmUWzO804MR
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Kuo2sOmf47Nz9egmtGncE",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724462,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724462,
|
||||||
|
"end": 1505724462
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724432,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724432,
|
||||||
|
"end": 1505724432
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -675,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724418,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724418,
|
||||||
|
"end": 1505724418
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724417,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724417,
|
||||||
|
"end": 1505724417
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -510,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338732,
|
||||||
|
"description": "coupon XMAS10",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338732,
|
||||||
|
"end": 1473338732
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338731,
|
||||||
|
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338731,
|
||||||
|
"end": 1473338731
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -450,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321651,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321651,
|
||||||
|
"end": 1473321651
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -225,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1460041342,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041342,
|
||||||
|
"end": 1460041342
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951378,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951378,
|
||||||
|
"end": 1459951378
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951370,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951370,
|
||||||
|
"end": 1459951370
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53: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
|
||||||
|
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:
|
Content-Length:
|
||||||
- '129'
|
- '129'
|
||||||
response:
|
response:
|
||||||
@ -123,7 +443,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:48 GMT
|
- Mon, 18 Sep 2017 08:53:04 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -136,12 +456,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqddasRVKxn2
|
- req_3uaSnoGLh6fY1j
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,34 +472,34 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 1500,
|
"amount": 1500,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321648,
|
"date": 1505724784,
|
||||||
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724784,
|
||||||
"end": 1473321648
|
"end": 1505724784
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:48 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:05 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=-225¤cy=usd&description=coupon+SUNNYFABLAB
|
string: customer=cus_8Di1wjdVktv5kt&amount=-675¤cy=usd&description=coupon+SUNNYFABLAB
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -191,8 +513,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '83'
|
- '83'
|
||||||
response:
|
response:
|
||||||
@ -203,7 +525,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:48 GMT
|
- Mon, 18 Sep 2017 08:53:05 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -216,12 +538,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gq27qOy8Dn3R
|
- req_PvqUnWyunXe4ET
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -230,28 +554,28 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": -225,
|
"amount": -675,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321648,
|
"date": 1505724785,
|
||||||
"description": "coupon SUNNYFABLAB",
|
"description": "coupon SUNNYFABLAB",
|
||||||
"discountable": false,
|
"discountable": false,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724785,
|
||||||
"end": 1473321648
|
"end": 1505724785
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:49 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:05 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -271,8 +595,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -281,11 +605,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:49 GMT
|
- Mon, 18 Sep 2017 08:53:06 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1408'
|
- '5626'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -294,12 +618,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqbfntlVYpyJ
|
- req_RWcPI7fiydE5H4
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -313,7 +639,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -325,7 +651,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"id": "card_1B3KvG2sOmf47Nz9vdggtLMh",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -341,7 +667,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -356,14 +682,145 @@ http_interactions:
|
|||||||
},
|
},
|
||||||
"subscriptions": {
|
"subscriptions": {
|
||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [],
|
"data": [
|
||||||
|
{
|
||||||
|
"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,
|
"has_more": false,
|
||||||
"total_count": 0,
|
"total_count": 2,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:49 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:06 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -383,8 +840,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -393,11 +850,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:50 GMT
|
- Mon, 18 Sep 2017 08:53:07 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '1408'
|
- '5626'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -406,12 +863,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqvJz00HL9sk
|
- req_Q3pIj8r3XdrR0g
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -425,7 +884,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"default_source": "card_1B3KvG2sOmf47Nz9vdggtLMh",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -437,7 +896,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_17z7CT2sOmf47Nz9wtWkhGor",
|
"id": "card_1B3KvG2sOmf47Nz9vdggtLMh",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -453,7 +912,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -468,100 +927,151 @@ http_interactions:
|
|||||||
},
|
},
|
||||||
"subscriptions": {
|
"subscriptions": {
|
||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [],
|
"data": [
|
||||||
|
{
|
||||||
|
"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,
|
"has_more": false,
|
||||||
"total_count": 0,
|
"total_count": 2,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:50 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:07 GMT
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=-450¤cy=usd&description=coupon+SUNNYFABLAB
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '83'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 08:00:51 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '436'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99gq9UCtuA1CdL
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
|
||||||
"object": "invoiceitem",
|
|
||||||
"amount": -450,
|
|
||||||
"currency": "usd",
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"date": 1473321651,
|
|
||||||
"description": "coupon SUNNYFABLAB",
|
|
||||||
"discountable": false,
|
|
||||||
"invoice": null,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473321651,
|
|
||||||
"end": 1473321651
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:51 GMT
|
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: post
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: plan=mensuel-standard-month-20160404171519&source=tok_18rNSl2sOmf47Nz9cTGhyMRc
|
string: plan=mensuel-standard-month-20160404171519&source=tok_1B3Kzy2sOmf47Nz9sGjFTkgo
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -575,8 +1085,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '78'
|
- '78'
|
||||||
response:
|
response:
|
||||||
@ -587,11 +1097,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:52 GMT
|
- Mon, 18 Sep 2017 08:53:10 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '867'
|
- '1711'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -600,12 +1110,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gq6A5SZpD1qQ
|
- req_uxFA9gyDW762gv
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -614,17 +1126,47 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1473321652,
|
"created": 1505724789,
|
||||||
"current_period_end": 1475913652,
|
"current_period_end": 1508316789,
|
||||||
"current_period_start": 1473321652,
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
@ -642,14 +1184,14 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1473321652,
|
"start": 1505724789,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
"trial_start": null
|
"trial_start": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:53 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:10 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1
|
uri: https://api.stripe.com/v1/invoices?customer=cus_8Di1wjdVktv5kt&limit=1
|
||||||
@ -669,8 +1211,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -679,11 +1221,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:53 GMT
|
- Mon, 18 Sep 2017 08:53:10 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '3963'
|
- '3530'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -692,12 +1234,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqm0fOzzj3EP
|
- req_xIAGJ2MsU1Gmkp
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -709,17 +1253,18 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
"id": "in_1B3L052sOmf47Nz9zx9vIGks",
|
||||||
"object": "invoice",
|
"object": "invoice",
|
||||||
"amount_due": 3825,
|
"amount_due": 3825,
|
||||||
"application_fee": null,
|
"application_fee": null,
|
||||||
"attempt_count": 1,
|
"attempt_count": 1,
|
||||||
"attempted": true,
|
"attempted": true,
|
||||||
"charge": "ch_18rNSq2sOmf47Nz9Z8EuuyI8",
|
"billing": "charge_automatically",
|
||||||
|
"charge": "ch_1B3L052sOmf47Nz9yFwS4Xua",
|
||||||
"closed": true,
|
"closed": true,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321652,
|
"date": 1505724789,
|
||||||
"description": null,
|
"description": null,
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ending_balance": 0,
|
"ending_balance": 0,
|
||||||
@ -728,17 +1273,17 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
"id": "ii_1B3L012sOmf47Nz948JNFRoK",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": -450,
|
"amount": -675,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "coupon SUNNYFABLAB",
|
"description": "coupon SUNNYFABLAB",
|
||||||
"discountable": false,
|
"discountable": false,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321651,
|
"start": 1505724785,
|
||||||
"end": 1473321651
|
"end": 1505724785
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -747,36 +1292,17 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
|
||||||
"object": "line_item",
|
|
||||||
"amount": -225,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "coupon SUNNYFABLAB",
|
|
||||||
"discountable": false,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473321648,
|
|
||||||
"end": 1473321648
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 1500,
|
"amount": 1500,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724784,
|
||||||
"end": 1473321648
|
"end": 1505724784
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
@ -785,7 +1311,7 @@ http_interactions:
|
|||||||
"type": "invoiceitem"
|
"type": "invoiceitem"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "line_item",
|
"object": "line_item",
|
||||||
"amount": 3000,
|
"amount": 3000,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
@ -794,8 +1320,8 @@ http_interactions:
|
|||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321652,
|
"start": 1505724789,
|
||||||
"end": 1475913652
|
"end": 1508316789
|
||||||
},
|
},
|
||||||
"plan": {
|
"plan": {
|
||||||
"id": "mensuel-standard-month-20160404171519",
|
"id": "mensuel-standard-month-20160404171519",
|
||||||
@ -814,35 +1340,37 @@ http_interactions:
|
|||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"subscription": null,
|
"subscription": null,
|
||||||
|
"subscription_item": "si_1B3L052sOmf47Nz9MoxGlk6i",
|
||||||
"type": "subscription"
|
"type": "subscription"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 4,
|
"total_count": 3,
|
||||||
"url": "/v1/invoices/in_18rNSq2sOmf47Nz91hxlGSa7/lines"
|
"url": "/v1/invoices/in_1B3L052sOmf47Nz9zx9vIGks/lines"
|
||||||
},
|
},
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"next_payment_attempt": null,
|
"next_payment_attempt": null,
|
||||||
|
"number": "d4cc0e661c-0005",
|
||||||
"paid": true,
|
"paid": true,
|
||||||
"period_end": 1473321652,
|
"period_end": 1505724789,
|
||||||
"period_start": 1473321652,
|
"period_start": 1505724421,
|
||||||
"receipt_number": null,
|
"receipt_number": null,
|
||||||
"starting_balance": 0,
|
"starting_balance": 0,
|
||||||
"statement_descriptor": null,
|
"statement_descriptor": null,
|
||||||
"subscription": "sub_99gqb47NmX9r79",
|
"subscription": "sub_BQBMKKS6nutZLr",
|
||||||
"subtotal": 3825,
|
"subtotal": 3825,
|
||||||
"tax": null,
|
"tax": null,
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"total": 3825,
|
"total": 3825,
|
||||||
"webhooks_delivered_at": 1473321652
|
"webhooks_delivered_at": 1505724789
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": true,
|
"has_more": true,
|
||||||
"url": "/v1/invoices"
|
"url": "/v1/invoices"
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:53 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:11 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
||||||
@ -862,8 +1390,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -872,11 +1400,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:54 GMT
|
- Mon, 18 Sep 2017 08:53:11 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '2490'
|
- '7728'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -885,12 +1413,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqRCzmQJIDBa
|
- req_TovqsTQa37G0Rf
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -904,7 +1434,7 @@ http_interactions:
|
|||||||
"account_balance": 0,
|
"account_balance": 0,
|
||||||
"created": 1459948888,
|
"created": 1459948888,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"default_source": "card_18rNSk2sOmf47Nz9h1cf7obf",
|
"default_source": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"delinquent": false,
|
"delinquent": false,
|
||||||
"description": "Jean Dupond",
|
"description": "Jean Dupond",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
@ -916,7 +1446,7 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
|
"id": "card_1B3Kzy2sOmf47Nz9TT6Gk2oJ",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -932,7 +1462,7 @@ http_interactions:
|
|||||||
"cvc_check": "pass",
|
"cvc_check": "pass",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -949,17 +1479,47 @@ http_interactions:
|
|||||||
"object": "list",
|
"object": "list",
|
||||||
"data": [
|
"data": [
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1473321652,
|
"created": 1505724789,
|
||||||
"current_period_end": 1475913652,
|
"current_period_end": 1508316789,
|
||||||
"current_period_start": 1473321652,
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
@ -977,7 +1537,137 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1473321652,
|
"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",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
@ -985,15 +1675,15 @@ http_interactions:
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"has_more": false,
|
"has_more": false,
|
||||||
"total_count": 1,
|
"total_count": 3,
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
"url": "/v1/customers/cus_8Di1wjdVktv5kt/subscriptions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:54 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:11 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_99gqb47NmX9r79
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1010,8 +1700,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1020,11 +1710,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:55 GMT
|
- Mon, 18 Sep 2017 08:53:12 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '867'
|
- '1711'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -1033,12 +1723,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqhmTVKcwbNF
|
- req_BUffG3CwZVDTAr
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1047,17 +1739,47 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": false,
|
"cancel_at_period_end": false,
|
||||||
"canceled_at": null,
|
"canceled_at": null,
|
||||||
"created": 1473321652,
|
"created": 1505724789,
|
||||||
"current_period_end": 1475913652,
|
"current_period_end": 1508316789,
|
||||||
"current_period_start": 1473321652,
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
@ -1075,17 +1797,17 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1473321652,
|
"start": 1505724789,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
"trial_start": null
|
"trial_start": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:55 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:12 GMT
|
||||||
- request:
|
- request:
|
||||||
method: delete
|
method: delete
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_99gqb47NmX9r79?at_period_end=true
|
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/subscriptions/sub_BQBMKKS6nutZLr?at_period_end=true
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1102,8 +1824,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1112,11 +1834,11 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:56 GMT
|
- Mon, 18 Sep 2017 08:53:13 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
- '872'
|
- '1716'
|
||||||
Connection:
|
Connection:
|
||||||
- keep-alive
|
- keep-alive
|
||||||
Access-Control-Allow-Credentials:
|
Access-Control-Allow-Credentials:
|
||||||
@ -1125,12 +1847,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqPGBMCEM6Ec
|
- req_9qV2Y6X7g0d8xs
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1139,17 +1863,47 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "sub_99gqb47NmX9r79",
|
"id": "sub_BQBMKKS6nutZLr",
|
||||||
"object": "subscription",
|
"object": "subscription",
|
||||||
"application_fee_percent": null,
|
"application_fee_percent": null,
|
||||||
|
"billing": "charge_automatically",
|
||||||
"cancel_at_period_end": true,
|
"cancel_at_period_end": true,
|
||||||
"canceled_at": 1473321656,
|
"canceled_at": 1505724793,
|
||||||
"created": 1473321652,
|
"created": 1505724789,
|
||||||
"current_period_end": 1475913652,
|
"current_period_end": 1508316789,
|
||||||
"current_period_start": 1473321652,
|
"current_period_start": 1505724789,
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"discount": null,
|
"discount": null,
|
||||||
"ended_at": 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,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"plan": {
|
"plan": {
|
||||||
@ -1167,17 +1921,17 @@ http_interactions:
|
|||||||
"trial_period_days": null
|
"trial_period_days": null
|
||||||
},
|
},
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"start": 1473321652,
|
"start": 1505724789,
|
||||||
"status": "active",
|
"status": "active",
|
||||||
"tax_percent": null,
|
"tax_percent": null,
|
||||||
"trial_end": null,
|
"trial_end": null,
|
||||||
"trial_start": null
|
"trial_start": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:57 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:13 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems/ii_18rNSm2sOmf47Nz9avgL9KyW
|
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1194,8 +1948,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1204,7 +1958,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:58 GMT
|
- Mon, 18 Sep 2017 08:53:14 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -1217,12 +1971,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqJIQqEHVCZ0
|
- req_gFmWwKxUTE3l6H
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1231,31 +1987,31 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 1500,
|
"amount": 1500,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321648,
|
"date": 1505724784,
|
||||||
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724784,
|
||||||
"end": 1473321648
|
"end": 1505724784
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:14 GMT
|
||||||
- request:
|
- request:
|
||||||
method: get
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems/ii_18rNSm2sOmf47Nz9avgL9KyW
|
uri: https://api.stripe.com/v1/invoiceitems/ii_1B3L002sOmf47Nz9FjqPZEye
|
||||||
body:
|
body:
|
||||||
encoding: US-ASCII
|
encoding: US-ASCII
|
||||||
string: ''
|
string: ''
|
||||||
@ -1272,8 +2028,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
response:
|
||||||
status:
|
status:
|
||||||
code: 200
|
code: 200
|
||||||
@ -1282,7 +2038,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 08:00:58 GMT
|
- Mon, 18 Sep 2017 08:53:15 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -1295,12 +2051,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99gqJk9T35fI7H
|
- req_PPoPtWzqAFdG2L
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -1309,26 +2067,26 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
"id": "ii_1B3L002sOmf47Nz9FjqPZEye",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 1500,
|
"amount": 1500,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473321648,
|
"date": 1505724784,
|
||||||
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
"invoice": "in_1B3L052sOmf47Nz9zx9vIGks",
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473321648,
|
"start": 1505724784,
|
||||||
"end": 1473321648
|
"end": 1505724784
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 08:00:58 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:15 GMT
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
@ -5,7 +5,7 @@ http_interactions:
|
|||||||
uri: https://api.stripe.com/v1/tokens
|
uri: https://api.stripe.com/v1/tokens
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2017&card[cvc]=314
|
string: card[number]=4242424242424242&card[exp_month]=4&card[exp_year]=2018&card[cvc]=314
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -19,8 +19,8 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:
|
Content-Length:
|
||||||
- '81'
|
- '81'
|
||||||
response:
|
response:
|
||||||
@ -31,7 +31,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 12:45:30 GMT
|
- Mon, 18 Sep 2017 08:53:48 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -44,12 +44,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99lRiyf8VYL75c
|
- req_7ARWgjiB69On3h
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -58,10 +60,10 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "tok_18rRuI2sOmf47Nz9nl5ZXXoF",
|
"id": "tok_1B3L0i2sOmf47Nz9NLjcWb4n",
|
||||||
"object": "token",
|
"object": "token",
|
||||||
"card": {
|
"card": {
|
||||||
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
|
"id": "card_1B3L0i2sOmf47Nz9LsdJmm5g",
|
||||||
"object": "card",
|
"object": "card",
|
||||||
"address_city": null,
|
"address_city": null,
|
||||||
"address_country": null,
|
"address_country": null,
|
||||||
@ -76,7 +78,7 @@ http_interactions:
|
|||||||
"cvc_check": "unchecked",
|
"cvc_check": "unchecked",
|
||||||
"dynamic_last4": null,
|
"dynamic_last4": null,
|
||||||
"exp_month": 4,
|
"exp_month": 4,
|
||||||
"exp_year": 2017,
|
"exp_year": 2018,
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
"fingerprint": "o52jybR7bnmNn6AT",
|
||||||
"funding": "credit",
|
"funding": "credit",
|
||||||
"last4": "4242",
|
"last4": "4242",
|
||||||
@ -84,20 +86,20 @@ http_interactions:
|
|||||||
"name": null,
|
"name": null,
|
||||||
"tokenization_method": null
|
"tokenization_method": null
|
||||||
},
|
},
|
||||||
"client_ip": "90.52.44.103",
|
"client_ip": "90.112.59.71",
|
||||||
"created": 1473338730,
|
"created": 1505724828,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"type": "card",
|
"type": "card",
|
||||||
"used": false
|
"used": false
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:30 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:48 GMT
|
||||||
- request:
|
- request:
|
||||||
method: post
|
method: get
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
uri: https://api.stripe.com/v1/invoiceitems?customer=cus_8Di1wjdVktv5kt&limit=100
|
||||||
body:
|
body:
|
||||||
encoding: UTF-8
|
encoding: US-ASCII
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=5100¤cy=usd&description=Formation+Imprimante+3D+September+05%2C+2016+08%3A00+-+09%3A00+AM
|
string: ''
|
||||||
headers:
|
headers:
|
||||||
Accept:
|
Accept:
|
||||||
- "*/*; q=0.5, application/xml"
|
- "*/*; q=0.5, application/xml"
|
||||||
@ -111,8 +113,410 @@ http_interactions:
|
|||||||
- application/x-www-form-urlencoded
|
- application/x-www-form-urlencoded
|
||||||
X-Stripe-Client-User-Agent:
|
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
|
- '{"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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
version 4.10.0-33-generic (buildd@lgw01-22) (gcc version 5.4.0 20160609 (Ubuntu
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
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:53:49 GMT
|
||||||
|
Content-Type:
|
||||||
|
- application/json
|
||||||
|
Content-Length:
|
||||||
|
- '9230'
|
||||||
|
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_XjlZoFBGR3Fwpu
|
||||||
|
Stripe-Version:
|
||||||
|
- '2015-10-16'
|
||||||
|
Strict-Transport-Security:
|
||||||
|
- max-age=31556926; includeSubDomains
|
||||||
|
body:
|
||||||
|
encoding: UTF-8
|
||||||
|
string: |
|
||||||
|
{
|
||||||
|
"object": "list",
|
||||||
|
"data": [
|
||||||
|
{
|
||||||
|
"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",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724462,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Kut2sOmf47Nz9ht8mAIGU",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724462,
|
||||||
|
"end": 1505724462
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3KuK2sOmf47Nz9RqRGmh0l",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724432,
|
||||||
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3KuO2sOmf47Nz9invMhPqV",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724432,
|
||||||
|
"end": 1505724432
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku62sOmf47Nz92wSUMzHq",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -675,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724418,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724418,
|
||||||
|
"end": 1505724418
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_1B3Ku52sOmf47Nz9vmqyS5Gy",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1505724417,
|
||||||
|
"description": "FORM1+ imprimante 3D September 17, 2017 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_1B3Ku92sOmf47Nz9MmYnmpwr",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1505724417,
|
||||||
|
"end": 1505724417
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -510,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338732,
|
||||||
|
"description": "coupon XMAS10",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338732,
|
||||||
|
"end": 1473338732
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473338731,
|
||||||
|
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473338731,
|
||||||
|
"end": 1473338731
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSp2sOmf47Nz9S0rJVP2a",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -450,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321651,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321651,
|
||||||
|
"end": 1473321651
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9R11Svoer",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": -225,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "coupon SUNNYFABLAB",
|
||||||
|
"discountable": false,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_18rNSm2sOmf47Nz9avgL9KyW",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 1500,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1473321648,
|
||||||
|
"description": "FORM1+ imprimante 3D September 04, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_18rNSq2sOmf47Nz91hxlGSa7",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1473321648,
|
||||||
|
"end": 1473321648
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xeeI2sOmf47Nz9qEhwu9J6",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1460041342,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 12:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xeeM2sOmf47Nz9kzn0pC8f",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1460041342,
|
||||||
|
"end": 1460041342
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHFG2sOmf47Nz9hhIaJZtF",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 3200,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951378,
|
||||||
|
"description": "FORM1+ imprimante 3D April 11, 2016 14:00 - 03:00 PM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFK2sOmf47Nz9jegPFlNt",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951378,
|
||||||
|
"end": 1459951378
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "ii_17xHF82sOmf47Nz9QT6BnkAZ",
|
||||||
|
"object": "invoiceitem",
|
||||||
|
"amount": 5100,
|
||||||
|
"currency": "usd",
|
||||||
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
|
"date": 1459951370,
|
||||||
|
"description": "Formation Imprimante 3D April 12, 2016 08:00 - 09:00 AM",
|
||||||
|
"discountable": true,
|
||||||
|
"invoice": "in_17xHFC2sOmf47Nz9ZZeO0yST",
|
||||||
|
"livemode": false,
|
||||||
|
"metadata": {},
|
||||||
|
"period": {
|
||||||
|
"start": 1459951370,
|
||||||
|
"end": 1459951370
|
||||||
|
},
|
||||||
|
"plan": null,
|
||||||
|
"proration": false,
|
||||||
|
"quantity": null,
|
||||||
|
"subscription": null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"has_more": false,
|
||||||
|
"url": "/v1/invoiceitems"
|
||||||
|
}
|
||||||
|
http_version:
|
||||||
|
recorded_at: Mon, 18 Sep 2017 08:53:49 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
|
||||||
|
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:
|
Content-Length:
|
||||||
- '130'
|
- '130'
|
||||||
response:
|
response:
|
||||||
@ -123,7 +527,7 @@ http_interactions:
|
|||||||
Server:
|
Server:
|
||||||
- nginx
|
- nginx
|
||||||
Date:
|
Date:
|
||||||
- Thu, 08 Sep 2016 12:45:31 GMT
|
- Mon, 18 Sep 2017 08:53:50 GMT
|
||||||
Content-Type:
|
Content-Type:
|
||||||
- application/json
|
- application/json
|
||||||
Content-Length:
|
Content-Length:
|
||||||
@ -136,12 +540,14 @@ http_interactions:
|
|||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
- GET, POST, HEAD, OPTIONS, DELETE
|
||||||
Access-Control-Allow-Origin:
|
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:
|
Access-Control-Max-Age:
|
||||||
- '300'
|
- '300'
|
||||||
Cache-Control:
|
Cache-Control:
|
||||||
- no-cache, no-store
|
- no-cache, no-store
|
||||||
Request-Id:
|
Request-Id:
|
||||||
- req_99lRUe4QZ7kRSv
|
- req_dN98nnq9OtFfFX
|
||||||
Stripe-Version:
|
Stripe-Version:
|
||||||
- '2015-10-16'
|
- '2015-10-16'
|
||||||
Strict-Transport-Security:
|
Strict-Transport-Security:
|
||||||
@ -150,848 +556,26 @@ http_interactions:
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
string: |
|
string: |
|
||||||
{
|
{
|
||||||
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
"id": "ii_1B3L0k2sOmf47Nz9y87SMg3r",
|
||||||
"object": "invoiceitem",
|
"object": "invoiceitem",
|
||||||
"amount": 5100,
|
"amount": 5100,
|
||||||
"currency": "usd",
|
"currency": "usd",
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
"customer": "cus_8Di1wjdVktv5kt",
|
||||||
"date": 1473338731,
|
"date": 1505724830,
|
||||||
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
"description": "Formation Imprimante 3D September 18, 2017 08:00 - 09:00 AM",
|
||||||
"discountable": true,
|
"discountable": true,
|
||||||
"invoice": null,
|
"invoice": null,
|
||||||
"livemode": false,
|
"livemode": false,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"period": {
|
"period": {
|
||||||
"start": 1473338731,
|
"start": 1505724830,
|
||||||
"end": 1473338731
|
"end": 1505724830
|
||||||
},
|
},
|
||||||
"plan": null,
|
"plan": null,
|
||||||
"proration": false,
|
"proration": false,
|
||||||
"quantity": null,
|
"quantity": null,
|
||||||
"subscription": null
|
"subscription": null
|
||||||
}
|
}
|
||||||
http_version:
|
http_version:
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:31 GMT
|
recorded_at: Mon, 18 Sep 2017 08:53:50 GMT
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/invoiceitems
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: customer=cus_8Di1wjdVktv5kt&amount=-510¤cy=usd&description=coupon+XMAS10
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '78'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:32 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '431'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lR2huyf6IhVY
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
|
||||||
"object": "invoiceitem",
|
|
||||||
"amount": -510,
|
|
||||||
"currency": "usd",
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"date": 1473338732,
|
|
||||||
"description": "coupon XMAS10",
|
|
||||||
"discountable": false,
|
|
||||||
"invoice": null,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473338732,
|
|
||||||
"end": 1473338732
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:32 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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:33 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '2495'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lRlUD2wtvAmA
|
|
||||||
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_18rNSk2sOmf47Nz9h1cf7obf",
|
|
||||||
"delinquent": false,
|
|
||||||
"description": "Jean Dupond",
|
|
||||||
"discount": null,
|
|
||||||
"email": "jean.dupond@gmail.com",
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"shipping": null,
|
|
||||||
"sources": {
|
|
||||||
"object": "list",
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
|
|
||||||
"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": 2017,
|
|
||||||
"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_99gqb47NmX9r79",
|
|
||||||
"object": "subscription",
|
|
||||||
"application_fee_percent": null,
|
|
||||||
"cancel_at_period_end": true,
|
|
||||||
"canceled_at": 1473321656,
|
|
||||||
"created": 1473321652,
|
|
||||||
"current_period_end": 1475913652,
|
|
||||||
"current_period_start": 1473321652,
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"discount": null,
|
|
||||||
"ended_at": null,
|
|
||||||
"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": 1473321652,
|
|
||||||
"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, 08 Sep 2016 12:45:33 GMT
|
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: card=tok_18rRuI2sOmf47Nz9nl5ZXXoF
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '33'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:34 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '577'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lReB7yNLWrc3
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
|
|
||||||
"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": 2017,
|
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
|
||||||
"funding": "credit",
|
|
||||||
"last4": "4242",
|
|
||||||
"metadata": {},
|
|
||||||
"name": null,
|
|
||||||
"tokenization_method": null
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:34 GMT
|
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: default_source=card_18rRuI2sOmf47Nz9TSeEZ96o
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '44'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:35 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '3223'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lRU3qBXW4qEB
|
|
||||||
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_18rRuI2sOmf47Nz9TSeEZ96o",
|
|
||||||
"delinquent": false,
|
|
||||||
"description": "Jean Dupond",
|
|
||||||
"discount": null,
|
|
||||||
"email": "jean.dupond@gmail.com",
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"shipping": null,
|
|
||||||
"sources": {
|
|
||||||
"object": "list",
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o",
|
|
||||||
"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": 2017,
|
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
|
||||||
"funding": "credit",
|
|
||||||
"last4": "4242",
|
|
||||||
"metadata": {},
|
|
||||||
"name": null,
|
|
||||||
"tokenization_method": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "card_18rNSk2sOmf47Nz9h1cf7obf",
|
|
||||||
"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": 2017,
|
|
||||||
"fingerprint": "o52jybR7bnmNn6AT",
|
|
||||||
"funding": "credit",
|
|
||||||
"last4": "4242",
|
|
||||||
"metadata": {},
|
|
||||||
"name": null,
|
|
||||||
"tokenization_method": null
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"has_more": false,
|
|
||||||
"total_count": 2,
|
|
||||||
"url": "/v1/customers/cus_8Di1wjdVktv5kt/sources"
|
|
||||||
},
|
|
||||||
"subscriptions": {
|
|
||||||
"object": "list",
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"id": "sub_99gqb47NmX9r79",
|
|
||||||
"object": "subscription",
|
|
||||||
"application_fee_percent": null,
|
|
||||||
"cancel_at_period_end": true,
|
|
||||||
"canceled_at": 1473321656,
|
|
||||||
"created": 1473321652,
|
|
||||||
"current_period_end": 1475913652,
|
|
||||||
"current_period_start": 1473321652,
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"discount": null,
|
|
||||||
"ended_at": null,
|
|
||||||
"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": 1473321652,
|
|
||||||
"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, 08 Sep 2016 12:45:35 GMT
|
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/invoices
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: customer=cus_8Di1wjdVktv5kt
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '27'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:36 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '1925'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lRjTRT4OH5kv
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"id": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
|
||||||
"object": "invoice",
|
|
||||||
"amount_due": 4590,
|
|
||||||
"application_fee": null,
|
|
||||||
"attempt_count": 0,
|
|
||||||
"attempted": false,
|
|
||||||
"charge": null,
|
|
||||||
"closed": false,
|
|
||||||
"currency": "usd",
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"date": 1473338736,
|
|
||||||
"description": null,
|
|
||||||
"discount": null,
|
|
||||||
"ending_balance": null,
|
|
||||||
"forgiven": false,
|
|
||||||
"lines": {
|
|
||||||
"object": "list",
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
|
||||||
"object": "line_item",
|
|
||||||
"amount": -510,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "coupon XMAS10",
|
|
||||||
"discountable": false,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473338732,
|
|
||||||
"end": 1473338732
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
|
||||||
"object": "line_item",
|
|
||||||
"amount": 5100,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
|
||||||
"discountable": true,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473338731,
|
|
||||||
"end": 1473338731
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"has_more": false,
|
|
||||||
"total_count": 2,
|
|
||||||
"url": "/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/lines"
|
|
||||||
},
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"next_payment_attempt": 1473342336,
|
|
||||||
"paid": false,
|
|
||||||
"period_end": 1473338736,
|
|
||||||
"period_start": 1473321652,
|
|
||||||
"receipt_number": null,
|
|
||||||
"starting_balance": 0,
|
|
||||||
"statement_descriptor": null,
|
|
||||||
"subscription": null,
|
|
||||||
"subtotal": 4590,
|
|
||||||
"tax": null,
|
|
||||||
"tax_percent": null,
|
|
||||||
"total": 4590,
|
|
||||||
"webhooks_delivered_at": null
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:36 GMT
|
|
||||||
- request:
|
|
||||||
method: post
|
|
||||||
uri: https://api.stripe.com/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
Content-Length:
|
|
||||||
- '0'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:37 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '1944'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lRH31egNKaff
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"id": "in_18rRuO2sOmf47Nz9qbfxBA0D",
|
|
||||||
"object": "invoice",
|
|
||||||
"amount_due": 4590,
|
|
||||||
"application_fee": null,
|
|
||||||
"attempt_count": 1,
|
|
||||||
"attempted": true,
|
|
||||||
"charge": "ch_18rRuP2sOmf47Nz9V3NRITbR",
|
|
||||||
"closed": true,
|
|
||||||
"currency": "usd",
|
|
||||||
"customer": "cus_8Di1wjdVktv5kt",
|
|
||||||
"date": 1473338736,
|
|
||||||
"description": null,
|
|
||||||
"discount": null,
|
|
||||||
"ending_balance": 0,
|
|
||||||
"forgiven": false,
|
|
||||||
"lines": {
|
|
||||||
"object": "list",
|
|
||||||
"data": [
|
|
||||||
{
|
|
||||||
"id": "ii_18rRuK2sOmf47Nz9ye4DQ4PM",
|
|
||||||
"object": "line_item",
|
|
||||||
"amount": -510,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "coupon XMAS10",
|
|
||||||
"discountable": false,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473338732,
|
|
||||||
"end": 1473338732
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "ii_18rRuJ2sOmf47Nz9S7f6qfEz",
|
|
||||||
"object": "line_item",
|
|
||||||
"amount": 5100,
|
|
||||||
"currency": "usd",
|
|
||||||
"description": "Formation Imprimante 3D September 05, 2016 08:00 - 09:00 AM",
|
|
||||||
"discountable": true,
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"period": {
|
|
||||||
"start": 1473338731,
|
|
||||||
"end": 1473338731
|
|
||||||
},
|
|
||||||
"plan": null,
|
|
||||||
"proration": false,
|
|
||||||
"quantity": null,
|
|
||||||
"subscription": null,
|
|
||||||
"type": "invoiceitem"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"has_more": false,
|
|
||||||
"total_count": 2,
|
|
||||||
"url": "/v1/invoices/in_18rRuO2sOmf47Nz9qbfxBA0D/lines"
|
|
||||||
},
|
|
||||||
"livemode": false,
|
|
||||||
"metadata": {},
|
|
||||||
"next_payment_attempt": null,
|
|
||||||
"paid": true,
|
|
||||||
"period_end": 1473338736,
|
|
||||||
"period_start": 1473321652,
|
|
||||||
"receipt_number": null,
|
|
||||||
"starting_balance": 0,
|
|
||||||
"statement_descriptor": null,
|
|
||||||
"subscription": null,
|
|
||||||
"subtotal": 4590,
|
|
||||||
"tax": null,
|
|
||||||
"tax_percent": null,
|
|
||||||
"total": 4590,
|
|
||||||
"webhooks_delivered_at": 1473338736
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:37 GMT
|
|
||||||
- request:
|
|
||||||
method: delete
|
|
||||||
uri: https://api.stripe.com/v1/customers/cus_8Di1wjdVktv5kt/sources/card_18rRuI2sOmf47Nz9TSeEZ96o
|
|
||||||
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.4.0-36-generic (buildd@lcy01-01) (gcc version 5.4.0 20160609 (Ubuntu
|
|
||||||
5.4.0-6ubuntu1~16.04.2) ) #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016","hostname":"integration"}'
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message: OK
|
|
||||||
headers:
|
|
||||||
Server:
|
|
||||||
- nginx
|
|
||||||
Date:
|
|
||||||
- Thu, 08 Sep 2016 12:45:38 GMT
|
|
||||||
Content-Type:
|
|
||||||
- application/json
|
|
||||||
Content-Length:
|
|
||||||
- '63'
|
|
||||||
Connection:
|
|
||||||
- keep-alive
|
|
||||||
Access-Control-Allow-Credentials:
|
|
||||||
- 'true'
|
|
||||||
Access-Control-Allow-Methods:
|
|
||||||
- GET, POST, HEAD, OPTIONS, DELETE
|
|
||||||
Access-Control-Allow-Origin:
|
|
||||||
- "*"
|
|
||||||
Access-Control-Max-Age:
|
|
||||||
- '300'
|
|
||||||
Cache-Control:
|
|
||||||
- no-cache, no-store
|
|
||||||
Request-Id:
|
|
||||||
- req_99lRURlSYOVhs3
|
|
||||||
Stripe-Version:
|
|
||||||
- '2015-10-16'
|
|
||||||
Strict-Transport-Security:
|
|
||||||
- max-age=31556926; includeSubDomains
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: |
|
|
||||||
{
|
|
||||||
"deleted": true,
|
|
||||||
"id": "card_18rRuI2sOmf47Nz9TSeEZ96o"
|
|
||||||
}
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 08 Sep 2016 12:45:38 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
recorded_with: VCR 3.0.1
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user