Skip to content

Commit

Permalink
Update CompletedPurchaseResponse.php (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb authored Jan 17, 2023
1 parent 8533b1d commit b7f06b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Message/CompletedPurchaseResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

class CompletedPurchaseResponse extends AbstractResponse
{
public function getTransactionId()
{
return $this->getData()['transaction_id'];
}

public function getTransactionReference()
{
return now()->timestamp;
Expand Down

0 comments on commit b7f06b3

Please sign in to comment.