I’ve been digging through the code, and I’m not quite sure how to achieve this:
I’d like to add an extra field into the signup. Using Lyra, I’d just be copying this input and swapping out the ID for something unique.
That part is easy enough, but how do I ensure that the data from that input makes it all the way to the payload of the
members.added hook (or simply part of the member’s metadata)?
I’d like to use this to allow members to add another member who referred them to the site (and then hopefully figure out a way to apply a coupon through the Stripe API).