From 3ea2e53e2a3c6e547c0bdf992d17368905e128ee Mon Sep 17 00:00:00 2001 From: Iliyan Iliev Date: Thu, 21 May 2020 15:12:04 +0300 Subject: [PATCH] Closes #6 --- .../Controllers/PayrexxIntegrationController.cs | 2 ++ .../MAVN.Service.PayrexxIntegration.csproj | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MAVN.Service.PayrexxIntegration/Controllers/PayrexxIntegrationController.cs b/src/MAVN.Service.PayrexxIntegration/Controllers/PayrexxIntegrationController.cs index 6a87213..219d019 100644 --- a/src/MAVN.Service.PayrexxIntegration/Controllers/PayrexxIntegrationController.cs +++ b/src/MAVN.Service.PayrexxIntegration/Controllers/PayrexxIntegrationController.cs @@ -206,6 +206,8 @@ public async Task CheckPaymentAsync(CheckPaymentRequest r default: throw new NotSupportedException($"Payment status {paymentStatus.Data[0].Status} is not supported"); } + + result.PaymentUrl = paymentStatus.Data[0].Link; return result; } catch (Exception e) diff --git a/src/MAVN.Service.PayrexxIntegration/MAVN.Service.PayrexxIntegration.csproj b/src/MAVN.Service.PayrexxIntegration/MAVN.Service.PayrexxIntegration.csproj index 99dc5a2..afeeb0d 100644 --- a/src/MAVN.Service.PayrexxIntegration/MAVN.Service.PayrexxIntegration.csproj +++ b/src/MAVN.Service.PayrexxIntegration/MAVN.Service.PayrexxIntegration.csproj @@ -24,7 +24,7 @@ - +