Skip to content

Commit

Permalink
fix-reporting-requestStringBuilder.php
Browse files Browse the repository at this point in the history
Signed-off-by: Bünyamin Yaşar <33955141+byasarcse@users.noreply.github.com>
  • Loading branch information
byasarcse authored Oct 17, 2024
1 parent 5e4e811 commit 16b5f53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Iyzipay/RequestStringBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ public static function requestToStringQuery(Request $request, $type = null)
if($request->getPaymentConversationId()) {
$stringQuery .= "?paymentConversationId=" . $request->getPaymentConversationId();
}
if($request->getPaymentId()) {
$stringQuery .= "?paymentId=" . $request->getPaymentId();
}
}

if($type == 'reportingTransaction') {
Expand Down Expand Up @@ -254,4 +257,4 @@ public static function requestToStringQuery(Request $request, $type = null)

return $stringQuery;
}
}
}

0 comments on commit 16b5f53

Please sign in to comment.