I'm new here, so this might be easy (I hope). I just want ubercart to call out into my code when a silent post occurs on a recurring transaction from authorizenet ARB.

I'll need to know the email of the associated customer and what product was renewed so I can update their expiration date appropriately.

Also, how should I test the silent posts? It's unclear to me how to compose a valid silent post so I can tell what's going on even after commenting out the code that checks the checksum.

Comments

univate’s picture

The idea with this module is you shouldn't care what gateway you are using to process payments, you just want to hook into the renewal event.

From the uc_recurring.api.php file:

/**
 * Act on recurring renewal completed event.
 *
 * @param $order
 * The order object.
 * @param $fee
 * The recurring Fee object.
 */
function hook_recurring_renewal_completed(&$order, &$fee) {
}
deepeddy’s picture

Thanks. I think I get that, but I'm still stuck on the 2nd half of my question: how do I test a silent post?

I think I have it right, but it's not triggering and I'm guessing it's because I haven't created a valid silent post.

univate’s picture

Status: Active » Closed (duplicate)

See this issue, I think the ARB issue is resolved in the recent ubercart-2.x-dev:
http://drupal.org/node/580938