Level 75
Your payment gateway should have the exact instructions to follow.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Halo Everyone! the following is the code am having that is giving status:200.
$response = curl_exec($curl); curl_close($curl); $newsData = json_decode($response); if (isset($newsData->paymentRequestId) && $newsData->paymentRequestId !== '' ) { // dd($newsData->url); return redirect($newsData->url); }
the issue is am having a problem with redirecting users to payment gateway afterwards.
Please or to participate in this conversation.