Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
866aca58
authored
Sep 15, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updating tpv notification
parent
942a62dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sails/src/api/controllers/TPVController.js
sails/src/api/controllers/TPVController.js
View file @
866aca58
...
...
@@ -60,7 +60,7 @@ module.exports = {
DS_MERCHANT_AMOUNT
:
amount
+
"00"
,
// Amount
DS_MERCHANT_ORDER
:
moment
().
format
(
'YYMMDD'
)
+
license
.
id
.
toString
().
slice
(
-
6
),
// hast to be from 4 to 12 characters long
DS_MERCHANT_MERCHANTURL
:
'https://'
+
req
.
headers
.
host
+
"/license/"
+
license
.
number
+
"/stu/"
+
params
.
id_stu
,
// notification to activate
DS_MERCHANT_URLOK
:
'https://'
+
req
.
headers
.
host
+
'/app/#/student/'
+
params
.
id_stu
+
"/setup/renewed/1"
+
license
.
number
,
// Returning URL (success)
DS_MERCHANT_URLOK
:
'https://'
+
req
.
headers
.
host
+
'/app/#/student/'
+
params
.
id_stu
+
"/setup/renewed/1"
,
// Returning URL (success)
DS_MERCHANT_URLKO
:
'https://'
+
req
.
headers
.
host
+
'/app/#/student/'
+
params
.
id_stu
+
"/setup/renewed/0"
// Returning URL (error)
};
...
...
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