I then have a webhook that inserts into a database table but when searching for the data, I can’t find that metadata “pri_id” to select so it gets inserted into the DB. Not sure where I am going wrong. The Metata data value appears properly on stripe.
SOLUTION: I’ve worked it out. It’s not a simple select from the Data, you have to add the metadata name: so something like this. If the metadata value you create is “prj_id” then you need to enter: {{$_POST.data.object.metadata[‘prj_id’]}}