Commit f1d4d35f by yasir

perbaikan

1 parent 69ccc330
...@@ -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",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!