cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

ARBCancelSubscriptionResponse returns OK but doesn't cancel subscription

Hi,

 

I've been using Authorize.net's ARB feature to keep track of subscriptions to a webapp for years now. Lately, I've noticed a really strange problem in Silent POST URLs vs. the ARBCancelSubscriptionResponse call.

 

The scenario:

* I use the Silent POST URL to keep track of declined transactions. If one gets declined, I cancel the account on my database and also on ARB.

 

The problem:

* Even though the ARBCancelSubscriptionResponse returns with a Successful message, by checking the ARB interface I notice that the account hasn't been cancelled.

 

This is happening using the official PHP SDK, with a simple call like:

<?php

$cancellation = new AuthorizeNetARB;
$cancel_response = $cancellation->cancelSubscription($subscriptionId);

?>

 

The XML I get in response for such SDK call is the following:

<?xml version="1.0" encoding="utf-8"?><ARBCancelSubscriptionResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"><messages><resultCode>Ok</resultCode><message><code>I00001</code><text>Successful.</text></message></messages></ARBCancelSubscriptionResponse>

 

 

Anyone ever experience something like this?

barbutti
Member
Who Me Too'd this topic