Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Drivers/Saman/Saman.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function purchase()
$this->invoice->transactionId($response);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please set resnum in the transaction id if it is used to verify the payment

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR is not valid. you need to set transaction id and then return in in the purchase method and then user can rely on it to verify the payment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to fix the line 86 in the purchase method instead of this line.


// return the transaction's id
return $this->invoice->getTransactionId();
return $this->invoice->getUuid();
}

/**
Expand Down