Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Kunto
/
backoffice
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
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 30a88181
authored
Sep 25, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
notify payment
1 parent
f6760487
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
src/agratek/api/merchant/views/notify_vendor.py
src/agratek/api/merchant/views/vsi/ue.py
src/agratek/api/merchant/views/notify_vendor.py
View file @
30a8818
...
...
@@ -105,9 +105,9 @@ def payment_notify(order):
params
=
dict
(
data
=
data
)
js
=
get_jsonrpc
(
method
=
"notify"
,
params
=
params
)
log
.
info
(
"Notify:
%
s
%
s"
%
(
url
,
js
))
log
.
info
(
"Notify:
%
s
%
s"
%
(
url
,
js
on
.
dumps
(
js
)
))
try
:
requests
.
post
(
url
,
data
=
js
,
timeout
=
20
)
requests
.
post
(
url
,
data
=
js
on
.
dumps
(
js
)
,
timeout
=
20
)
except
:
pass
return
...
...
src/agratek/api/merchant/views/vsi/ue.py
0 → 100644
View file @
30a8818
"""
mynt dev (company) : kunto@agratek.id (username)
: Passw0rd! (password)
: 811568055 (no hp)
: 009 (referal code)
mynt dev (merchant) : kunto@agratek.id (username)
: Passw0rd! (password)
: 811568055 (no hp)
: 009 (referal code)
mynt dev (member) : kunto@agratek.id (username)
: Passw0rd! (password)
: 811568055 (no hp)
: 009 (referal code)
PIN transaksi : 123456
: itu untuk credential usernya
: api key = cxh4LvJcQago1zzMZ42xeYPZtH5fbAMC7ffXhFf6
secret key = 123
ini api key dan scret key untuk yg company ya pak
API hit messaging:
http://180.250.102.116:9035/middlehost/aj/middle Authorization Header:
http://180.250.102.116:9035/middlehost/aj/test_header
"""
Write
Preview
Markdown
is supported
Attach a file
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 post a comment