Closed (fixed)
Project:
Ubercart
Version:
7.x-3.x-dev
Component:
Payment
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2012 at 17:11 UTC
Updated:
29 Nov 2012 at 22:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
longwaveThis is probably a good idea, if you post this change as a patch it is much more likely to be reviewed and included in Ubercart.
Comment #2
zyxware commentedHere is the patch to add drupal_alter on $submit_data before posting the data to authorize.net.
Thanks.
Comment #3
longwaveThanks for the patch. Can you give a code example of something in the data array you would change with this hook? We can then use that example as hook documentation in a uc_authorizenet.api.php file.
Comment #4
unnikrishnan commentedOur use case is that we needed a custom description to send to authorize.net. Authorize.net uses the description in the email that goes out to the customers. If I could alter the description field, I could add more details of the product purchased.
Thanks,
Unnikrishnan B.
Comment #5
longwaveSo your code is something like this?
Comment #6
longwaveCommitted, thanks for the patch!
http://drupalcode.org/project/ubercart.git/commitdiff/8005cb3