You are here

constant StripeEvents::TRANSACTION_DATA in Commerce Stripe 8

Name of the event fired to add additional transaction data.

This event is triggered when a Charge transaction is going to be created. It allows subscribers to add additional transaction data and metadata about the transaction.

See also

https://stripe.com/blog/adding-context-with-metadata

https://stripe.com/docs/api#metadata

\Drupal\commerce_stripe\Event\TransactionDataEvent

File

src/Event/StripeEvents.php, line 23

Class

StripeEvents
Defines events for the Commerce Stripe module.

Namespace

Drupal\commerce_stripe\Event

Code

const TRANSACTION_DATA = 'commerce_stripe.transaction_data';