|
@@ -37,28 +37,28 @@ namespace UnivateProperties_API.Controllers.Financial
|
37
|
37
|
|
38
|
38
|
timeshareWeek.StatusId = 32;
|
39
|
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
|
42
|
if (context.TRANSACTION_STATUS == 1)
|
43
|
43
|
{
|
44
|
44
|
string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
|
45
|
45
|
timeshareWeek.StatusId = 1;
|
46
|
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
|
49
|
else if (context.TRANSACTION_STATUS == 2)
|
50
|
50
|
{
|
51
|
51
|
string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
|
52
|
52
|
timeshareWeek.StatusId = 32;
|
53
|
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
|
56
|
else
|
57
|
57
|
{
|
58
|
58
|
string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
|
59
|
59
|
timeshareWeek.StatusId = 32;
|
60
|
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
|
}
|