Payola v1.5.0 Release Notes
Release Date: 2016-10-27 // over 7 years ago-
๐ 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