Trying to figure out why my subscription is sending invoices to the customer rather than charging the card when in production.
The same configuration did a card charge in the sandbox, however it is sending invoices in production even though the subscription has the card id associated with it. See the reponse below for https://connect.squareup.com/v2/subscriptions/search
Hey @ryanlang apologies for the delay here. Following up with our Subscriptions team as I can’t see a reason why it wouldn’t be charged automatically either.
Apologies for the delay here. It sounds like the card on file that was presented failed (was declined) but we do not have anything on the subscriptions side that shows that, so the team will work on improving this, so you can see this from an API perspective. When a payment for a card on file fails on the backend, an invoice is sent to the email instead.
Apologies Ryan, I relayed the above message to the team when you supplied it (8 days ago), but have not gotten an update. I will reach out to them to ask for an update. Thanks for following up!
Unfortunately the subscriptions haven’t been able to find anything that confirms this behavior. They say once an email has been sent, it should not be charging the card on file automatically, so it’s a bit unclear what happened here.
The invoices team say that neither of the above invoices have any payments attached to them as of last week, so are you referring to a different subscription/invoice that was automatically paid? Can you share a payment_id that is associated with one of the invoices that was automatically charged?