It seems like this could be the fault of a few different modules, but considering this is still in development among other reasons, I'll post this here.
The desired functionality is to allow customers to purchase 'Ad credits' to obviously post ads on our site. Using the test gateway provided with Ubercart and this module, we have achieved this functionality and I must say I am impressed how well it works. Granted it took me a bit of fiddling with the conditional actions to get there, but I did! Unfortunately though, I have run into an issue when the live gateway with Authorize.net is enabled.
Here is the error I get every time I attempt to do it of type 'uc_authorizenet':
Debug response:
Array
(
[0] => "1"
[1] => "1"
[2] => "1"
[3] => "This transaction has been approved."
[4] => "025457"
[5] => "Y"
[6] => "2907033295"
[7] => "30"
[8] => "1x mjm_onlinead"
[9] => "1.59"
[10] => "CC"
[11] => "auth_capture"
[12] => "64"
[13] => "John"
[14] => "Brokamp"
[15] => "Sampler Publications"
[16] => "121 Prosperous Place"
[17] => "Lexington"
[18] => "KY"
[19] => "40509"
[20] => "US"
[21] => "8592254466"
[22] => ""
[23] => "xyz123company@gmail.com"
[24] => ""
[25] => ""
[26] => ""
[27] => ""
[28] => ""
[29] => ""
[30] => ""
[31] => "US"
[32] => ""
[33] => ""
[34] => ""
[35] => ""
[36] => ""
[37] => "AF5EC5A342330B48149A3B782C57329E"
[38] => "M"
[39] => ""
[40] => ""
[41] => ""
[42] => ""
[43] => ""
[44] => ""
[45] => ""
[46] => ""
[47] => ""
[48] => ""
[49] => ""
[50] => ""
[51] => ""
[52] => ""
[53] => ""
[54] => ""
[55] => ""
[56] => ""
[57] => ""
[58] => ""
[59] => ""
[60] => ""
[61] => ""
[62] => ""
[63] => ""
[64] => ""
[65] => ""
[66] => ""
[67] => ""
)
If you examine the picture I attached you can examine my CA that is to assign points. With the test gateway, both actions fire perfectly. However with Authorize.net only my second action will work. After many tests I concluded that the two gateways seem to pull the trigger at the same time so I'm convinced my settings are perfect and this is in fact a bug.
I'm going to install the updated dev of Userpoints in a few hours and probably crosspost this to the UC page as it may also be a bug in the 'uc_authorizenet' as well... I'll come back and update it.
I made this critical because quite frankly it's crippling and while I am quite handy with PHP, I'm not an expert on these modules and how they interact. Feel free to move this to a more appropriate place, lower the priority or even point me in the right direction! Thanks!!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Capture.PNG | 25.06 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedI guess the image would be nice...
Comment #3
LGLC commentedHey NANERPUSS, just wondering if you ever managed to get this working? The functionality you described is EXACTLY what I'm hoping to implement on a site I'm developing at the moment, so (like on your site) it's crucial that it works! Have the most recent dev versions fixed the issue?
Comment #4
Anonymous (not verified) commentedLGLC,
Believe it or not it ended up being the fault of Authorize.net. Apparently they had a hold on the account - including test transactions! After a short nasty gram things were fine.
I recommend signing up for a developer account and seeing if that works for you. I've gotten a bit more adept at all things Drupal since then so feel free to throw the debug info my way and I'll try my best to help.
Comment #5
bmagistro commentedMarking closed, works as designed per discussion here which seems to indicate error was with Authorize.net and not the module.