Spaces:
Running
Running
Update agents/payment_agent.py
Browse files- agents/payment_agent.py +1 -1
agents/payment_agent.py
CHANGED
|
@@ -259,7 +259,7 @@ class PaymentAgent(BaseAgent):
|
|
| 259 |
}
|
| 260 |
|
| 261 |
try:
|
| 262 |
-
response = requests.post("https://
|
| 263 |
if response.status_code == 200:
|
| 264 |
result = response.json()
|
| 265 |
print("res from apiii =======", result)
|
|
|
|
| 259 |
}
|
| 260 |
|
| 261 |
try:
|
| 262 |
+
response = requests.post("https://partha181098-invoicepaymentapi.hf.space/initiate_payment", json=payment_payload, timeout=10)
|
| 263 |
if response.status_code == 200:
|
| 264 |
result = response.json()
|
| 265 |
print("res from apiii =======", result)
|