Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Taufik Yulianto
/
esipkd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd579694
authored
Feb 26, 2024
by
taufikyu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaiki
1 parent
d1e6070c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
3 deletions
esipkd/views/bjb_qris.py
esipkd/views/bjb_va.py
esipkd/views/bjb_qris.py
View file @
dd57969
...
...
@@ -576,7 +576,6 @@ def calculate_tagihan(values):
def
sendrpc
(
request
,
kd_bayar
):
log
.
info
(
'STARTING RPC QRIS CALLBACK PEMDA'
)
settings
=
get_settings
()
request
=
self
.
req
headers
=
{
'Content-Type'
:
'application/json'
}
if
not
'pemdaqris_url'
in
settings
and
not
settings
[
'pemdaqris_url'
]:
log
.
error
(
'pemdaqris_url belum ada di settings'
)
...
...
@@ -596,4 +595,4 @@ def sendrpc(request, kd_bayar):
return
True
except
requests
.
exceptions
.
RequestException
as
err
:
log
.
error
(
'Error send BJBQRIS to pemda : {}'
.
format
(
err
))
return
return
\ No newline at end of file
esipkd/views/bjb_va.py
View file @
dd57969
...
...
@@ -672,7 +672,6 @@ def calculate_tagihan(values):
def
sendrpc
(
request
,
kd_bayar
):
log
.
info
(
'STARTING RPC VA CALLBACK PEMDA'
)
settings
=
get_settings
()
request
=
self
.
req
headers
=
{
'Content-Type'
:
'application/json'
}
if
not
'pemdava_url'
in
settings
and
not
settings
[
'pemdava_url'
]:
log
.
error
(
'pemdava_url belum ada di settings'
)
...
...
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