-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When processing checkout.session.completed events for subscription-based checkouts:
- The webhook JSON had payment_intent: null since subscription checkouts use a subscription ID instead of a payment intent ID
- The calculateCommission method was failing to properly handle missing commission data in the partner program array
- The controller wasn't looking for the commission fields (commission_type and commission_value) in the SQL query
- The method was returning null instead of a float as defined in the return type
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working