#john-sct-availability

1 messages · Page 1 of 1 (latest)

wise sigilBOT
idle pulsar
#

@spark quartz if you use source_transaction it will follow the availability of the original Charge

#

john-sct-availability

spark quartz
#

Can I use the arrival of the invoice.paid webhook as the time to initiate transfer?

idle pulsar
#

I mean you can use that Event to know the Charge succeeded. Funds are definitely not available at that time, but if you use source_transaction it doesn't matter and it just follows the Charge's funds' availability

spark quartz
#

If I use source_transaction when I do the transfer and then later I receive a invoice.payment_failed, what happens to the previously successful transfer?

idle pulsar
#

that's impossible

#

If you get invoice.payment_failed then there's no Charge you can use for source_transaction, and an Invoice can't succeed then fail. You seem to be a mixed up overall

spark quartz
#

OK. I thought it was possible to get an invoice payment failed on an ACH payment after invoice.paid had been received. Is this incorrect?

idle pulsar
#

I think it's incorrect, you'd only get invoice.paid after the ACH payment succeeds as far as I remember

spark quartz
#

So you are saying it is safe to do a transfer from the platform account using source_transaction any time after receipt of invoice.paid, and the transfer will succeed and the funds will be transferred when the payment is actually available in the platform balance?

idle pulsar
#

yes

#

you can test all of this in Test mode