PHP API to create a new account

(Mario Drolet) #1

I am looking at the PHP API from GitHub and when including the xmlrpc-2.0 library I get the following error, Parse error: syntax error, unexpected ‘new’ (T_NEW) in lib\ on line 595
Would you be able to point me in the right direction in resolving this issue.

(Tom Scott) #2

Good afternoon, Mario!

Would you be able to provide a link to the PHP SDK you are asking about? There are several in use, published by various parties.

(Mario Drolet) #3

Hi Tom,

Thanks for the reply, this is the github repository linked from the InfusionSoft API examples.

Let me know if there is a more updated API sample that I can reference.

(Tom Scott) #4

Those samples are unfortunately far out of date. We do have expanded samples on our backlog to get out, but I don’t have an example I can point you to.

The PHP SDK that we publish can be found here:

(Mario Drolet) #5

Thank you for the link to the API, greatly appreciated.

(Surya Kundu) #6

Can anyone please provide me any example codes for order creating with latest PHPSDK?

(Page Designer) #7

you can find example here: