summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiqdad <ahmadmiqdad27@gmail.com>2025-09-15 13:41:11 +0700
committerMiqdad <ahmadmiqdad27@gmail.com>2025-09-15 13:41:11 +0700
commit1f63169f38675adf23a1e4a66b31711f90721f39 (patch)
tree83013aea631f7149e06b36b2e87bc08bd05f6970
parent2f835b71aaad9d2d6fef1fafcb600bf50b034f2b (diff)
<Miqdad> midtrans prod
-rwxr-xr-xindoteknik_custom/models/sale_order.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py
index e7dd582d..2ae2d647 100755
--- a/indoteknik_custom/models/sale_order.py
+++ b/indoteknik_custom/models/sale_order.py
@@ -1935,8 +1935,8 @@ class SaleOrder(models.Model):
}
# ==== ENV ====
- check_url = f'https://api.sandbox.midtrans.com/v2/{so_number}/status' # dev - sandbox
- # check_url = f'https://api.midtrans.com/v2/{so_number}/status' # production
+ # check_url = f'https://api.sandbox.midtrans.com/v2/{so_number}/status' # dev - sandbox
+ check_url = f'https://api.midtrans.com/v2/{so_number}/status' # production
# =============================================
check_response = requests.get(check_url, headers=headers)