<?
//https://fashion.by-arsolution.com/payments/finish?order_id=452554493&status_code=201&transaction_status=pending

$transactionStatus = $_GET['transaction_status'];
?>
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Payment finish | PT. AR GROUP BERKAH BERSAMA</title>
        <link rel="icon" type="image/x-icon" href="assets/imgs/favicon.ico">
        
        <link rel="stylesheet" href="../polosh/css/style.css" />
        
    </head>
    
    <body>
        <!-- ?order_id=1715763786&status_code=200&transaction_status=settlement -->
        <div class="product">
            <div class="row">
                <div class="product-card">
                    PT. AR GROUP BERKAH BERSAMA
                    <br><br>
                    
                    <? 
                        if($transactionStatus == "settlement" || $transactionStatus == "capture"){
                            echo 'Pembayaran anda telah berhasil!<br>
                                <a href="https://fashion.by-arsolution.com">Lanjutkan</a>';
                        }
                        if($transactionStatus == "pending"){
                            echo 'Pembayaran anda BELUM SELESAI!<br>
                                <a href="https://fashion.by-arsolution.com">Kembali</a>';
                        }
                    ?>
                    
                    
                </div>
            </div>
        </div>
    </body>
</html>
