Mhamdans17 commited on
Commit
c4bc006
·
1 Parent(s): a92cb84

feat: force Tripay base URL to production directly

Browse files
Files changed (1) hide show
  1. services/tripay.go +2 -4
services/tripay.go CHANGED
@@ -52,10 +52,8 @@ type TripayCreateResponse struct {
52
  }
53
 
54
  func getTripayBaseURL() string {
55
- if config.GlobalConfig.TripayIsProduction {
56
- return "https://tripay.co.id/api"
57
- }
58
- return "https://tripay.co.id/api-sandbox"
59
  }
60
 
61
  // CalculateSignature menghitung signature HMAC-SHA256 untuk request transaksi ke Tripay
 
52
  }
53
 
54
  func getTripayBaseURL() string {
55
+ // Menggunakan URL production langsung sesuai permintaan user
56
+ return "https://tripay.co.id/api"
 
 
57
  }
58
 
59
  // CalculateSignature menghitung signature HMAC-SHA256 untuk request transaksi ke Tripay