#mochihealth

1 messages · Page 1 of 1 (latest)

tough doveBOT
spring oracle
#

can you check this subscription sub_1MeTJvBPM36OC3gXLzioUVxm

#

it says that its gonna end in Nov. my question is why?

torpid spear
#

hi there, let me take a look

#

That's because the end_behaviour of the schedule is cancel, which means the subscription will be canceled after all phases are ended

spring oracle
#

but I never set the end behavior of the subscription to cancel

#

is that because i created it with a subscription where the cancel at period end was true

torpid spear
spring oracle
#

can you explain to me this 400 error for request req_3QePHhZfn3GBlK

torpid spear
#

As the error message explains, the credit note amount (199) doesn't match the refund amount (164).

spring oracle
#

oh oh oh

spring oracle
#

what is the difference between the event invoice.paid and invoice.successful_payment

torpid spear
#

invoice.paid includes payments where invoice is marked as paid out-of-band.

#

So basically invoice.successful_payment events are a subset of invoice.paid events.

The difference is the invoices that marked as paid out-of-band will trigger invoice.paid, not invoice.successful_payment

spring oracle
#

what it out-of-band?

#

and which event would I want to use to lets say make sure that I can ship something to the customer

torpid spear
#

It means outside Stripe. For instance, if your customer paid the invoice outside Stripe, you can mark the invoice as paid out of band

#

You can listen to invoice.paid unless you want to differentiate between invoices paid with Stripe and invoice paid outside Stripe.