#mahraamir

1 messages · Page 1 of 1 (latest)

past basinBOT
#

Hello! We'll be with you shortly. 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.

waxen spire
#

cus_P0iAZKX0nkdCRA

normal dragon
#

hi! do you have more context like exact code you're using/API calls you're making, what data you expect to see in what JSON field and what you see instead?

waxen spire
#

one sec

#

Stripe\Collection JSON: {
"object": "list",
"data": [],
"has_more": false,
"url": "/v1/customers/cus_P0iAZKX0nkdCRA/sources"
}

normal dragon
#

That's the wrong API, it's legacy.

waxen spire
#

for credit card it is working

normal dragon
normal dragon
waxen spire
#

ok nice

#

the new one will work for cards as well?

normal dragon
#

yes

waxen spire
#

by the way in my editor this method is not being listed like other methods

#

when I write ::

#

\Stripe\Customer::allPaymentMethods

normal dragon
#

then you're probably using an old version of the stripe-php library that doesn't have that method.