Does not capture fees from StripePaymentElement gateway

Created on 4 May 2024, 12 months ago
Updated 8 May 2024, 11 months ago

Problem/Motivation

This module looks very promising for a project I'm in the middle of building. Thanks!

However, it doesn't work if you configure the (recommended) "Payment element" gateway with Stripe. That payment gateway plugin does not dispatch the StripeEvents::TRANSACTION_DATA event, only StripeEvents::PAYMENT_INTENT_CREATE.

Steps to reproduce

  1. Install Commerce core, commerce_stripe, commerce_payment_fee and commerce_payment_fee_stripe
  2. Configure a payment gateway for your store with "Payment element".
  3. Complete a test checkout
  4. See if there are any fees recorded in your payment

Proposed resolution

Subscribe to both events, and record fees from either one.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dww

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024