Skip to content

Commit 41ec307

Browse files
committed
Finish 1.5.0
[ci skip]
1 parent 7e03d6d commit 41ec307

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Notes for Stripe
22

3-
## Unreleased
3+
## 1.5.0 - 2025-04-08
44

55
- It’s now possible to resume subscriptions that are set to cancel at period end. ([#84](https://github.com/craftcms/stripe/pull/84))
66
- Fixed an error that could occur when editing a subscription if its corresponding product hadn’t been synced yet. ([#86](https://github.com/craftcms/stripe/pull/86))

src/controllers/SubscriptionsController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ public function actionRenderMetaCardHtml(): string
4747
return SubscriptionHelper::renderCardHtml($product);
4848
}
4949

50+
/**
51+
* Resumes subscription by Stripe id.
52+
*
53+
* @return Response|null
54+
* @since 1.5.0
55+
*/
5056
public function actionResume(): ?Response
5157
{
5258
$this->requirePostRequest();

src/services/Subscriptions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ public function cancelSubscriptionByStripeId(string $stripeId, bool $immediately
300300
* @return bool
301301
* @throws \Throwable
302302
* @throws \yii\db\StaleObjectException
303+
* @since 1.5.0
303304
*/
304305
public function resumeSubscriptionByStripeId(string $stripeId): bool
305306
{

0 commit comments

Comments
 (0)