#lukakhr_paymentsheet-savedpm

1 messages ¡ Page 1 of 1 (latest)

peak rampartBOT
#

👋 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/1217974130826281090

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

void pondBOT
#

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.

calm hazel
#

lukakhr_paymentsheet-savedpm

#

@quiet coral can you give me an example Customer id I can look at?

#

can you also share the exact version of the SDK you use and a screenshot of what you see?

quiet coral
#

cus_PjlwWdw27eZKsq

calm hazel
#

That Customer has no saved payment methods right now

quiet coral
#

is this not a saved payment method?

#

because I see this when I open the customer

calm hazel
#

what exact URL are you on?

calm hazel
#

yeah that's a a completely different object. That's a "guest customer" on a connected account completely unrelated to the id you shared with me
Read: https://docs.stripe.com/payments/checkout/guest-customers which explains what a Guest Customer is

But right now you are using an "empty" Customer object cus_PjlwWdw27eZKsq and that one has no card attached to it

quiet coral
#

Why is that a guest customer? I created it like this:

  // create stripe customer
  const customer = await stripe.customers.create(
    {
      email: userData.userEmail,
      name: userData.userName,
    },
    {
      stripeAccount: stripe_account_id,
    }
  );
#

So I'm unsure why that is a guest customer

calm hazel
#

I think you are mixing up a lot of different things. The one you are looking at is not the Customer you created with your own code.

quiet coral
#

ok, I'll check tomorrow, it's quite late here, I might be mixing up a lot

#

thank you