#ebellotpu6

1 messages · Page 1 of 1 (latest)

thin flameBOT
languid lichen
#

Sure, what are they looking to build?

wet dirge
#

The client is asking me to automate a process that is carried out manually from the dashboard.

#

The process is as follows:

#

1)In the dashboard, go to payments. Once in payments, select the failed payments filter, and export.

languid lichen
#

'Failed' in the Dashboard can be any of of a few of those, including requires_payment_method and requires_action

wet dirge
languid lichen
# wet dirge 2) Now foreach customer that has a payment failed, we need to get the link on th...

Sure, you can just 'expand' the invoice field via the API when the list the objects and it'll be included in the API response: https://docs.stripe.com/api/payment_intents/object#payment_intent_object-invoice

wet dirge
#

so, I first I have to filter the paymentintents for status != succeeded. Then I can find the link in the invoice field?

languid lichen
wet dirge
#

okey

languid lichen
wet dirge
#

thank you