What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Authorize.Net: Sell Subscription payment type is getting Error on Transaction.Asked by kehillatisrael on July 20, 2016 at 03:31 PM
Randomly, after working fine for weeks, we are getting the following message when we try to register:
The element 'subscription' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'payment' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'. List of possible elements expected: 'shipTo, profile' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
Please go back and fix this
Apologies for any inconvenience. I have searched for the error over the internet and to my understanding it is because Authorize.net XML requests only work with the fields in a specific order. Base on the error you're getting, it seems that "payment" is not under "subscription".
It seems that it has something to do with how the products are being named. I see that some of the products in your payment tool are having special characters with their names.
Since this is happening randomly, can you check on your end if there is a specific product that's causing this issue, please?
We will wait for your response. Thank you.
I don't think this is the answer, because over 200 people have completed the form with no issue and then just yesterday, it became an issue.
The Authorize.net account is not the issue because we are getting payments through other forms (on the same account).
Thank you for the additional information.
After further testing, I was able to reproduce the issue you're having.
It seems that the Payment Type - Sell Subscription is broken.
I will forward this to our developers so they can take a look at it. You will be notified via this thread for updates if there are any.
We have resolved this issue more than a week ago. Please do inform us if you're still having problems.