cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

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'.
                )

        )

)

 

suman2018
Member
1 REPLY 1
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.
brianmc
Administrator Administrator
Administrator