Skip to content

Commit

Permalink
Update Transaction.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andypieters committed Apr 29, 2016
1 parent 10460b8 commit 1285bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Result/Transaction/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function isCanceled()
*/
public function isRefunded($allowPartialRefunds = true)
{
if ($this->data['paymentDetails']['state'] == 'REFUND') {
if ($this->data['paymentDetails']['stateName'] == 'REFUND') {
return true;
}

Expand Down

0 comments on commit 1285bd7

Please sign in to comment.