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

Plugin needs to check for state PAYMENT_STATE_CANCELED #228

Open
theschweitz opened this issue Jan 26, 2023 · 0 comments
Open

Plugin needs to check for state PAYMENT_STATE_CANCELED #228

theschweitz opened this issue Jan 26, 2023 · 0 comments

Comments

@theschweitz
Copy link

Currently, a user can submit a payment & then cancel it after submitting.
Once they've submitted 1 payment, the current system prevents the user from submitting a second payment.

However, the system still allows the user to select "Retry Payment or choose another payment method."
Once the user does this & chooses another payment method, they are prevented from selecting "Connect wallet and pay" on the second payment attempt.

BUT — on the Pretix backend, the first payment is marked Canceled, and the system stops checking for this payment. The new payment is then marked Pending, and users will then submit a second payment, that we eventually need to refund.

Solutions
The payment plugin should be checking for Canceled orders as well.

ligi added a commit that referenced this issue Jan 26, 2023
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

1 participant