Skip to content

Commit 4608c41

Browse files
authored
Merge pull request #148 from ryall/master
Fix the transaction ID retrieval for billing agreements
2 parents 96f3fe6 + 108b6d8 commit 4608c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/RestAuthorizeResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getTransactionReference()
7070

7171
// The last element of the URL should be "execute"
7272
$execute = end($urlParts);
73-
if ($execute != 'execute') {
73+
if (!in_array($execute, array('execute', 'agreement-execute'))) {
7474
return parent::getTransactionReference();
7575
}
7676

0 commit comments

Comments
 (0)