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

Administrate/clean incomplete/abandoned payments. Avoid over-payments. #66

Closed
jedateach opened this issue Aug 24, 2014 · 1 comment
Closed
Milestone

Comments

@jedateach
Copy link
Contributor

Some payments fail, so they show up as "Authorized" or "Created". Payments should not remain in these statuses. Sometimes these payments may have actually succeeded in the gateway.

There are a few ways to clean these up:

  • Administrators should be able to run the 'completePayment' function so to do a lookup that either voids the payment, or completes it.
  • Administrators should be able to complete/void manual payments. Replaces Allow admins to complete manual payments #51
  • Automatic task can tidy up payments that are older than X period.
  • When a payment is re-attempted on the same Payable object, it could check if incomplete payments were successful.
@bummzack
Copy link
Collaborator

bummzack commented Jul 6, 2016

Completing payments is possible with 2.0 and the omnipay-ui module
Deleting pending payments upon re-attempting is a tricky one… especially with gateways that use async notifications to notify of payment completion. Maybe better not do that…

Closing this and adding a follow up issue: #135

@bummzack bummzack closed this as completed Jul 6, 2016
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

2 participants