I have a client who is using ubercart and someone previously modified (!) the uc_authorizenet module to use a different post_url than the one in the code. They are using eprocessingnetwork.com which works the same as authorize.net so simply by changing the post_url, they were able to use the new gateway provider.
Since others may want to use alternatives to authorize.net while still using the uc_authorizenet module, I have a simple patch to handle this. The patch allows you to specify the gateway URL in the configuration settings and then that configured URL is used for the post_url.
Please review. I hope this will be accepted so my client can have hack-free ubercart code. If you need changes or have a different approach, I'm happy to update the patch if necessary.
Thanks,
Kristen
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | uc_authorizenet.module.patch | 1.94 KB | tr |
| uc_authorizenet.module.patch | 1.49 KB | kristen pol |
Comments
Comment #1
tr commentedSounds like a good idea to me. I re-rolled the patch to put the default URLs into a define().
Comment #2
tr commented... but somehow I forgot to actually *attach* the re-rolled patch. Sigh. Here it is:
Comment #3
tr commentedAny comments on why this is not a good idea and shouldn't be fixed?
Comment #4
tr commentedCommitted.