diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-15 13:41:11 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-09-15 13:41:11 +0700 |
| commit | 1f63169f38675adf23a1e4a66b31711f90721f39 (patch) | |
| tree | 83013aea631f7149e06b36b2e87bc08bd05f6970 | |
| parent | 2f835b71aaad9d2d6fef1fafcb600bf50b034f2b (diff) | |
<Miqdad> midtrans prod
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 4 |
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) |
