diff --git a/src/Iyzipay/RequestStringBuilder.php b/src/Iyzipay/RequestStringBuilder.php index 3849beb5..a5bfe9f3 100644 --- a/src/Iyzipay/RequestStringBuilder.php +++ b/src/Iyzipay/RequestStringBuilder.php @@ -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') { @@ -254,4 +257,4 @@ public static function requestToStringQuery(Request $request, $type = null) return $stringQuery; } -} \ No newline at end of file +}