Aprouver le paiement

This commit is contained in:
Paul Schneider 2017-05-15 13:36:14 +02:00
commit 3cf200cfc7
22 changed files with 4608 additions and 39 deletions

View file

@ -23,6 +23,7 @@ using Yavsc.Models.Identity;
namespace Yavsc.Controllers
{
using Models.Relationship;
using PayPal.Api;
using Yavsc.Models.Bank;
[Authorize]
@ -715,5 +716,13 @@ namespace Yavsc.Controllers
ViewBag.GoogleSettings = _googleSettings;
return View(model);
}
public IActionResult PaymentInfo(string id)
{
var context = _payPalSettings.CreateAPIContext();
var payment = Payment.Get(context,id);
return View (payment);
}
}
}