Skip to content

Conversation

@reygcalantaol
Copy link
Collaborator

Resolves #416

Description

Added a button to manually fetch Stripe products. Also added event handlers for product.created, product.updated, and product.deleted so the WPUM Stripe product cache stays in sync.

Testing Instructions

  1. Log in to WordPress as an administrator and go to Users → Settings → Stripe.
  2. Connect a Stripe account if it is not already connected.
  3. In the Stripe Dashboard, create a product in the account connected in step 2.
  4. Click the Fetch Stripe Products button.

Pre-review Checklist

  • Issue and pull request titles are properly formatted.
  • Acceptance criteria have been satisfied and marked in the related issue.
  • Unit tests are included (if applicable).
  • Self-review of code changes has been completed.
  • Self-review of UX changes has been completed.
  • Review has been requested from @polevaultweb.

…he WPUM Stripe settings to refresh the transient cache

- Add product.created, product.updated, and product.deleted stripe event hook handler

@polevaultweb

Resolves #416
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.

Add a new button for Stripe integration to "Fetch Products” in the WPUM Stripe settings to refresh the transient cache.

2 participants