craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
226 stars 170 forks source link

Undefined Method error when canceling subscription #549

Closed ryanirelan closed 6 years ago

ryanirelan commented 6 years ago

Description

When attempting to cancel an order from the front-end, I get a Call to undefined method craft\commerce\stripe\responses\SubscriptionResponse::isScheduledForCancelation() error. The cancelation goes through on Stripe but it not reflected as canceled in Commerce.

Steps to reproduce

  1. Subscribe to a plan
  2. Attempt to cancel immediately.
  3. Commerce show subscription as active while Stripe shows as cancelled.

Additional info

ryanirelan commented 6 years ago

Dupe of #541 ?

andris-sevcenko commented 6 years ago

Resolved in 2e637f3

brandonkelly commented 6 years ago

Commerce 2 Beta 13 is out now with a fix for this.