Преглед изворни кода

Updated Paygate redirect to live URL

master
30117125 пре 4 година
родитељ
комит
8835fb7115
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4
    4
      UnivateProperties_API/Controllers/Financial/RedirectController.cs

+ 4
- 4
UnivateProperties_API/Controllers/Financial/RedirectController.cs Прегледај датотеку

37
                 
37
                 
38
                 timeshareWeek.StatusId = 32;
38
                 timeshareWeek.StatusId = 32;
39
                 _timeshareRepo.Update(timeshareWeek);
39
                 _timeshareRepo.Update(timeshareWeek);
40
-                return Redirect("http://training.provision-sa.com:122/#/payments/error/" + context.PAY_REQUEST_ID);
40
+                return Redirect("https://www.pvsl.co.za:97/#/payments/error/" + context.PAY_REQUEST_ID);
41
             }
41
             }
42
             if (context.TRANSACTION_STATUS == 1)
42
             if (context.TRANSACTION_STATUS == 1)
43
             {
43
             {
44
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
44
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
45
                 timeshareWeek.StatusId = 1;
45
                 timeshareWeek.StatusId = 1;
46
                 _timeshareRepo.Update(timeshareWeek);
46
                 _timeshareRepo.Update(timeshareWeek);
47
-                return Redirect("http://training.provision-sa.com:122/#/payments/success");
47
+                return Redirect("https://www.pvsl.co.za:97/#/payments/success");
48
             }
48
             }
49
             else if (context.TRANSACTION_STATUS == 2)
49
             else if (context.TRANSACTION_STATUS == 2)
50
             {
50
             {
51
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
51
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
52
                 timeshareWeek.StatusId = 32;
52
                 timeshareWeek.StatusId = 32;
53
                 _timeshareRepo.Update(timeshareWeek);
53
                 _timeshareRepo.Update(timeshareWeek);
54
-                return Redirect("http://training.provision-sa.com:122/#/payments/error/" + context.PAY_REQUEST_ID);
54
+                return Redirect("https://www.pvsl.co.za:97/#/payments/error/" + context.PAY_REQUEST_ID);
55
             }
55
             }
56
             else
56
             else
57
             {
57
             {
58
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
58
                 string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
59
                 timeshareWeek.StatusId = 32;
59
                 timeshareWeek.StatusId = 32;
60
                 _timeshareRepo.Update(timeshareWeek);
60
                 _timeshareRepo.Update(timeshareWeek);
61
-                return Redirect("http://training.provision-sa.com:122/");
61
+                return Redirect("https://www.pvsl.co.za:97/#/");
62
             }
62
             }
63
 
63
 
64
         }
64
         }

Loading…
Откажи
Сачувај