fixes the payment view
This commit is contained in:
parent
cb71055208
commit
4b05f4766b
1 changed files with 3 additions and 1 deletions
|
|
@ -239,7 +239,9 @@ OrderDescription = query.Description, CancelURL = urls.CancelUrl, ReturnURL = ur
|
||||||
string token, GetExpressCheckoutDetailsResponseType fromPayPal)
|
string token, GetExpressCheckoutDetailsResponseType fromPayPal)
|
||||||
{
|
{
|
||||||
return new PaymentInfo {
|
return new PaymentInfo {
|
||||||
DbContent = await context.PayPalPayments.SingleOrDefaultAsync(
|
DbContent = await context.PayPalPayments
|
||||||
|
.Include(p=>p.Executor)
|
||||||
|
.SingleOrDefaultAsync(
|
||||||
p=>p.CreationToken==token),
|
p=>p.CreationToken==token),
|
||||||
DetailsFromPayPal = fromPayPal
|
DetailsFromPayPal = fromPayPal
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue