You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no problem creating ARB subscription with an invoice number and get my OK response just fine. But, if I cancel subscription and create new ARB subscription with the same CC details (I am using test 4111....1111) but a different name,
I am getting the following error. If I pass empty invoice number I am not getting this error. I wonder what would be causing this error, as I cannot have empty invoce number on subscriptions that were created after cancelation/expiration of the previous subscription.
E00003:The element 'order' in namespace 'AnetApi/xml/v1/schema/AnetApiSc
hema.xsd' has invalid child element 'invoiceNumber' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'discountAmount, taxIsAfterDiscount, totalTaxTypeCode, purchaserVATRegistrationNumber, merchantVATRegist
rationNumber, vatInvoiceReferenceNumber, purchaserCode, summaryCommodityCode, purchaseOrderDateUTC, supplierOrderReference, authorizedContactName, cardAcceptorRefNumber, amexDataTAA1, amexDataTAA2, amexDataTAA3, amexDataTAA4' in namespace 'AnetApi/
xml/v1/schema/AnetApiSchema.xsd'
I am creating my ARB subscription with parameters configured the following way:
varinterval=newpaymentScheduleTypeInterval{length=(short)options.DurationMonths,unit=ARBSubscriptionUnitEnum.months};varschedule=newpaymentScheduleType{interval=interval,// start date should be tomorrow// if Starts On date is provided explicitly, then use this value,// otherwise the current day will be usedstartDate=options.StartsOn,totalOccurrences=options.Occurrences??9999//if not specified, occurs forever until cancelled};varcreditCard=newcreditCardType{cardNumber=options.CardNumber,expirationDate=options.CardExpiration};//standard api call to retrieve responsevarcc=newpaymentType{Item=creditCard};varcustomerType=newcustomerType{email=options.Email,phoneNumber=options.Phone,type=customerTypeEnum.individual};varaddressInfo=newnameAndAddressType{firstName=options.FirstName,lastName=options.LastName,address=options.Street,city=options.City,country=options.Country,state=options.State,zip=options.ZipCode};varorderType=neworderType{invoiceNumber=options.Invoice,description=options.Description};varsubscriptionType=newARBSubscriptionType{amount=options.Price,paymentSchedule=schedule,billTo=addressInfo,payment=cc,customer=customerType,name=options.Name,order=orderType};varcontroller=newARBCreateSubscriptionController(newARBCreateSubscriptionRequest{subscription=subscriptionType,merchantAuthentication=GetMerchantAuth()});controller.Execute(GetEnvironment());// get the response from the service (errors contained if any)varresponse=controller.GetApiResponse();//null returned
Please advise
The text was updated successfully, but these errors were encountered:
Hello,
Environment: sandbox
I have no problem creating ARB subscription with an invoice number and get my OK response just fine. But, if I cancel subscription and create new ARB subscription with the same CC details (I am using test 4111....1111) but a different name,
I am getting the following error. If I pass empty invoice number I am not getting this error. I wonder what would be causing this error, as I cannot have empty invoce number on subscriptions that were created after cancelation/expiration of the previous subscription.
I am creating my ARB subscription with parameters configured the following way:
Please advise
The text was updated successfully, but these errors were encountered: