I have a silent post script which checks to make sure payments are not declined. If they are, then their membership is deactivated.
For debugging, I have an email sent to me about the ARB response. The ARB response for doing a ARBCancelSubscriptionRequest gives me a Successful message. I login and check the ARB through Authorize.net and I see the subscription is still active. I'm lost for words on this one. Anyone have any ideas? Below is the email I get to debug this issue.
Thanks for any help!
Class ParametersRequest XMLResponse XML
API Login ID | xxxxxxxxxxxx |
Transaction Key | xxxxxxxxxxxx |
Authnet Server URL | https://api.authorize.net/xml/v1/request.api |
XML: | <?xml version="1.0"?> <ARBCancelSubscriptionRequest> <merchantAuthentication> <name>6jF4s4u9Ar2</name> <transactionKey>33Q495P8T8ashjUe</transactionKey> </merchantAuthentication> <refId>129772</refId> <subscriptionId>18256310</subscriptionId> </ARBCancelSubscriptionRequest> |
XML: | <?xml version="1.0" encoding="utf-8"?> <ARBCancelSubscriptionResponse> <refId>129772</refId> <messages> <resultCode>Ok</resultCode> <message> <code>I00001</code> <text>Successful.</text> </message> </messages> </ARBCancelSubscriptionResponse> |
01-08-2014 05:46 AM
Three more delinced payments can through today and Its doing the same thing. Anyone have any ideas?
01-09-2014 05:10 AM
public function cancelSubscription($sub_id) { $request = new AuthorizeNetARB; $response = $request->cancelSubscription($sub_id); if($response->isOk()) return true; else { Yii::log(SafeDumper::dumpAsString($response),'error','payment'); return false; } }
10-14-2015 09:27 PM
I am experiencing this same issue. I read a document from a google search:
http://www.nevus.org/images/data_repository/ARBguide_1288931635.pdf
page 21:
"
Silent Post responses are returned in real-time, meaning as soon as the transaction processes we send out the Silent Post to your specified URL. We do not necessarily update the subscription in real-time, however. This means that you should not use the Silent Post response to immediately update or cancel an ARB subscription. If you update or cancel a subscription before we have updated the subscription in our system, our update will overwrite any changes you may have made. You should instead simply collect the response data and submit any changes necessary in your subscription(s) later that day.
"
I asked the Authorize merchant help on this issue, and they quoted this same document. However I could not find this document on the Authorize.NEt website!
They in turn told me to post on this forum. I hope a representative from authorize can confirm the truthy-ness of this external document so I can update my API code accordingly.
10-15-2015 10:49 AM