@martin@ Posted May 16, 2005 Share Posted May 16, 2005 Has anyone had any success in integrating Realex as a payment module? Im stuck. Tried duplicating the authorize.net module and altering it but they are really different. Ive seen a oscommerce site that uses realex(http://www.icoa.ie) so know it can be done. Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
upinsmoke999 Posted June 7, 2005 Share Posted June 7, 2005 Has anyone had any success in integrating Realex as a payment module? Im stuck. Tried duplicating the authorize.net module and altering it but they are really different. Ive seen a oscommerce site that uses realex(http://www.icoa.ie) so know it can be done. Any help would be greatly appreciated. <{POST_SNAPBACK}> Hi, Did you have any success with the realex mod'? In Hope Nik Quote Link to comment Share on other sites More sharing options...
tomed Posted June 7, 2005 Share Posted June 7, 2005 Has anyone had any success in integrating Realex as a payment module? Im stuck. Tried duplicating the authorize.net module and altering it but they are really different. Ive seen a oscommerce site that uses realex(http://www.icoa.ie) so know it can be done. Any help would be greatly appreciated. <{POST_SNAPBACK}> If you contact realex - they will give you the code. I haven't used it yet, but as far as I know it works a treat! Currently adding it to a project we're working on. Tom Quote Link to comment Share on other sites More sharing options...
jpool Posted July 27, 2005 Share Posted July 27, 2005 did you have any luck with this? I m only starting but I would apreciate the help j. Quote Link to comment Share on other sites More sharing options...
upinsmoke999 Posted July 27, 2005 Share Posted July 27, 2005 did you have any luck with this? I m only starting but I would apreciate the help Hi, No luck because Realex does not have any php technical support for osc and some people think they are worth over ?100 an hour to sort it out for you which is an absolute liberty. What we had to do was use their alternative module called RealAuth. Good Luck Nik Quote Link to comment Share on other sites More sharing options...
@martin@ Posted July 28, 2005 Author Share Posted July 28, 2005 Hey there. I got it all working perfectly. :thumbsup: I can email you all the code. Its actually a piece of cake to integrate it into your site too. B) Im going to put it up as a contribution here soon. Quote Link to comment Share on other sites More sharing options...
jpool Posted July 28, 2005 Share Posted July 28, 2005 great, I got it too. but its really good to know it s available Quote Link to comment Share on other sites More sharing options...
quomo Posted November 2, 2005 Share Posted November 2, 2005 Hi Any chance to get that code? I installed a payment module (basically modifying an old one) and all is working fine BUT the MD5HASH thingy. Have a look at this: the following code creates the hidden fields in the form. I manage to make all work, but the MD5HASH is not being calculated, as I just havent got a clue and add the code as is given by REALEX. function process_button() { global $HTTP_SERVER_VARS, $order, $customer_id; $sequence = rand(1, 1000); $process_button_string = tep_draw_hidden_field('customers_id', $customer_id) . tep_draw_hidden_field('customers_name', $order->customer['firstname'] . ' ' . $order->customer['lastname']) . tep_draw_hidden_field('customers_company', $order->customer['company']) . tep_draw_hidden_field('customers_street_address', $order->customer['street_address']) . tep_draw_hidden_field('customers_suburb', $order->customer['suburb']) . tep_draw_hidden_field('customers_city', $order->customer['city']) . tep_draw_hidden_field('customers_postcode', $order->customer['postcode']) . tep_draw_hidden_field('customers_state', $order->customer['state']) . tep_draw_hidden_field('customers_country', $order->customer['country']['title']) . tep_draw_hidden_field('customers_telephone', $order->customer['telephone']) . tep_draw_hidden_field('customers_email_address', $order->customer['email_address']) . tep_draw_hidden_field('customers_address_format_id', $order->customer['format_id']) . tep_draw_hidden_field('delivery_name', $order->delivery['firstname'] . ' ' . $order->delivery['lastname']) . tep_draw_hidden_field('delivery_company', $order->delivery['company']) . tep_draw_hidden_field('delivery_street_address', $order->delivery['street_address']) . tep_draw_hidden_field('delivery_suburb', $order->delivery['suburb']) . tep_draw_hidden_field('delivery_city', $order->delivery['city']) . tep_draw_hidden_field('delivery_postcode', $order->delivery['postcode']) . tep_draw_hidden_field('delivery_state', $order->delivery['state']) . tep_draw_hidden_field('delivery_country', $order->delivery['country']['title']) . tep_draw_hidden_field('delivery_address_format_id', $order->delivery['format_id']) . tep_draw_hidden_field('billing_name', $order->billing['firstname'] . ' ' . $order->billing['lastname']) . tep_draw_hidden_field('billing_company', $order->billing['company']) . tep_draw_hidden_field('billing_street_address', $order->billing['street_address']) . tep_draw_hidden_field('billing_suburb', $order->billing['suburb']) . tep_draw_hidden_field('billing_city', $order->billing['city']) . tep_draw_hidden_field('billing_postcode', $order->billing['postcode']) . tep_draw_hidden_field('billing_state', $order->billing['state']) . tep_draw_hidden_field('billing_country', $order->billing['country']['title']) . tep_draw_hidden_field('billing_address_format_id', $order->billing['format_id']) . tep_draw_hidden_field('payment_method', $order->info['payment_method']) . tep_draw_hidden_field('cc_type', $order->info['cc_type']) . tep_draw_hidden_field('cc_owner', $order->info['cc_owner']) . tep_draw_hidden_field('realex_cc_owner', $HTTP_POST_VARS['realex_cc_owner']) . tep_draw_hidden_field('realex_cc_number', $HTTP_POST_VARS['realex_cc_number']) . tep_draw_hidden_field('realex_cc_expires_month', $HTTP_POST_VARS['realex_cc_expires_month']) . tep_draw_hidden_field('realex_cc_expires_year', $HTTP_POST_VARS['realex_cc_expires_year']) . tep_draw_hidden_field('cc_number', $this->cc_card_number) . tep_draw_hidden_field('cc_expires', $this->cc_expiry_month . substr($this->cc_expiry_year, -2)) . tep_draw_hidden_field('orders_status', $order->info['order_status']) . tep_draw_hidden_field('CURRENCY', $order->info['currency']) . tep_draw_hidden_field('currency_value', $order->info['currency_value']) . tep_draw_hidden_field('ORDER_ID', $timestamp = strftime("%Y%m%d%H%M%S") . mt_srand((double)microtime()*1000000)."-".mt_rand(1, 999)) . tep_draw_hidden_field('orders_status_id', $order->info['order_status']) . tep_draw_hidden_field('MERCHANT_ID', MODULE_PAYMENT_REALEX_MERCHANT_ID) . tep_draw_hidden_field('card_number', $this->cc_card_number) . tep_draw_hidden_field('card_exp_date', $this->cc_expiry_month . substr($this->cc_expiry_year, -2)) . tep_draw_hidden_field('description', MODULE_PAYMENT_REALEX_TEXT_DESCRIPTION_SHOP) . tep_draw_hidden_field('cart_id', $this->cartID) . tep_draw_hidden_field('AMOUNT', number_format($order->info['total'], 2)) . tep_draw_hidden_field('comments', $order->info['comments']) . tep_draw_hidden_field('TIMESTAMP', $timestamp = strftime("%Y%m%d%H%M%S") . mt_srand((double)microtime()*1000000)) . tep_draw_hidden_field('MD5HASH', $md5hash =( $tmp = "$timestamp.$merchantid.$orderid.$amount.$currency". $md5hash = md5($tmp). $tmp = "$md5hash.$secret". $md5hash = md5($tmp)) ) . tep_draw_hidden_field('AUTO_SETTLE_FLAG', '0') . tep_draw_hidden_field('x_email_merchant', ((MODULE_PAYMENT_REALEX_EMAIL_MERCHANT == 'True') ? 'TRUE' : 'FALSE')); Does the code you have help me?? Quote Link to comment Share on other sites More sharing options...
suneetrana Posted April 26, 2006 Share Posted April 26, 2006 Hi Martin, I want to integrate realex payment module with my osc siite. can u provide me the code? Please mail me at [email protected] Thanks Hey there. I got it all working perfectly. :thumbsup: I can email you all the code. Its actually a piece of cake to integrate it into your site too. B) Im going to put it up as a contribution here soon. Quote Link to comment Share on other sites More sharing options...
tawhid_r Posted December 9, 2007 Share Posted December 9, 2007 Hi Martin, Can you, please, help me sending the code that you found working ? Please mail me at [email protected] Thanks in advance Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted December 9, 2007 Share Posted December 9, 2007 Hi Martin,Can you, please, help me sending the code that you found working ? If you would have looked at the member profile of Martin you would have seen the last time he logged-in was September 2005. Do you really think he will read this? What about the module in the contribution section? Quote Link to comment Share on other sites More sharing options...
manishsharma Posted December 11, 2007 Share Posted December 11, 2007 Hi Martin, I want to integrate realex payment module with my osc siite. can u provide me the code? Please mail me at [email protected] Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted April 3, 2008 Share Posted April 3, 2008 Hey there. I got it all working perfectly. :thumbsup: I can email you all the code. Its actually a piece of cake to integrate it into your site too. B) Im going to put it up as a contribution here soon. Know this a long shot but any chance of the code?? [email protected] Quote Link to comment Share on other sites More sharing options...
Guest Posted October 21, 2008 Share Posted October 21, 2008 realex actually supply a plugin that works...well not with laser but it works somewhat, best test it yourself as I'm using cre:) 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.