uc_authorizenet.api.php 452 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Hooks provided by the Authorize.net module.
  5. */
  6. /**
  7. * @addtogroup hooks
  8. * @{
  9. */
  10. /**
  11. * Allows transaction data to be altered before sending to Authorize.net.
  12. *
  13. * @param $data
  14. * The transaction data as specified by the Authorize.net API.
  15. */
  16. function hook_uc_authorizenet_transaction_alter(&$data) {
  17. $data['x_description'] = 'Custom Authorize.Net transaction description.';
  18. }
  19. /**
  20. * @} End of "addtogroup hooks".
  21. */