Solved

Anyway to attach custom metadata to a user's payment

  • 17 January 2022
  • 1 reply
  • 54 views

Badge +3

We need to add some metadata (key-values) to user’s payments. As an example, we’d like to send workspaceId and other key-value parameters along with a payment that user is creating.

I understand that there is a Subscriber attributes which offers capturing custom metadata on the user object, however what we need is to attach metadata to individual payments and not users.

Anyway to acheive this functionality with RevenueCat APIs?

icon

Best answer by sundeep 21 January 2022, 22:18

View original

1 reply

Userlevel 3
Badge +8

This question was handled through our ticketing system, but posting the response here for visibility:

Unfortunately, passing metadata along with a purchase is not a use case currently supported by RevenueCat, but we’ve added this as a feature request. As a workaround, if you're keeping app user IDs in your own database, you could make a call to your backend to update a column for that particular user.

Reply