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 6e417bb commit 492fdb8Copy full SHA for 492fdb8
src/Message/CancelSubscriptionRequest.php
@@ -40,11 +40,11 @@ public function getData()
40
$this->validate('subscriptionReference');
41
42
if ($this->parameters->has('invoice_now')) {
43
- $data['invoice_now'] = (bool)$this->getParameter('invoice_now');
+ $data['invoice_now'] = $this->getParameter('invoice_now') ? 'true' : 'false';
44
}
45
46
if ($this->parameters->has('prorate')) {
47
- $data['prorate'] = (bool)$this->getParameter('prorate');
+ $data['prorate'] = $this->getParameter('prorate') ? 'true' : 'false';
48
49
50
return array();
0 commit comments