Reply
Member
Posts: 4
Registered: ‎07-01-2016

Subscription Documentation wrong?

[ Edited ]

I'm trying to add the orderNumber to a subscription so that I can have two to the same customer (I'm getting duplicate submission errors).  I've gone to the playground here:

 

https://developer.authorize.net/api/reference/index.html#recurring-billing-create-a-subscription

 

entered my credentials, and added this at the bottom of the json just below the "billTo" block:

,"order": {"invoiceNumber":"123"}

 

This appears to match the documentation just below, but I get this error upon clicking send:

"code": "E00003", "text": "The element 'subscription' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'order' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'shipTo, profile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'."