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 e0e9b095
authored
Aug 03, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
VSI
1 parent
1a467280
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/agratek/api/merchant/views/vsi_pulsa.py
src/agratek/api/merchant/views/vsi_pulsa.py
View file @
e0e9b09
...
@@ -134,6 +134,8 @@ class Vendor(VendorClass):
...
@@ -134,6 +134,8 @@ class Vendor(VendorClass):
def
payment
(
self
):
def
payment
(
self
):
params
=
self
.
get_params
(
cmd
=
'PAY'
,
modul
=
'ISI'
)
params
=
self
.
get_params
(
cmd
=
'PAY'
,
modul
=
'ISI'
)
params
[
"tujuan"
]
=
self
.
id_pel
params
[
"voucherid"
]
=
self
.
vendor_produk
.
kode
self
.
request
=
params
self
.
request
=
params
log
.
info
(
"VSI PULSA Payment Request:
%
s"
%
(
params
))
log
.
info
(
"VSI PULSA Payment Request:
%
s"
%
(
params
))
try
:
try
:
...
@@ -156,6 +158,7 @@ class Vendor(VendorClass):
...
@@ -156,6 +158,7 @@ class Vendor(VendorClass):
def
advice
(
self
):
def
advice
(
self
):
params
=
self
.
get_params
(
cmd
=
'ADV'
,
modul
=
'ISI'
)
params
=
self
.
get_params
(
cmd
=
'ADV'
,
modul
=
'ISI'
)
self
.
request
=
params
self
.
request
=
params
result
=
requests
.
get
(
self
.
url
,
params
=
params
)
result
=
requests
.
get
(
self
.
url
,
params
=
params
)
if
result
.
ok
:
if
result
.
ok
:
...
...
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