Skip to content

Commit ab2e004

Browse files
Updated doc
1 parent 2bfaa71 commit ab2e004

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ $response = $gateway->refund([
152152

153153
if ($response->isSuccessful()) {
154154
// TODO: xử lý kết quả và hiển thị.
155-
print $response->amount;
156-
print $response->orderId;
155+
print $response->getTransactionId();
156+
print $response->getTransactionReference();
157157

158158
var_dump($response->getData()); // toàn bộ data do VNPay gửi về.
159159

0 commit comments

Comments
 (0)