craftcms / commerce

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

[4.x]: Editing Subscriptions through control panel doesn't work. #2913

Closed JansonChe closed 2 years ago

JansonChe commented 2 years ago

What happened?

Description

If I want to a subscription in CP it does not show anything. Before there were controls to cancelling the subscription and additional infos. Funny thing is, if I add a custom field to subscriptions the missing parts are available through a separate tab. Also I was not able to cancel the subscription from the frontend as the user. Not sure if it has something to to with the chance that came with 4.1.0: "Fixed a PHP error that occurred when editing a subscription with custom fields." Thanks for looking into it!

image

Steps to reproduce

  1. Create new subscription
  2. Try cancelling subscription from frontend. -> Error that it cannot be cancelled.
  3. Try to edit/cancel subscription from CP. -> Empty Interface (Screenshot)
  4. Add a custom field to subscription and try to edit/cancel subscription from CP again. -> Now the interface is available in the second tab and cancelling works in CP.

Expected behavior

CP should show the regular options, not just nothing. Frontend cancelling should work (although I'm not sure if that's a separate problem.)

Actual behavior

CP does not show anything

Craft CMS version

4.2.0.1

Craft Commerce version

4.1.0

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

nfourtythree commented 2 years ago

Hi @JansonChe

Thank you for bringing this to our attention. We have pushed a fix for this which will be included in the next release of Commerce.

Thanks!