You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an integration between Stripe and a third party software which requires the Stripe customers to have some metadata fields.
In the commerce-stripe plugin there's no event that allows us to hook in and modify the customer object to add the required metadata fields.
Would be an option to create a StripeGateway::EVENT_BUILD_CUSTOMER_REQUEST (similar to the existing StripeGateway::EVENT_BUILD_GATEWAY_REQUEST) to allow us to include our metadata fields?
This discussion was converted from issue #123 on August 31, 2021 00:04.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
We have an integration between Stripe and a third party software which requires the Stripe customers to have some metadata fields.
In the commerce-stripe plugin there's no event that allows us to hook in and modify the customer object to add the required metadata fields.
Would be an option to create a StripeGateway::EVENT_BUILD_CUSTOMER_REQUEST (similar to the existing StripeGateway::EVENT_BUILD_GATEWAY_REQUEST) to allow us to include our metadata fields?
https://github.com/craftcms/commerce-stripe/blob/master/src/services/Customers.php#L59
Thanks
Beta Was this translation helpful? Give feedback.
All reactions