Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

once on worldpay payment site when click on cancel, the payment status is updating to paid #6

Open
sreesudey opened this issue Jul 24, 2017 · 1 comment

Comments

@sreesudey
Copy link

Following is commented out in the code for 3.70 which is causing even cancelled order on worldpay payment site making order status paid.

PaymentWorldPayController.cs

[ValidateInput(false)]
public string Return(FormCollection form)
{
.....
/*if (transStatus.ToLower() != "y")
return Content(string.Format("The transaction status received from WorldPay ({0}) for the order {1} was declined.", transStatus, orderId));
*/

.....
}

@shoecake
Copy link

sreesudey - If you merge my pull request (nos 4 fixing issue 3) then this will fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants