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 f1d4d35f
authored
Dec 18, 2019
by
yasir
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
perbaikan
1 parent
69ccc330
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/agratek/api/merchant/views/pay_request.py
src/agratek/api/merchant/views/pay_request.py
View file @
f1d4d35
...
@@ -8,6 +8,7 @@ from deform import widget, Form
...
@@ -8,6 +8,7 @@ from deform import widget, Form
from
pyramid.httpexceptions
import
HTTPFound
from
pyramid.httpexceptions
import
HTTPFound
from
..models
import
(
Produk
,
DBSession
,
ProdukKategori
)
from
..models
import
(
Produk
,
DBSession
,
ProdukKategori
)
from
sqlalchemy
import
or_
from
sqlalchemy
import
or_
from
opensipkd.base
import
get_settings
from
deform.form
import
Button
from
deform.form
import
Button
...
@@ -195,7 +196,9 @@ class view_pay(BaseView):
...
@@ -195,7 +196,9 @@ class view_pay(BaseView):
# REQUEST PAYMENT
# REQUEST PAYMENT
url
=
"http://localhost:6543/api/merchant"
settings
=
get_settings
()
hostnya
=
settings
[
'_host'
]
url
=
hostnya
+
"/api/merchant"
headers
=
{
headers
=
{
# "userId": "pasarqu",
# "userId": "pasarqu",
...
...
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