Skip to content

Commit b1f6a98

Browse files
committed
Documentation says 'void' for canceled, but in practice it's 'canceled'
1 parent e131e31 commit b1f6a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/MultiSafepay/Message/CompletePurchaseResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function isUncleared()
5656
*/
5757
public function isCancelled()
5858
{
59-
return isset($this->data->ewallet->status) && 'void' === (string) $this->data->ewallet->status;
59+
return isset($this->data->ewallet->status) && 'canceled' === (string) $this->data->ewallet->status;
6060
}
6161

6262
/**

0 commit comments

Comments
 (0)