05-24-2017 10:33 PM
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?
05-30-2017 10:23 AM - edited 05-30-2017 10:24 AM
05-30-2017 09:21 PM
Thanks for your response. Yeah I got this error code using following 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".