[E00003] The element 'ARBCreateSubscriptionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'refid' in namespace 'AnetApi/xml/v1/schema.xsd'. List of possible elements expected: 'merchantAuthentication' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
I get this error and have been unable to fix it. Any help? I am sure someone else has had this issue as it is in the C# as well. There are many PHP solutions :)
Any help would be great!
Thanks in advance!!!!
Is that from the sample code? If you read the console output, you should see the first one is successful, 2nd one fail as duplicate, 3rd one fail of bad XML(it set amount, but it the refid).
Console.WriteLine(vbCrLf & vbCrLf & "This call to ARBCreateSubscription should be successful.") Console.WriteLine("If you receive an duplicate subscription error change the Amount being sent to the server.") bResult = CreateSubscription(False) ' This example will generate an error because a duplicate subscription ' is being created. Console.WriteLine("" & vbCrLf & vbCrLf & "This call to ARBCreateSubscription shows how to handle errors.") CreateSubscription(False) ' This example will generate an error because the Amount is missing causing ' a schema validatation error to occur on the server side. Console.WriteLine("" & vbCrLf & vbCrLf & "This call to ARBCreateSubscription shows how to process ErrorResponse.") CreateSubscription(True)