Our customers are ordering products which have recurring payments. For example a video course costs initially 50$ and then 10$ per month. Customers pay over our plattform but the statistics over purchases should be visible in infusionsoft.
This means we need to create a recurring order over the API. We are currently using the XML RPC API.
I read the article Creating order via XML-RPC about the flow of creating a recurring order and ran into a problem.
First I call the
DataService.add Endpoint to create a new entry in the
RecurringOrder table. This API-Call returns the orderId.
This OrderId is then used in the
InvoiceService.createInvoiceForRecurring API-Endpoint to create the invoice. Problem is that I get a 200 Response and the id of the invoice is always 0.
I also don´t see the invoice in the Infusionsoft endpoint.
Does anyone has an Idea what we are doing wrong?
If there are Information missing, please feel free to request them, I can provide further details then.