20 replies [Last post]
dave_the_brave's picture
Offline
Joined: 08/07/2008
Juice: 79
Was this information Helpful?

Hi

I need to integrate to the Authorize.net recurring billing API (ARB), and I figure the best way to do that is create a sub-module to the uc_authorizenet module, because ideally there should be a secondary payment process spawned if there are any products purchased that require recurring billing. For my requirements, I am using the Donation module, and I have defined a donation product with an attribute of Frequency, where frequencies can be defined (and hopefully applied to the recurring transaction).

Any recommendations for me? I'd like to start simply so I can get this client's needs met quickly, so I don't think I will be adding the attribute through the module to start with.

Thanks

-Dave

Edit: Actually, I think the best way might be to update the uc_authorizenet module itself...

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Authorize.net Recurring billing module

Re: your edit, exactly what I was going to say. In fact, I was planning on starting this in the morning for someone who needed similar functionality and commit the improvements to core. I'm happy to collaborate, or I'm happy to have you do testing for me. I'd also be happy for you to use our affiliate links if you don't already have an Auth.Net account. Eye-wink

I think the best long term solution is to have the core Auth.Net module handle AIM, CIM, and ARB.

dave_the_brave's picture
Offline
Joined: 08/07/2008
Juice: 79
That's where I was headed, too

Having the options within the module admin is definitely the way to go. Yes, I'm more than happy to collaborate and/or test. Unfortunately the client already has an account Laughing out loud, but I'll send a couple of future ones through the affiliate links!

chadcrew's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 12/28/2007
Juice: 195
Hi Dave, If you want to get

Hi Dave,

If you want to get Authorize.net recurring payments working quickly, you might consider using their Customer Information Manager (CIM) service and the uc_cim module (http://www.ubercart.org/contrib/2537). I think the only downside is that it costs $10 more per month. On the upside, it gives you some more flexibility than ARB and it's already written. Smiling

Of course, it would be great to see ARB integrated too, and I'm sure Ryan will have that knocked out in no time... Smiling

Chad

ryanschmidt's picture
Offline
Joined: 11/17/2008
Juice: 235
chadcrew wrote: I'm sure
chadcrew wrote:

I'm sure Ryan will have that knocked out in no time... Smiling

Any updates on this?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: chadcrew wrote: I'm sure

Yeah, ARB has been integrated for a little while now and works through the core recurring module. The main limitation is that you don't get notified when a payment fails from Authorize.Net.

ryanschmidt's picture
Offline
Joined: 11/17/2008
Juice: 235
Ryan wrote:Yeah, ARB has
Ryan wrote:

Yeah, ARB has been integrated for a little while now and works through the core recurring module. The main limitation is that you don't get notified when a payment fails from Authorize.Net.

Well, isn't being notified from Authorize.net important or is there some other way of handling that. Ryan, I would really, really appreciate some input here. I am pulling my hair out over this because all the posts on this issue are 1+ years old. Thank you so much in advance.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Ryan wrote:Yeah, ARB has

Basically what I'm doing for a client is keeping track in a custom DB table when the next payment is expected. If it doesn't show up for a few days after that, then I mark the account as past due. It's not solid yet, and it's hard to test b/c Auth.Net doesn't process ARB payments in their test server... That's the general way to go for now.

ryanschmidt's picture
Offline
Joined: 11/17/2008
Juice: 235
Re: Re: Ryan wrote:Yeah, ARB has

Is that done in workflow-ng or manually?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Ryan wrote:Yeah, ARB has

I had to write custom code for it to work, unfortunately. And because it's tied into their other systems, it's not something really generically usable or sharable.

ryanschmidt's picture
Offline
Joined: 11/17/2008
Juice: 235
Re: Re: Re: Re: Ryan wrote:Yeah, ARB has

Any changes with this? Just to confirm, if the recurring payment fails I will have no idea or notification? The user will not have their site access revoked?

What table do I check manually to see if the payment was declined?

elvis2's picture
Offline
Joined: 10/27/2009
Juice: 10
Ryan wrote: Yeah, ARB has
Ryan wrote:

Yeah, ARB has been integrated for a little while now and works through the core recurring module. The main limitation is that you don't get notified when a payment fails from Authorize.Net.

Does this problem still exist, not being notified?

Thanks

daveglines's picture
Offline
Joined: 12/04/2009
Juice: 4
Recurring Billing - Change Subscriptions Frequently

Hey gang. I'm new to Ubercart though been using Drupal for users. I have a client who wants to provide a subscription-based delivery service to customers. Seems like this recurring billing module will support that. What's unique is the client wants the customers to be able log in to the website weekly and change the configuration of their pre-approved order, thus changing amount that is billed on their card each week.

For example, they originally buy a $20 order of veggies in December, but in January they log back in and change the order to a $50 order of fruits.

Can this be supported out of box by allowing customers to change their roles, and associating a different price with each role? Would that work, or would they have to run through some checkout process each week? I'm trying to avoid the duplicated check-outs once the card is approved and on file.

Any insight appreciated.

dg

atween's picture
Offline
Joined: 02/17/2009
Juice: 18
failed ARB transactions are apparently reported to silent post

i contacted authorize.net support about this, and they claim that failed transactions are reported to the silent post. this developer seems to have found it working as well:

http://www.johnconde.net/blog/handling-authorize-net-silent-post-with-php/

might be worth considering handling failure scenarios in the uc_authorizenet module as this developer does since success scenarios already are.

Eidolon Night's picture
Offline
Joined: 12/03/2008
Juice: 51
Using Auth.net, recurring, and roles

I'm currently helping to set up a subscription based site. This uses Auth.net, recurring, and roles. We've tested with the test gateway and everything went fine, but now we're a little hung up. Here's the situation:

  1. We've created products with recurring and roles features added to them.
  2. We can successfully purchase these products (the charge goes through Auth.net fine, and we get the role assignment).
  3. The problem arises one week later (Auth.net's minimum ARB time span), when it's time for another payment. For some reason we never receive payment from Auth.net (Auth.net says it payed, but ubercart says otherwise). Once cron runs, the person loses their role assignment.

Any clue as to why this is occurring? I'm also interested in how UberCart communicates with Auth.net after the initial charge. Does ubercart initiate the later exchanges or does Auth.net do the heavy lifting? There are several settings in Auth.net that can be set that we're unsure about. Does anything special need to be done on that end?

Thanks for the help.

P.S. The seems to be a lot of confusion about setting up subscription sites. Is there a central place where we can put the ideas and experiences from the forums in to some sort of documentation?

justageek's picture
Offline
Bug Finder
Joined: 10/29/2008
Juice: 189
authorize.net bills the card

Then based on settings they will post results to a URL you specify, if I remember correctly you must enable 'silent post' option somewhere, and I think they post a standard key=value type http POST. I always have to look at the api documentation at authorize.net to remember the setup process and all the options, but my guess is that they are billing the cards but not able to post the results to you for some reason.

Eidolon Night's picture
Offline
Joined: 12/03/2008
Juice: 51
Re: authorize.net bills the card

Thanks so much for the help. We did make a mistake in setting our silent post url (http instead of https). Now, a hypothetical situation:

If the server, for some reason or another, misses the silent post from Auth.net then what happens? In our case, we would never receive notification of payment notification and all subscribers would lose their role assignment. Is there a way to ask for another confirmation from Auth.net?

justageek's picture
Offline
Bug Finder
Joined: 10/29/2008
Juice: 189
you can use the api

The api uses xml to interact with the system, so I believe you would have to write custom code to loop through subscriptions and request a status update, for lack of a better term. You need to make sure you are storing the unique id for each subscription, I hope the recurring payment module for uc stores this info, I think it would have to in order for authorize.net to update the info using silent post.

I'm not exactly sure how it works but i know you can request information about a subscription and get a response in an xml format.

Eidolon Night's picture
Offline
Joined: 12/03/2008
Juice: 51
Meh

Doesn't seem like the best way to do things. Luckily CIM was updated recently so we're trying that out.

dnanetwork's picture
Offline
Joined: 07/20/2009
Juice: 2
How To Enable Silent Response...?

hi there....i've implemented ARB in asp.net...and working in TEST ACCOUNT

i can see my subscription on my server...which is active...

but the problem is i'm not able to configure my silent URL....

when i contacted Authorize.net....they said i need a production account..

so does that mean....i have to pay to authorize.net for production account..

or is it free...if production account is free...then please send me the link..

so i can register faster...

so guys plz help...

ashlogics's picture
Offline
Joined: 04/22/2010
Juice: 3
ARB Intergration Code Required

hello all

i have added the payment posting code to authorised.net.Its working,but not included the ARB Integration.am using c# code.Can any help.

ash.logics@gmail.com