Hello All,
I am facing an error while saving card to infusionsoft “ERROR: -1 - Failed to invoke method add in class com.infusionsoft.api.xmlrpc.XmlRpcDataService: null”.
And this is the process I have used:-
- Creating contact in infusionsoft .
- Validation card.
- Save credit card to infusion-soft.
I am getting error on step 3 for some users while working fine for others. Please have a look on it.
This is the cade I am using.
$cardId = $obj_eII->dsAdd(“CreditCard”, $data); and this is the data I am passing
Array
(
[CardType] => **********
[ContactId] => **********
[CardNumber] =>***************
[ExpirationMonth] => *****
[ExpirationYear] => ****
[CVV2] => ***
[NameOnCard] => ******
[Email] => ******
[BillZip] => ******
[BillCountry] => *****
[BillAddress1] =>*****.
[BillCity] => ***
[Status] => 3
)
And I got “ERROR: -1 - Failed to invoke method add in class com.infusionsoft.api.xmlrpc.XmlRpcDataService: null” from infusionsoft.