<p>If this is Commerce 2, you're probably looking for the <a href="https://github.com/craftcms/commerce-stripe/blob/master/src/gateways/Gateway.php#L81" rel="nofollow noreferrer">buildGatewayRequest</a> event. From the transaction property set on that event, you should be able to get the Order and all the products.</p>

CC BY-SA 3.0
2018-03-27T14:41:02.300Z
2018-03-27T16:55:51.593Z
2018-03-27T16:55:51.593Z
Andris Sevcenko
<p>How I can add data to craft commerce stripe product while ordering, Actually I have used stripe webhooks so need meta data to identify the products</p>

CC BY-SA 3.0
2018-03-27T15:50:28.197Z
Commerce 2 or 1.2?
Luke Holder
<plugin-craftcommerce>
How I am supposed to send product data to stripe for web hooks?
# How I am supposed to send product data to stripe for web hooks?

(Asked by: username_0 on 2018-03-26)

How I can add data to craft commerce stripe product while ordering, Actually I have used stripe webhooks so need meta data to identify the products

**Tags:** plugin-craftcommerce

> **Comments:**
> **username_1**: Commerce 2 or 1.2?  

---

## 1 answers

### Answer by username_2 on 2018-03-27. Score: 1

If this is Commerce 2, you're probably looking for the [buildGatewayRequest](https://github.com/craftcms/commerce-stripe/blob/master/src/gateways/Gateway.php#L81) event. From the transaction property set on that event, you should be able to get the Order and all the products.


---

