Skip to content

Commit

Permalink
Merge pull request #26 from craftcms/feature/add-link-field-integration
Browse files Browse the repository at this point in the history
Add Stripe product link type for link custom fields
  • Loading branch information
nfourtythree authored Oct 3, 2024
2 parents 2453aec + 2350dc6 commit e504f6f
Show file tree
Hide file tree
Showing 6 changed files with 669 additions and 518 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG-WIP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Release Notes for Stripe 1.2 (WIP)

## Unreleased

> [!NOTE]
> Stripe plugin now requires additional webhook events to be registered. Re-register the webhook handler in the plugin settings, or add the new events below to the webhook registration in Stripe.
- Webhook handler now listens for `customer.updated` events.
- It’s now possible to manually sync Stripe customer data on Edit User pages.
- Added support for selecting products in Link fields.
- Added `craft\stripe\events\StripeEvent`.
- Added `craft\stripe\services\Webhooks::EVENT_STRIPE_EVENT`.
- Added `craft\stripe\linktypes\Product`.
- Fixed a SQL error that occurred when syncing subscriptions that were missing a `latest_invoice` value.
- Fixed links to Stripe dashboard when in live mode.
- Stripe now requires Craft CMS 5.3.0 or later.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prefer-stable": true,
"require": {
"php": "^8.2",
"craftcms/cms": "^5.1.0",
"craftcms/cms": "^5.3.0",
"stripe/stripe-php": "^13|^14"
},
"require-dev": {
Expand Down
Loading

0 comments on commit e504f6f

Please sign in to comment.