#Emerson Garrido-error

1 messages · Page 1 of 1 (latest)

wooden swallow
#

What are you doing that results in that error?

wild vessel
#

I'm trying to use search to look up email

wooden swallow
#

Ah, and looks like you're using the Search API beta.

wild vessel
#

Yes, our erro :

wooden swallow
#

Hm, can you provide your account ID here so I can check something?

wild vessel
#

where do i see this ?

wooden swallow
wild vessel
#

acct_1K3oUcJ1YAoHvSzU

wooden swallow
#

Thanks!

wild vessel
#

I think it works, my problem today is:
I'm creating the customer account and then including it in a subscription and if the request crashes or takes too long, it creates 2 customer accounts and 2 subscriptions.

I need to check if it has not already been created so as not to run it again because the stripe does not return if it has already been created.

wooden swallow
#

I'm sorry, I don't think I'm understanding the problem. That customer list function, using the (case-sensitive) email filter, is the best way to see if a customer already exists in your account with that email address.

wild vessel
#

I don't think so, I'm informing an email and he returns another one.

wooden swallow
#

what does that /payments/plans_news endpoint do? That looks like your endpoint rather than a Stripe function.

wild vessel
#

my route

wooden swallow
#

Do you have the request ID (req_XXX) from when the customers.list function was called?

sick night
#

Hey @wild vessel
Taking over for toby here
Let us know if you have any updates on the above

wild vessel
#

No, I gave up using this function, I'm trying something else but without success

#

Is it possible to apply an existing discount coupon to a session?

#

promotion_code does not

wild vessel
indigo basalt
#

@wild vessel what's blocking you? Do you still have questions?

wild vessel
#

I don't have any more, can you please consider the matter resolved.