Sending User meta data to Stripe

Having meta data sent to be included in the customer object in Stripe is pretty easy using the wu_stripe_user_metadata filter.

You can add any number of key => value pairs in an array and that data will be added. The user ID and the plan object are passed to the filter to be used.

Was this article helpful?

Related Articles


  1. andrew

    I’m having a hard time understanding this, where would I place that code? On what file?

    1. Arindo Duque

      Hey, Andrew. You can place that code on your main site active theme’s functions.php

      1. nicod

        Has anyone managed to send meta to stripe? It doesn’t work for me

  2. andrew

    I’m also having a hard time with this one, Any chance we could get some more documentation with a walk through or video?

  3. nicod

    Hello Arindo. After some test Stripe dont recive my metadata.I use your code for tests puposes. Any ideas? (I have pasted the code on a plugin wich is activated on the main site)

Leave A Comment?