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.
2 parents e131e31 + 5b9bb1b commit bab644eCopy full SHA for bab644e
src/Omnipay/MultiSafepay/Message/CompletePurchaseResponse.php
@@ -50,13 +50,13 @@ public function isUncleared()
50
}
51
52
/**
53
- * Is the payment cancelled?
+ * Is the payment canceled?
54
*
55
* @return boolean
56
*/
57
- public function isCancelled()
+ public function isCanceled()
58
{
59
- return isset($this->data->ewallet->status) && 'void' === (string) $this->data->ewallet->status;
+ return isset($this->data->ewallet->status) && 'canceled' === (string) $this->data->ewallet->status;
60
61
62
0 commit comments