#.strawht

1 messages · Page 1 of 1 (latest)

hollow schoonerBOT
icy fable
#

Hi there

#

By fetching payment methods do you mean a backend call?

#

Or could you elaborate a bit more about this adding / fetching delay part? 🙂

fossil basin
icy fable
#

I see, but what does it mean for delay between adding and fetching?

fossil basin
#

let's say I've added a credit card.

Immediately after I call listpaymentMethodsForCustomer, this method returns empty. If i wait ~30 seconds and then make the same call it will provide the payment method I had added

icy fable
#

Ahh I see. Yes it seems to take time to update the Customer object. Just curious if you, immediately after, call the List Payment Method via backend, would you see it's updated?

#

(I guess it's the same, but worth trying)

fossil basin
#

are there other alternatives?

icy fable
#

Also, if you compare the time when you receive the webhook event after adding, it would be great too

#

Webhook is the fastest notification AFAIK

fossil basin
#

I see i'll investigate

#

thank you