Payola v1.5.1 Release Notes
Release Date: 2017-11-25 // over 6 years ago-
โจ Enhancements
- ๐ Support Turbolinks & non-Turbolinks apps reliably. #254
- โ Added support to
ChangeSubscriptionPlan
fortrial_end
andcoupon
- Reset subscription
cancel_at_period_end
inChangeSubscriptionPlan
- โ Remove
spec/
and.gitignored
files fromgemspec.files
. #293 - ๐ Allow checkout form to override currency. #296
- โ Add support for single exp field
- ๐ Support Rails 5.1
- ๐ Allow for non-card payment types in Subscription Create #327
๐ Bug Fixes
- ๐
PayolaPaymentForm.poll()
handles HTTP error responses. #310
Previous changes from v1.5.0
-
๐ Security
- Raise error if
payola_can_modify_customer/subscription?
unimplemented. #246
โจ Enhancements
- ๐คก Unpegged Stripe gem and stripe-ruby-mock. #255
- Take optional
stripe_customer_id
when creating a sale. #183 - Clean up error target HTML attributes. #198
- Update
cancel_at_period_end
inCancelSubscription
service. #200 - ๐ Synchronize subscription amount and currency fields with Stripe. #202
- Send the
plan_id
along with the form submission. #206 - Set a customer's payment source if nil. #210
- Maintain the active coupon code on a subscription. #211
- Disallow deleting a plan if it has any related subscriptions. #221
- Flash message i18n. #229
- ๐ Rails 5.0 support. #232
- Add client side validation to subscription_form_onestep.js. #262
๐ Bug Fixes
- Stop setting
Stripe.api_key
directly inCancelSubscription
service. #201 - Convert tax_percent from integer to decimal (at most two decimal places). #189
- Submit all subscription options for existing stripe customers. #207
- โก๏ธ Update subscription quantity when a subscription is changed. #218
- ๐ Fix flash message typo 'Successfully'. #228
- ๐ Make tax percentage migration reversible. #242
- Call
instrument_quantity_changed
fromChangeSubscriptionQuantity
. #250 - ๐ Fix api_key String spec errors with stripe-ruby-mock 2.3.1. #261
- ๐ Ensure ENV keys are seen as Strings by recent stripe-ruby versions. #265
- Raise error if