|
@@ -42,7 +42,7 @@ namespace UnivateProperties_API.Controllers.Financial
|
42
|
42
|
if (context.TRANSACTION_STATUS == 1)
|
43
|
43
|
{
|
44
|
44
|
string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
|
45
|
|
- timeshareWeek.StatusId = 22;
|
|
45
|
+ timeshareWeek.StatusId = 1;
|
46
|
46
|
_timeshareRepo.Update(timeshareWeek);
|
47
|
47
|
return Redirect("http://training.provision-sa.com:122/#/payments/success");
|
48
|
48
|
}
|
|
@@ -55,6 +55,9 @@ namespace UnivateProperties_API.Controllers.Financial
|
55
|
55
|
}
|
56
|
56
|
else
|
57
|
57
|
{
|
|
58
|
+ string queryResult = _paygateRepo.PaymentQuery(paygateId, payment);
|
|
59
|
+ timeshareWeek.StatusId = 32;
|
|
60
|
+ _timeshareRepo.Update(timeshareWeek);
|
58
|
61
|
return Redirect("http://training.provision-sa.com:122/");
|
59
|
62
|
}
|
60
|
63
|
|