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
e1a2a6b6
Commit
e1a2a6b6
authored
Jan 25, 2018
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing order received data
parent
72195235
Pipeline
#228
passed with stage
in 0 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
5 deletions
+17
-5
handle-metaboxes.php
...ontent/plugins/apex_global_lms/admin/handle-metaboxes.php
+1
-0
functions.php
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
+2
-2
template.php
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
+5
-0
lms.css
...A/wp-content/plugins/apex_global_lms/template/css/lms.css
+1
-2
index.php
...t/plugins/apex_global_lms/template/dependencies/index.php
+1
-1
order-redirection.php
...nt/plugins/apex_global_lms/template/order-redirection.php
+7
-0
No files found.
WWW_DATA/wp-content/plugins/apex_global_lms/admin/handle-metaboxes.php
View file @
e1a2a6b6
...
@@ -73,6 +73,7 @@ function vq_render_lms_order_metabox() {
...
@@ -73,6 +73,7 @@ function vq_render_lms_order_metabox() {
$price
=
get_post_meta
(
get_the_ID
(),
'total_amount'
,
true
);
$price
=
get_post_meta
(
get_the_ID
(),
'total_amount'
,
true
);
$payment_status
=
get_post_meta
(
get_the_ID
(),
'payment_status'
,
true
);
$payment_status
=
get_post_meta
(
get_the_ID
(),
'payment_status'
,
true
);
print_r
(
get_post_meta
(
get_the_ID
(),
'order_redirection_data'
,
true
));
if
(
$price
==
null
)
$price
=
""
;
if
(
$price
==
null
)
$price
=
""
;
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/functions.php
View file @
e1a2a6b6
...
@@ -117,7 +117,7 @@ function vq_lms_process_order()
...
@@ -117,7 +117,7 @@ function vq_lms_process_order()
$_mid
=
get_option
(
"vq_lms_payment_merchant_id"
);
$_mid
=
get_option
(
"vq_lms_payment_merchant_id"
);
$_requestid
=
substr
(
uniqid
(),
0
,
13
);
$_requestid
=
substr
(
uniqid
(),
0
,
13
);
$_noturl
=
site_url
(
"lms-notify
"
);
;
// url where response is posted
$_noturl
=
site_url
(
"lms-notify
?order_id
{
$oid
}
"
)
;
// url where response is posted
$_resurl
=
site_url
(
"lms-payment-confirm"
);
//url of merchant landing page
$_resurl
=
site_url
(
"lms-payment-confirm"
);
//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
];
// kindly set this to first name of the cutomer
$_fname
=
$name
[
0
];
// kindly set this to first name of the cutomer
...
@@ -376,7 +376,7 @@ function vq_render_short_banner($attr)
...
@@ -376,7 +376,7 @@ function vq_render_short_banner($attr)
$txt
=
isset
(
$attr
[
'txt'
])
?
$attr
[
'txt'
]
:
"Heading"
;
$txt
=
isset
(
$attr
[
'txt'
])
?
$attr
[
'txt'
]
:
"Heading"
;
$txtClr
=
isset
(
$attr
[
'txtclr'
])
?
$attr
[
'txtclr'
]
:
"#fff"
;
$txtClr
=
isset
(
$attr
[
'txtclr'
])
?
$attr
[
'txtclr'
]
:
"#fff"
;
$btnClr
=
isset
(
$attr
[
'btnclr'
])
?
$attr
[
'btnclr'
]
:
"#fff"
;
$btnClr
=
isset
(
$attr
[
'btnclr'
])
?
$attr
[
'btnclr'
]
:
"#fff"
;
$btnLink
=
isset
(
$attr
[
'btnlink'
])
?
$attr
[
'btnlink'
]
:
site_url
(
"
lms-checkout
"
);
$btnLink
=
isset
(
$attr
[
'btnlink'
])
?
$attr
[
'btnlink'
]
:
site_url
(
"
download-all
"
);
$btnTxt
=
isset
(
$attr
[
'btntxt'
])
?
$attr
[
'btntxt'
]
:
'Click Here'
;
$btnTxt
=
isset
(
$attr
[
'btntxt'
])
?
$attr
[
'btntxt'
]
:
'Click Here'
;
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template.php
View file @
e1a2a6b6
...
@@ -41,5 +41,10 @@ function use_lms_template($data)
...
@@ -41,5 +41,10 @@ function use_lms_template($data)
else
if
(
is_page
(
'lms-pricing'
))
{
else
if
(
is_page
(
'lms-pricing'
))
{
return
__DIR__
.
'/template/pricing-request.php'
;
return
__DIR__
.
'/template/pricing-request.php'
;
}
}
else
if
(
is_page
(
'lms-notify'
))
{
include
(
__DIR__
.
'/template/order-redirection.php'
);
exit
;
}
return
$data
;
return
$data
;
}
}
WWW_DATA/wp-content/plugins/apex_global_lms/template/css/lms.css
View file @
e1a2a6b6
...
@@ -689,8 +689,7 @@
...
@@ -689,8 +689,7 @@
.bootstrap-iso
.loader
{
.bootstrap-iso
.loader
{
z-index
:
10
;
z-index
:
10
;
margin
:
auto
;
margin
:
10%
auto
auto
;
margin-top
:
10%
;
border
:
8px
solid
#f3f3f3
;
border
:
8px
solid
#f3f3f3
;
border-radius
:
50%
;
border-radius
:
50%
;
border-top
:
8px
solid
#000
;
border-top
:
8px
solid
#000
;
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/dependencies/index.php
View file @
e1a2a6b6
...
@@ -4,7 +4,7 @@ add_action('wp_enqueue_scripts', 'register_third_party_styles');
...
@@ -4,7 +4,7 @@ add_action('wp_enqueue_scripts', 'register_third_party_styles');
function
register_third_party_styles
()
{
function
register_third_party_styles
()
{
$version
=
'1.1.
1
'
;
$version
=
'1.1.
2
'
;
wp_enqueue_style
(
'vq-chosen-css'
,
plugin_dir_url
(
__FILE__
)
.
'/chosen/chosen.min.css'
,
''
,
$version
);
wp_enqueue_style
(
'vq-chosen-css'
,
plugin_dir_url
(
__FILE__
)
.
'/chosen/chosen.min.css'
,
''
,
$version
);
wp_enqueue_script
(
'vq-chosen-js'
,
plugin_dir_url
(
__FILE__
)
.
'/chosen/chosen.jquery.min.js'
,
'jQuery'
,
$version
);
wp_enqueue_script
(
'vq-chosen-js'
,
plugin_dir_url
(
__FILE__
)
.
'/chosen/chosen.jquery.min.js'
,
'jQuery'
,
$version
);
...
...
WWW_DATA/wp-content/plugins/apex_global_lms/template/order-redirection.php
0 → 100644
View file @
e1a2a6b6
<?php
$order_id
=
$_GET
[
'order_id'
];
update_post_meta
(
$order_id
,
'order_redirection_data_get'
,
$_GET
);
update_post_meta
(
$order_id
,
'order_redirection_data_post'
,
$_POST
);
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