Commit dc5e1e8a by jenkins

Merge Request accepted by jenkins build success

parents 710b1ac6 27a6b082
Pipeline #541 failed with stage
in 0 seconds
...@@ -170,9 +170,11 @@ function vq_lms_process_order() ...@@ -170,9 +170,11 @@ function vq_lms_process_order()
$postContent .= $item." 1 ".number_format((float)$cost,2, '.', '')."<br />"; $postContent .= $item." 1 ".number_format((float)$cost,2, '.', '')."<br />";
$postContent .= $user['email']."<br />"; $postContent .= $user['email']."<br />";
$postContent .= $user['phone']."<br />"; $postContent .= $user['phone']."<br /><hr />";
$postContent .= $to."<br /><hr />";
} }
$to = ', '.$user['email'];
wp_mail($to, "APEX Checkout", $postContent);
} }
...@@ -211,7 +213,7 @@ function vq_lms_process_order() ...@@ -211,7 +213,7 @@ function vq_lms_process_order()
$_noturl = site_url("lms-notify?order_id={$oid}");//////site_url("https://requestb.in/1cz13lh1"); // url where response is posted $_noturl = site_url("lms-notify?order_id={$oid}");//////site_url("https://requestb.in/1cz13lh1"); // url where response is posted
$_resurl = site_url("thank-you-download"); //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 $_cancelurl = site_url("lms-cancel"); //url of merchant landing page
$_fname = $name[0].' , Email: '.$to; // kindly set this to first name of the cutomer $_fname = $name[0]; // kindly set this to first name of the cutomer
$_lname = $name[1]; // kindly set this to last name of the cutomer $_lname = $name[1]; // kindly set this to last name of the cutomer
$_addr1 = "online"; // kindly set this to address1 of the cutomer $_addr1 = "online"; // kindly set this to address1 of the cutomer
$_sec3d = "try3d"; // $_sec3d = "try3d"; //
...@@ -274,8 +276,7 @@ function vq_lms_process_order() ...@@ -274,8 +276,7 @@ function vq_lms_process_order()
$strxml = $strxml . "<signature>" . $_sign . "</signature>"; $strxml = $strxml . "<signature>" . $_sign . "</signature>";
$strxml = $strxml . "</Request>"; $strxml = $strxml . "</Request>";
$to = $_email;
wp_mail($to, "test", "hello checkout");
echo base64_encode($strxml); echo base64_encode($strxml);
......
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