Webhook: members:create, email is null

Hi

I use webhooks members:create and members:delete.
I need to add and remove subscriptions to users accounts on my site. Users identifier is email.

I got few webhooks from patreon with email like this

[data] => Array
(
[attributes] => Array
(
[currently_entitled_amount_cents] => 0
[email] => ********@gmail.com

But then I got webhook with empty email.

[data] => Array
(
[attributes] => Array
(
[currently_entitled_amount_cents] => 0
[email] =>
[full_name] => user_name_here

I checked all POST data, no one field have email.
How to get user email?

1 Like

Trying deleting the members which had their emails come through properly in webhooks, and then re-subscribing them to see if those emails come through properly again may provide pointers.

It’s real people, who paid. As I understand, I can’t subscribe new members without charging money.

You can create a test patron account and pledge to a $1 or lower tier to test.

It happened once with real member, who paid.
Other members paid and we got emails in webhooks.

This may be something particular to that patron then.