$router->post('payment/union-pay', function() {
include "app/core/pay_params.php";
// add your javascrpt here
// below is the params to use for your gateway as for credentials we will use c1 c2 c3 c4 c5 c6 find detailed params below
credential keys <?=$c1?> <?=$c2?> <?=$c3?> <?=$c4?> <?=$c5?>
success URL <?=$success_url?>
return on invoice URL <?=$invoice_url?>
order details <?=$price?> <?=$currency?> <?=$desc?>
buyer details <?=$client_email?>
$body = "<a href="payment_link" onclick="" class="pay" style="background:#445a7d"/>'.T::paynow.'</a>";
include "app/core/pay_view.php";