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