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

When order is cancelled, invoice page shows "Paid" #57

Closed
andrewlimaza opened this issue Mar 30, 2021 · 4 comments
Closed

When order is cancelled, invoice page shows "Paid" #57

andrewlimaza opened this issue Mar 30, 2021 · 4 comments

Comments

@andrewlimaza
Copy link
Collaborator

There seems to be an issue with the order status on the frontend Invoice page.

Steps to recreate:

  1. Checkout for a level that uses the Pay By Check Add On/payment gateway.
  2. Cancel the order status via the admin screen.
  3. Navigate to the frontend invoice page for this specific order, the order status shows "Paid".

This status also shows as "Paid" on the members account page.

@andrewlimaza
Copy link
Collaborator Author

PS - tested this for orders that belong to other gateways. The same issue occurs.

@kimwhite
Copy link

changing Pending to Canceled also gives user full access to the site.

@andrewlimaza
Copy link
Collaborator Author

andrewlimaza commented Sep 20, 2022

This came up recently, and it's designed this way in core. As pending status for other (automatic) gateways like Stripe/PayPal etc means that money is paid so it shows "Paid".

Pay By Check treats "Pending" status differently, as money not received. We will need to tweak some logic here that all statuses except "Success" with Pay by Check should restrict access.

There's no ETA on when this would be done.

@kimcoleman
Copy link
Member

We removed "cancelled" as an order status in v3.0. This is not a valid status for an unpaid order.

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

No branches or pull requests

3 participants