#daviddeburgosmb

1 messages · Page 1 of 1 (latest)

bright kiteBOT
unborn heart
#

Why isn't metadata sufficient? That's what I was going to suggest

#

Alternative is to just store a mapping of uuid to customer id in stripe in your database

#

Then just retrieve the customer in stripe by the mapped user id

bronze wren
#

I'm afraid that the external_user_id could be duplicated, because there's no way to make that field unique in Stripe. Also we have an API that let the user search subscriptions from a user (subscriptions/{userId}). The userId is not the one from Stripe, so I wanted to know what is the best practice to search that objects using my strategy