Firstly, thanks for the excellent product and any assistance that can be offered.
I am using the API to integrate into my product but have came across an error that I can’t seem to get around.
I have created an item and want to create a recurring monthly invoice for it. I am sending the following data and getting the followin response (format is a printed PHP array)
Array
(
[InvoiceData] => Array
(
[InvoiceType] => RECURRING
[ClientID] => 898808
[ClientAddress] => Array
(
[Address] =>
[CountryISO] => GB
)
[Currency] => GBP
[TermDays] => 7
[Language] => en
[RecurringInvoiceData] => Array
(
[Interval] => 1MONTH
[Frequency] => 60
[StartDate] => 2014-09-22
[SendByEmail] => 1
[SendByPost] => 0
[ActivateOnCreation] => 1
)
[InvoiceLines] => Array
(
[ItemLines] => Array
(
[ItemLine] => Array
(
[ItemID] => 0
[ItemName] => One domain a month
[ItemDescription] => Choose 1 domain a month, pay monthly
[UnitCost] => 1
[Qty] => 1
)
)
)
)
)
Array
(
[Header] => Array
(
[MessageType] => Response
[SubmissionNumber] => 1411368558899
)
[Body] => Array
(
[Errors] => **Object reference not set to an instance of an object.**
)
)
I can’t find any pertinent references to this error so I’m unsure whether it’s a bug or an issue with the data I’m sending.
I do have “Recurring purchases” checked in my Quickfile account if that makes any difference.
Best Regards