Aprouver le paiement

This commit is contained in:
2017-05-15 13:36:14 +02:00
parent 48bd22ca72
commit b518a2c647
22 changed files with 4610 additions and 41 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);
}
}
}