spencermjax Posted March 24, 2010 Share Posted March 24, 2010 -OScommerce payment module (COCARD)- I have an existing oscommerce site using Authorize.net My client has changed gateway merchants to COCARD (cocard.net) I have Gateway API Documentation and sample code available for COCARD. any ideas on where would be the fastest place to get a payment module created for this? Quote Link to comment Share on other sites More sharing options...
TheShadowKnows Posted July 22, 2011 Share Posted July 22, 2011 Hi Spencer. Did you ever find a solution for this company? When I sign into their site portal, it is basically suggesting that I can either have my customers go to their site for checkout, or that I will likely be storing CC numbers on my site. Neither of which are going to happen. Quote Link to comment Share on other sites More sharing options...
TheShadowKnows Posted July 23, 2011 Share Posted July 23, 2011 (edited) I solved my problems with the quick help of the kind people over at Cocard which I guess is also NMI. There is a module for NMI in the contributions section, but it is outdated so don't bother. They use the "Authorize.net AIM" module as an emulator. It currently comes standard in the default OSC vanilla store. You will have to install this module through the control panel (module>payments) BUT FIRST you will have to make an edit to authorizenet_cc_aim.php (catalog>includes>modules>payment), to the POST address. catalog>includes>modules>payment>authorizenet_cc_aim.php find around line 173 switch (MODULE_PAYMENT_AUTHORIZENET_CC_AIM_TRANSACTION_SERVER) { case 'Live': $gateway_url = 'https://secure.authorize.net/gateway/transact.dll'; break; default: $gateway_url = 'https://test.authorize.net/gateway/transact.dll'; break; } and change to switch (MODULE_PAYMENT_AUTHORIZENET_CC_AIM_TRANSACTION_SERVER) { case 'Live': $gateway_url = 'https://secure.nmi.com/gateway/transact.dll'; break; default: $gateway_url = 'https://secure.nmi.com/gateway/transact.dll'; break; } then upload/replace this file and instll the module in the admin section. You can use the following credentials for testing of submitting transactions: API ID is your gateway username = (testing user is "demo") Transaction Key is your gateway password = (testing password is "password") and use your 'real' Cocard/NMI credetials for when you are live. I left the field "HD5 hash" empty. All is working great now. Hope this helps. Edited July 23, 2011 by TheShadowKnows Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.