Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trial payment requirement and sync upstream #1

Open
wants to merge 14 commits into
base: tweaks
Choose a base branch
from

Conversation

bkeepers
Copy link

Merges latest from https://github.com/stripe-ruby-mock/stripe-ruby-mock and fixes issue with requiring payment when creating trial.

rbclark and others added 14 commits March 22, 2022 17:26
A few lines down `params[:id]` is used, however since it is not in the allowed params list it is not possible to take the code path to create a subscription with an existing param. This allows the ID param through.
…-param

Allow user to pass in a subscription ID on create
…nvoice_status_when_paid

change invoice status to paid when paid = true
Added additional allowed_params to create_subscription for better testing: payment_settings trial_settings
…ption-allowed-params

Add payment_settings, trial_settings to create_subscription allowed_params
init Github Actions flow

* Added test status badge to README

* use 2.6 as a minimum ruby version in Actions

* remove Travis config

* Fixed no implicit conversion of Range into Integer for ruby 2.6

* increased minimum ruby Version from 2.4 to 2.6
* upstream/master:
  Init Github Actions and remove Travis (stripe-ruby-mock#886)
  add payment_settings trial_settings to subscription allowed_params
  change invoice status to paid when paid = true
  remove puts
  add note (maybe this belongs in the wiki?)
  fix the test suite
  use progress formatting
  Allow user to pass in a customer ID on create
@bkeepers bkeepers requested a review from jnunemaker October 16, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants