Commit 587d8626 by Muhammad Usman

thank you page

parent a6179f0e
Pipeline #327 passed with stage
in 0 seconds
......@@ -203,7 +203,7 @@ function vq_lms_process_order()
$_mid = get_option("vq_lms_payment_merchant_id");
$_requestid = substr(uniqid(), 0, 13);
$_noturl = site_url("lms-notify?order_id={$oid}");//////site_url("https://requestb.in/1cz13lh1"); // url where response is posted
$_resurl = site_url("lms-payment-confirm"); //url of merchant landing page
$_resurl = site_url("thank-you-download"); //url of merchant landing page
$_cancelurl = site_url("lms-cancel"); //url of merchant landing page
$_fname = $name[0]; // kindly set this to first name of the cutomer
$_lname = $name[1]; // kindly set this to last name of the cutomer
......
......@@ -15,6 +15,7 @@ function enqueue_admin_css()
function use_lms_template($data)
{
global $post;
if(is_page('lms')){
return __DIR__ . "/template/e-learning.php";
......@@ -41,6 +42,7 @@ function use_lms_template($data)
else if(is_page('lms-pricing')) {
return __DIR__ . '/template/pricing-request.php';
}
else if(is_page('lms-notify')) {
include(__DIR__ . '/template/order-redirection.php');
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment