0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 00:15:24 +08:00
discourse/plugins/discourse-subscriptions/spec/serializers
Arpit Jalan ec3fbdb7ef
FIX: Use signed checkout user references in discourse-subscriptions (#40058)
Previously, `checkout.session.completed` selected the Discourse user
from Stripe's checkout email, which could record a subscription against
the wrong account.

This change sends a signed user reference through Stripe Pricing Tables
and uses it as the trusted webhook binding while preserving the existing
checkout email validation.

---------

Co-authored-by: discourse-patch-triage[bot] <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-05-28 22:19:56 +05:30
..
current_user_serializer_spec.rb FIX: Use signed checkout user references in discourse-subscriptions (#40058) 2026-05-28 22:19:56 +05:30
site_serializer_spec.rb