#jgmorillo_list-intents

1 messages ยท Page 1 of 1 (latest)

chrome pendantBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1271171299494068405

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

hasty moatBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fallow bay
valid pine
#

The reason you're not getting any payment for this Customer is becuase all your payments are guest payments. Stripe infers that they're related, based on the email, but the payments aren't actually attached to the Customer object in any meaningful way

fallow bay
#

well i do have another customer (guest) with same address, but this one has been created via API. Does this means that if a guest customer already exists with same email, future payments wont be listed?

#

@valid pine

valid pine
fallow bay
chrome pendantBOT
fallow bay
lilac ivy
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needs to step away soon. Can you share an example of one of the objects that you're trying to find for one of your Customers? Looking at the values in your screenshot from the dashboard, it looks like you may be working with Charges instead of Payment Intents.

fallow bay
#

Hi Toby, sure, this is a screenshot of the code and the response

fallow bay
lilac ivy
#

Sorry, I'm not looking for how you're approaching the problem currently, I'm trying to understand what objects you're hoping to get in the response. Then I can provide better guidance on how to get them.

lilac ivy
# fallow bay

Like if you click on one of these in your dashboard, what is the end of the URL you see on the page?

fallow bay
lilac ivy
#

pi_3PlaQXJDRrl7DR4t0y2rBHdI is the part I was looking for

#

Let me take a closer look at that

#

That is a Payment Intent object, but it's not associated with a Customer object so you can't do any sort of filtering based on the ID of a Customer.

fallow bay
#

thank you Toby, i will try with a new email that doesn't exists as a guest and make sure all is set properly

lilac ivy
#

Ah, these are coming from Payment Links. I would recommend trying to update your Payment Link so that it always create Customer objects. Right now it's set to only create them when required, which is typically just for Subscriptions.
https://docs.stripe.com/api/payment-link/update#update_payment_link-customer_creation

fallow bay
#

great to know!

lilac ivy
#

Actually, that may lead you to end up with multiple Customer objects with the same email address, and may still not do what you're after.