Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 1
Registered: ‎03-02-2018

Getting Error while creating ARB

(
    [status] => Error
    [message] => Array
        (
            [0] => net\authorize\api\contract\v1\MessagesType\MessageAType Object
                (
                    [code:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => E00003
                    [text:net\authorize\api\contract\v1\MessagesType\MessageAType:private] => The element 'billTo' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'phoneNumber' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.
                )

        )

)

 

Administrator
Posts: 149
Registered: ‎03-28-2014

Re: Getting Error while creating ARB

Phone number is not a valid field for the billTo in createSubscription method call. See the schema at https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd One way to associate the phone number is to create a customer profile (https://developer.authorize.net/api/reference/index.html#customer-profiles-create-customer-profile ) and then create a Subscription from that https://developer.authorize.net/api/reference/index.html#recurring-billing-create-a-subscription-fro... Hope this helps.