We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6dd8f commit 6e417bbCopy full SHA for 6e417bb
src/Message/UpdateSubscriptionRequest.php
@@ -100,7 +100,7 @@ public function getData()
100
}
101
102
if ($this->parameters->has('cancel_at_period_end')) {
103
- $data['cancel_at_period_end'] = (bool)$this->getCancelAtPeriodEnd();
+ $data['cancel_at_period_end'] = $this->getCancelAtPeriodEnd() ? 'true' : 'false';
104
105
106
if ($this->getMetadata()) {
0 commit comments