#groarq_api

1 messages ยท Page 1 of 1 (latest)

modern epochBOT
#

๐Ÿ‘‹ 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/1218152119647866940

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

torn sealBOT
stoic gust
#

Hey
Sources are deprected and you need to migrate as soon as possible to the new Payment method API

torpid stone
#

So how should I fetch Customers Payment Methods?

In stripe API documentation there is still sources in customer object without any addnotation that's deprecated

#

I'm not talking now about payment itself, I just want to fetch payment methods/sources for a specific customer

stoic gust
#

In stripe API documentation there is still sources in customer object without any addnotation that's deprecated
It is check this:
https://docs.stripe.com/sources

#

So how should I fetch Customers Payment Methods?
The customer you are sharing, does have payment method and not source

torpid stone
#

I see, so for any new customer it won't be source anymore but "payment method", while for existing customers it's still "source" ?

#

because for our older customers everything works fine. I can see source in API etc.

torpid stone
#

and if customer has connected credit card and ACH as payment sources but default is card. How is it going to be represented? Because the only thing I can see that refers to payment methods in stripe customer response is under invoice settings

stoic gust
#

ACH can be accepted using PaymentMethod API too.

#

What you mean exactly by your latest follow up question ?

torpid stone
#

So in our app we allow our users to connect multiple payment sources. So they can have 1 card and 1 bank account added. We do not keep any details about these methods on our side, so each time we fetch this data from Stripe to show our users what payments they have configured and which one is their default.

#

we are doing it by using sources object from Customers response. It was all there.

But now I'm confused how to get such information

stoic gust
#

In order to get all payment methods you use the API I shared with you, otherwise you use the sources at the customer level

#

but again, you need to migrate to the new PaymentMethod API as soon as possible

torpid stone
#

When the change that disabled sources for new customers happened? We had new client a week ago and everythign worked fine, now out of the sudden it stopped working

#

and I'm trying to figure out the shortest way to make it stable again, as we are pretty surprised

stoic gust
#

But the deprecation of the sources API started way much before

torpid stone
#

how long it will be working for existing customers with source attached? and I assume that for them currently we can use either source way or new payment method way?

stoic gust
#

There will be comms soon regarding this

torpid stone
#

also I've noticed that when creating customer via API we still can use source. So the change you said was released by the end of the last week was only for Stripe Dashboard for now?

stoic gust
#

but again I strongly invite you to migrate to the new Payment Methods APIs .

torpid stone
#

I understand, will do. we just can't do it in one day and we have to keep app running

stoic gust
#

But it's recommended

#

now as it's deprecated.

torpid stone
#

is there any way to create source from stripe dashboard?

stoic gust
#

No. You need to not consider Sources any more in your integration.

torpid stone
#

right, and my last question (I promise). Are you able to estimate how much time do we have to migrate to payment sources till they are completely removed from API?

#

or like we won't be able to use source when creating new customer (via API)

modern epochBOT
stoic gust
#

No worries, feel free to ask whatever question you need! You're welcome!

wary ferry
#

They're backwards compatible so you can still use existing Source objects, but you need to upgrade your integration to use the new APIs

torpid stone
#

I understand that I shouldn't use the Sources API - but at the moment I have no choice. So Im asking how long will it be possible to create customer using source

wary ferry
#

I don't know, better off asking support for details on the full deprecation dates

modern epochBOT
#

We wish we could help, but you need to talk to Stripe support

We can only help on Discord if all of the following are true:

  • ๐Ÿง‘โ€๐Ÿ’ป You must be a developer
  • ๐Ÿ› ๏ธ Your question must be about building a Stripe integration
  • โฑ๏ธ You must be available to respond in realtime
  • ๐Ÿ‘ฅ You must be comfortable receiving help in public (this is a public server)

If any of those aren't true please contact Stripe support.

If all of those are true we may have misunderstood your question; please provide more details below.

Note that using an inappropriate button or submitting inappropriate information is a violation of our rules. You will be removed from this server if you repeatedly create invalid threads.