#Granat

1 messages · Page 1 of 1 (latest)

left dustBOT
quiet flame
#

hmm. Not sure payment_intent should be null. What is the ID sub_xxx of a Subscription you've created so I can have a look?

quiet flame
#

still there @left relic ?

left relic
#

Sorry I did not anticipate such a fast response 😅 I can see now that the subscription with the product I linked didn't actually work. However, I tried this with another subscription with a monthly flat fee of 100 SEK as well and had the same issue sub_1N55ZcLOozXXwmpsXYoW7uBg

#

Here is the response of the POST and the body

#

I did expand the "latest_invoice.payment_intent" as you can see

quiet flame
#

yeah unfortunately the guide doesn't work for usage-based pricing that bills in arrears and thus has the first invoice be $0

#

what you can do instead is use the pending_setup_intent: "seti_1N55ZdLOozXXwmpsh0SGWEbM", and confirm that on the frontend to accept a card instead