lilitoy Posted August 12, 2012 Share Posted August 12, 2012 Nobody can help me out? Thanks Lili Quote Link to comment Share on other sites More sharing options...
Dennisra Posted August 13, 2012 Share Posted August 13, 2012 Send a private message to Satish. He got it working for me. http://www.oscommerce.com/forums/user/68227-satish/ Quote Link to comment Share on other sites More sharing options...
Petness Posted September 7, 2012 Share Posted September 7, 2012 Hello. Once more we are having a problem to integrate this add-on (that we love!) with another function... this time is PayPal. When the costumer chooses to pay with PayPal the Reward Points are not attributed neither discounted, as if there was not be made any order. With all other payment methods, this add-on works perfectly. Can someone help please? If there's already a post about this can someone indicate me where? Thanks! Quote Link to comment Share on other sites More sharing options...
Bonnie Posted November 4, 2012 Share Posted November 4, 2012 I also want to know how to integrate with paypal_express.php ??? Please help!!! Quote Link to comment Share on other sites More sharing options...
Bonnie Posted November 5, 2012 Share Posted November 5, 2012 bump, any expert could assist? Much appreciate that. The order total amount still remain the same in paypal after I used the point. Quote Link to comment Share on other sites More sharing options...
dsolutions Posted November 7, 2012 Share Posted November 7, 2012 Does anyone know if it is possible to integrate this module with checkout by amazon? I am just using the checkout by amazon module in the checkout_payments.php selections. Thanks Evan Quote Link to comment Share on other sites More sharing options...
Clau123 Posted November 9, 2012 Share Posted November 9, 2012 Hello, I've been trying to install this great contri, think I'm almost done, however when I want to add the module in the admin sector - total order (so points can be seen in the checkout_confirmation page) I get this error : Warning: reset() [function.reset]: Passed variable is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 240 Warning: Variable passed to each() is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 241 There are many topics about this but I can't find a solution to fix this. this is what's in admin/modules.php around lines 240/241 switch ($action) { case 'edit': $keys = ''; reset($mInfo->keys); while (list($key, $value) = each($mInfo->keys)) { $keys .= '<strong>' . $value['title'] . '</strong><br />' . $value['description'] . '<br />';[/b] [b] if ($value['set_function']) { eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');"); } else { $keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']); } $keys .= '<br /><br />'; } $keys = substr($keys, 0, strrpos($keys, '<br /><br />'));[/b] [b] $heading[] = array('text' => '<strong>' . $mInfo->title . '</strong>');[/b] [b] $contents = array('form' => tep_draw_form('modules', FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=save')); $contents[] = array('text' => $keys); $contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']))); break; can anyone help me out here? Thanks in advance Lili Did you or anyone find a solution for this problem? I have the same problem, I tried to send Satish a message, but he can't receive messages anymore. Hope someone can help with this. Quote Link to comment Share on other sites More sharing options...
Dennisra Posted November 10, 2012 Share Posted November 10, 2012 Satish email address: [email protected] Wesite: oscprofessionals.com Quote Link to comment Share on other sites More sharing options...
Bonnie Posted November 13, 2012 Share Posted November 13, 2012 I'm still stuck on the order total in paypal express module. Let me email to Satish for help. Thanks Dennisra. Quote Link to comment Share on other sites More sharing options...
sunrise99 Posted December 7, 2012 Share Posted December 7, 2012 Dears, How to support Discount code module? http://addons.oscommerce.com/info/4269 Discount Coupon Codes Quote Link to comment Share on other sites More sharing options...
The Lego Man Posted December 7, 2012 Share Posted December 7, 2012 Hello, Has anyone implemented this contribution successfully for v2.3.1 following the guide? The documentation on http://addons.oscommerce.com/info/3220 states it was tested on Version 2.2MS2 yet on the history page the most recent entry states "Complete Package for 2.3x". Quote Link to comment Share on other sites More sharing options...
sunrise99 Posted December 8, 2012 Share Posted December 8, 2012 Hello, Has anyone implemented this contribution successfully for v2.3.1 following the guide? The documentation on http://addons.oscommerce.com/info/3220 states it was tested on Version 2.2MS2 yet on the history page the most recent entry states "Complete Package for 2.3x". yes. it work. I install it before. Quote Link to comment Share on other sites More sharing options...
Guest Posted December 12, 2012 Share Posted December 12, 2012 (edited) Hi I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules Hi I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 227 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 228 Also when I click save I get the following error Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 35 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 36 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php:35) in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/includes/functions/general.php on line 34 Please help me as I really want this on my website Also I am getting no text regarding the points redeem as on my other customers website I am, instead on my website I am getting a long rectangle with a border and nothing in it Please help me Kind regards Ian Edited December 12, 2012 by ianhaney Quote Link to comment Share on other sites More sharing options...
devastator Posted January 12, 2013 Share Posted January 12, 2013 hi i have install the new package for the 2.3.x working very fine but i have a question, how a member can refer another member if there is no referrals link and/or referral ID box in create_account.php thank you very much and great job Quote v2.3.4 Bootstrap Age_rectricted_category_v2.3.1.rar Ajax categories caroussel.rar ajax content.rar Ajax whats new and promo.rar Create Account & Manual Order Maker For OSC 2.3.4 V3.1.rar install seperate taxe pricing..rar Link to comment Share on other sites More sharing options...
jackhill Posted February 19, 2013 Share Posted February 19, 2013 Hi I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules Hi I installed the points and rewards add on but am getting the following error when I click on edit for Points Redeemptions in the order total under modules Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 227 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 228 Also when I click save I get the following error Warning: reset() expects parameter 1 to be array, null given in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 35 Warning: Variable passed to each() is not an array or object in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php on line 36 Warning: Cannot modify header information - headers already sent by (output started at /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/modules.php:35) in /customers/d/a/8/worldofcosmetics.co.uk/httpd.www/admin/includes/functions/general.php on line 34 Please help me as I really want this on my website Also I am getting no text regarding the points redeem as on my other customers website I am, instead on my website I am getting a long rectangle with a border and nothing in it Please help me Kind regards Ian Hi there I had the same issue and resolved it by removing the module and re-installing it A big thanks to the developers for this addon, it's awesome Quote Link to comment Share on other sites More sharing options...
jackhill Posted February 20, 2013 Share Posted February 20, 2013 Hi everyone Does anyone know if it's possible to display a "total points" popup when a client first logs in? Thanks Quote Link to comment Share on other sites More sharing options...
DaddyChan Posted March 15, 2013 Share Posted March 15, 2013 I am having trouble with this step.. CATALOG STEP = 21. open catalog/includes/languages/english.php I can not find define('BOX_INFORMATION_CONTACT', 'Contact Us'); I am trying to install this on v2.3.3, I seen someone said they got it all working. Could you point me in the right direction? Thanks Quote Link to comment Share on other sites More sharing options...
missylm Posted March 23, 2013 Share Posted March 23, 2013 I had successfully installed this addon, points and rewards to my website. Then I decided to upgrade the look, bought a template, now the points are not redeeming at checkout :( I have double checked the installation and am at a total loss. Any suggestions? Quote Link to comment Share on other sites More sharing options...
satinwoods Posted March 26, 2013 Share Posted March 26, 2013 Hello, I've been trying to install this great contri, think I'm almost done, however when I want to add the module in the admin sector - total order (so points can be seen in the checkout_confirmation page) I get this error : Warning: reset() [function.reset]: Passed variable is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 240 Warning: Variable passed to each() is not an array or object in /home/lilijewel/domains/pretty-juwelen.com/public_html/prettyadmin/modules.php on line 241 There are many topics about this but I can't find a solution to fix this. this is what's in admin/modules.php around lines 240/241 switch ($action) { case 'edit': $keys = ''; reset($mInfo->keys); while (list($key, $value) = each($mInfo->keys)) { $keys .= '<strong>' . $value['title'] . '</strong><br />' . $value['description'] . '<br />';[/b] [b] if ($value['set_function']) { eval('$keys .= ' . $value['set_function'] . "'" . $value['value'] . "', '" . $key . "');"); } else { $keys .= tep_draw_input_field('configuration[' . $key . ']', $value['value']); } $keys .= '<br /><br />'; } $keys = substr($keys, 0, strrpos($keys, '<br /><br />'));[/b] [b] $heading[] = array('text' => '<strong>' . $mInfo->title . '</strong>');[/b] [b] $contents = array('form' => tep_draw_form('modules', FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module'] . '&action=save')); $contents[] = array('text' => $keys); $contents[] = array('align' => 'center', 'text' => '<br />' . tep_draw_button(IMAGE_SAVE, 'disk', null, 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']))); break; can anyone help me out here? Thanks in advance Lili I'm having the same problem. Anyone know the solution to this problem? nice_guy 1 Quote Link to comment Share on other sites More sharing options...
The Lego Man Posted April 12, 2013 Share Posted April 12, 2013 Hi all, Does this module work for v2.3.1 ? When I browse to http://www.YOUR DOMAIN NAME / YOUR CATALOG DIR / admin/installer.php I get to the Points/RewardsV2.1beta - DataBase Setup interface. When I click Install This Module an error message is displayed stating: Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/....com/admin/installer.php:31) in /home/.../public_html/......com/admin/installer.php on line 242 Any ideas? Quote Link to comment Share on other sites More sharing options...
henkbart Posted September 16, 2013 Share Posted September 16, 2013 Hello, I have installed this module but i have a problem. On the check-out page i only can choose to use the maximum number of points and not enter a value. The attached file shows a screenprint of that part of the checkout page. What am i doing wrong??? Thank you Quote Greetings, Henk Bartels Link to comment Share on other sites More sharing options...
none-stainless Posted November 6, 2013 Share Posted November 6, 2013 Hi there, I've installed this awesome module, but on checkout-payment.php, I can't see the payment by points methode. There's the usual payment options, like credit cards, but nothing else. In the admin: USE_POINTS_SYSTEM is set to 'true' & the same for USE_REDEEM_SYSTEM ot_redemptions.php is there in my order_total modules This module is set to 40, shipping is 50 and voucher code is 30. Code is pasted and merged everywhere... BUT I'm not using the paypal module -> is that tricky? Anyway, I've spend many hours to understand why nobady can pay with points on my website, without success. Please help ! Thx ;) Quote Link to comment Share on other sites More sharing options...
Chill_Factor Posted January 15, 2014 Share Posted January 15, 2014 I'm having the same problem. Anyone know the solution to this problem? The /admin/modules.php file needs to get changes as outlined by "That Software Guy". Then, order total modules will work correctly. https://github.com/osCommerce/oscommerce2/pull/28 Quote Link to comment Share on other sites More sharing options...
AdmiralRedBeard Posted November 26, 2014 Share Posted November 26, 2014 Hi, I know this thread is old and may not be monitored anymore, but I have recently installed this addon and have 2 issues. There are 2 instances of the module in my admin configuration box When using points as payment (full or partial) and utilizing Paypal as my means of payment, I see the following: the detailed invoice disappears just a grand total that correctly reflects the redemption of points There may be more involved than just this addon module, because in the Paypal invoice window all I normally see is the detail item descriptions with price and a total not reflecting tax / shipping. The shipping / tax / discounts do not show even though I have all of that configured in my admin site. Any help / advice would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2015 Share Posted January 9, 2015 anyone know how to get this module to work with this payment module? cardstream_form.php <?php class cardstream_form { var $code, $title, $description, $enabled; // class constructor function cardstream_form() { global $order; $this->code = 'cardstream_form'; $this->version = "Cardstream"; // Perform error checking of module's configuration //////////////////////////////////////// $critical_config_problem = false; $this->form_action_url = "https://gateway.cardstream.com/hosted/"; $cardstream_form_config_messages = ''; $cardstream_form_config_messages .= '<fieldset style="background: #d0d0d0; margin-bottom: 1.5em"><legend style="font-size: 1.2em; font-weight: bold">Module Version Information</legend>'; $cardstream_form_config_messages .= '<p>File Version: ' . $this->version; $this->description = ''; $this->title = "Credit or Debit Card"; $this->enabled = ((MODULE_PAYMENT_CARDSTREAM_FORM_STATUS == 'True') ? true : false); $this->sort_order = MODULE_PAYMENT_CARDSTREAM_FORM_SORT_ORDER; if ((int) MODULE_PAYMENT_CARDSTREAM_FORM_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_CARDSTREAM_FORM_ORDER_STATUS_ID; } if (is_object($order)) { $this->update_status(); } } function update_status() { global $order; if ( ($this->enabled == true) && ((int)MODULE_PAYMENT_CARDSTREAM_FORM_ZONE > 0) ) { $check_flag = false; $check = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_PAYMENT_CARDSTREAM_FORM_ZONE . "' and zone_country_id = '" . $order->billing['country']['id'] . "' order by zone_id"); while (!$check->EOF) { if ($check->fields['zone_id'] < 1) { $check_flag = true; break; } elseif ($check->fields['zone_id'] == $order->billing['zone_id']) { $check_flag = true; break; } $check->MoveNext(); } if ($check_flag == false) { $this->enabled = false; } } } function javascript_validation() { return false; } function selection() { return array('id' => $this->code, 'module' => $this->title); } function pre_confirmation_check() { return false; } function confirmation() { return false; } function process_button() { global $order, $currencies, $currency, $customer_id, $cart, $products, $contents; $amount = round($order->info['total']*100); $transU = md5(mktime()); $retURL = tep_href_link(FILENAME_CHECKOUT_PROCESS, tep_session_name() . '=' . tep_session_id(), 'SSL', false); $process_button_string = ''; $fields = array( 'transactionUnique' => $transU, 'amount' => $amount, 'merchantID' => MODULE_PAYMENT_CARDSTREAM_FORM_MERCHANT_ID, 'countryCode' => MODULE_PAYMENT_CARDSTREAM_FORM_COUNTRY_ID, 'currencyCode' => MODULE_PAYMENT_CARDSTREAM_FORM_CURRENCY_ID, 'redirectURL' => $retURL, 'customerName' => $order->customer['firstname'].' '.$order->customer['lastname'], 'customerAddress' => $order->customer['street_address']."\n".$order->customer['city']."\n".$order->customer['state'], 'customerPostcode' => $order->customer['postcode'], 'customerPhone' => $order->customer['telephone'], 'customerEmail' => $order->customer['email_address'] ); ksort($fields); $fields['signature'] = hash('SHA512',http_build_query($fields, '', '&').MODULE_PAYMENT_CARDSTREAM_FORM_PRE_SHARED_KEY).'|'.implode(',',array_keys($fields)); foreach($fields as $k => $v){ $process_button_string .= tep_draw_hidden_field($k, $v); } return $process_button_string; } function after_order_create($zf_order_id) { global $order, $currencies, $currency, $customer_id, $cart, $products, $contents; // Save response from cardstream in the database $cardstream_form_response_array = array( 'transid' => $_POST['transactionUnique'], 'zen_order_id' => $zf_order_id, 'received' => $_POST['amountReceived'], ); zen_db_perform("cardstream_form", $cardstream_form_response_array); } function get_error(){ return array('title' => "Payment Error", 'error' => "There has been an error with your payment. Please try again."); } function admin_notification($zf_order_id) { $sql = " SELECT * FROM cardstream_form WHERE zen_order_id = '" . $zf_order_id . "'"; $cardstream_form_transaction_info = tep_db_query($sql); require(DIR_FS_CATALOG. DIR_WS_MODULES . 'payment/cardstream_form/cardstream_form_admin_notification.php'); return $output; } function before_process() { global $messageStack,$order,$code; $amount = round($order->info['total']*100); if (($_POST["responseCode"] != "0") || ($_POST["amountReceived"] != $amount)) { //$errorcode = "Payment Failed. Please try again."; tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=' . $this->code . (tep_not_null($error) ? '&error=' . $error : ''), 'SSL')); } } function after_process() { return false; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_PAYMENT_CARDSTREAM_FORM_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function install() { // General Config Options $background_colour = '#d0d0d0'; tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('</b><fieldset style=\"background: " . $background_colour . "; margin-bottom: 1.5em;\"><legend style=\"font-size: 1.4em; font-weight: bold\">General Config</legend><b>Enable Cardstream Module', 'MODULE_PAYMENT_CARDSTREAM_FORM_STATUS', 'True', 'Do you want to accept Cardstream payments?', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Merchant ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_MERCHANT_ID', '', '', '2', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Merchant Signature Key', 'MODULE_PAYMENT_CARDSTREAM_FORM_PRE_SHARED_KEY', '', '', '2', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Front End Name', 'MODULE_PAYMENT_CARDSTREAM_FORM_CATALOG_TEXT_TITLE', '', '', '3', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Currency ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_CURRENCY_ID', '', '', '4', '1', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Country ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_COUNTRY_ID', '', '', '5', '1', now())"); $background_colour = '#eee'; } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array( 'MODULE_PAYMENT_CARDSTREAM_FORM_MERCHANT_ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_CURRENCY_ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_PRE_SHARED_KEY', 'MODULE_PAYMENT_CARDSTREAM_FORM_CATALOG_TEXT_TITLE', 'MODULE_PAYMENT_CARDSTREAM_FORM_COUNTRY_ID', 'MODULE_PAYMENT_CARDSTREAM_FORM_STATUS' ); } } ?> 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.