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

Now allowing checking token orders for completion #3226

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dparker1005
Copy link
Member

All Submissions:

Changes proposed in this Pull Request:

When Stripe webhooks are set up, orders may be stranded in token status without allowing admins to complete those checkouts after correcting their webhook setup. This PR adds a "recheck" link for orders. That link will check if the payment has been completed at the gateway and, if so, complete the checkout in PMPro.

Screenshot 2024-12-06 at 11 22 58 AM

This currently only works for Stripe, but can eventually be expanded to all gateways that are completed via webhook. It also gives us the option to automatically check pending orders in the future instead of having it be a manual admin process.

How to test the changes in this Pull Request:

  1. Disable Stripe webhooks
  2. Check out using Stripe Checkout
  3. Note that there is an order stuck in pending status and checkout hasn't been completed in PMPro
  4. Click the "Recheck" link for the order
  5. See that the checkout is now complete in PMPro

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

@dparker1005 dparker1005 requested a review from ideadude December 6, 2024 16:27
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

Successfully merging this pull request may close these issues.

1 participant