Created
January 26, 2026 05:18
-
-
Save aimahdi/64d489af3640a924ad404d9eb5afd95f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_filter('fluent_cart/payments/stripe_metadata_onetime', function($metadata, $context) { | |
| $metadata['your_key'] = 'Your Value'; | |
| return $metadata; | |
| }, 10, 2); | |
| add_filter('fluent_cart/payments/stripe_metadata_subscription', function($metadata, $context) { | |
| $metadata['your_key'] = 'Your Value'; | |
| return $metadata; | |
| }, 10, 2); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment