stripe icon indicating copy to clipboard operation
stripe copied to clipboard

No support for sources

Open ocharles opened this issue 7 years ago • 5 comments

It seems that the whole sources API is unimplemented. Is that correct?

ocharles avatar Jan 29 '18 14:01 ocharles

Yes, that is correct. At least, it wasn't possible to perform CRUD on sources in the 2014 version of the API. Although, there was some notion of a "source", but I think it referred to something different (like a parent object). This new source API seems to be related to payment methods.

Here is a list of endpoints this library is based on, https://web.archive.org/web/20140802220818/https://stripe.com/docs/api#customer_object

We could try to construct a request (using the stripe function) to the sources endpoint and see what happens. Sometimes endpoints are backwards compatible.

dmjio avatar Jan 29 '18 17:01 dmjio

Will you support payment APIs soon? That is, Payment APIs are PaymentMethod, PaymentIntents, SetupIntents.

cutsea110 avatar Mar 04 '20 09:03 cutsea110

@cutsea110 Potentially, when do you need it by? https://github.com/dmjio/stripe/pull/122 has preliminary support for PaymentIntents as well. cc @NorfairKing

dmjio avatar Mar 04 '20 11:03 dmjio

@cutsea110 I made some code that's just enough for my purposes, but not really fit to be included into this library as-is.

NorfairKing avatar Mar 04 '20 14:03 NorfairKing

@dmjio @NorfairKing Thanks for your quick reply.

I think I have to deal with deadline by next March. I want to make the transition early as I have time to spare.

I found this ticket was opened at 2018, so I asked how this project will go.

I'll watch the issue #122 .

Thanks!

cutsea110 avatar Mar 06 '20 06:03 cutsea110