Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apex_micro_site
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
apex_micro_site
Commits
27a6b082
Commit
27a6b082
authored
May 16, 2018
by
nadeem.qasmi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkout email functions
parent
bfc5303e
Pipeline
#540
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+6
-5
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
27a6b082
...
...
@@ -170,9 +170,11 @@ function vq_lms_process_order()
$postContent
.=
$item
.
" 1 "
.
number_format
((
float
)
$cost
,
2
,
'.'
,
''
)
.
"<br />"
;
$postContent
.=
$user
[
'email'
]
.
"<br />"
;
$postContent
.=
$user
[
'phone'
]
.
"<br />"
;
$postContent
.=
$to
.
"<br /><hr />"
;
$postContent
.=
$user
[
'phone'
]
.
"<br />
<hr />
"
;
}
$to
=
', '
.
$user
[
'email'
];
wp_mail
(
$to
,
"APEX Checkout"
,
$postContent
);
}
...
...
@@ -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
$_resurl
=
site_url
(
"thank-you-download"
);
//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
$_addr1
=
"online"
;
// kindly set this to address1 of the cutomer
$_sec3d
=
"try3d"
;
//
...
...
@@ -274,8 +276,7 @@ function vq_lms_process_order()
$strxml
=
$strxml
.
"<signature>"
.
$_sign
.
"</signature>"
;
$strxml
=
$strxml
.
"</Request>"
;
$to
=
$_email
;
wp_mail
(
$to
,
"test"
,
"hello checkout"
);
echo
base64_encode
(
$strxml
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment