cancel
Showing results for 
Search instead for 
Did you mean: 

ARBGetSubscriptionStatus for nonexisting subscriptionID

Hi,

 

While calling "ARBGetSubscriptionStatus" method of web service for any dummy subscriptionid eg: 123 and we call ARBGetSubscriptionStatus(123), it returns Messeage as "active" while there is no such subscriptionid existing in authorize.net.

 

What is the solution to weather a subscriptionid exists or not?

ruchi_s
Contributor
2 REPLIES 2

Hi @ruchi_s,

 

Can you give an example request and response? In my testing, passing a subscription ID that doesn't match an existing one returns error E00035.

Aaron
All Star

Hi @Aaron

 

Thanks for your response. Yeah I got this error code using following code:

 

response.messages.FirstOrDefault().code

 

But I was matching only status of response "response.status.ToString()" which returns "Active" for such non-existing subscriptions.

 

Actually I had a check in my code that if status of subscription is "Canceled" or "Suspended" then to create new subscription but status of non-existing subscriptions is returned as "Active". Now I had to add extra check of "response.messages.FirstOrDefault().code=="E00035".