Jump to content

cherubrock74

Members
  • Content count

    100
  • Joined

  • Last visited

  1. cherubrock74

    One Page Checkout Support

    Hi Steve When using PayPal Express I get the following message after being logged into paypal and click on continue to place the order: Fatal error: Call to a member function on a non-object in /homepages/8/d110375620/htdocs/my_store/includes/classes/onepage_checkout.php on line 947 and this is my 947 line for onepage_checkout.php $GLOBALS[$paymentMethod]->pre_confirmation_check(); any help?
  2. cherubrock74

    One Page Checkout Support

    using one page checkout with cynergy gateway payment module...is it possible? first installed just the payment module, but then the checkout process was lookin for a order_id.php file that was not there...that was because I hadn't installed the recommended contrib External Order Id Generator proceeded as directed and installed also the recommended External Order Id Generator contrib Now when selecting credit card payment and placing a test order the page checkout.php just refresh itself...there is no processing of order or anything else...it goes back to square one as if no payment method has been selected. I had to made some changes to the order_process.php page as well as to the database to install the External Order Id Generator. I believe that could be a cause...in the instructions it is recommended to make a backup of the order.php file, but yet no changes are made to it...that is kind of odd...am I missing something or the instructions are? these are the instructions just so you can understand better what I am talking about...can someone help me to work this out? Step 1) BACKUP YOUR DATABASE!!! Step 2) Make a copy of includes/classes/order.php so you can revert back to the old code if necessary. Step 3) Put your site in maintenance mode or take it down entirely. If an order is placed while implementing these changes bad things could happen to your database, so be sure this does not happen. Step 4) Paste the following SQL into the SQL Patch Tool and Execute, or execute it from the query browser. a. CREATE TABLE `orders_id` ( `orders_id` int(11) NOT NULL auto_increment, `session_id` varchar(80) NOT NULL default '', UNIQUE KEY `orders_id` (`orders_id`) ) ENGINE=INNODB PACK_KEYS=0 AUTO_INCREMENT=0 ; b. ALTER TABLE orders CHANGE COLUMN orders_id orders_id int(11) NOT NULL; c. INSERT INTO orders_id (orders_id, session_id) SELECT max(orders_id), 'xyz' FROM orders; d. DELETE FROM orders_id WHERE session_id = 'xyz'; Step 5) Install the following two new file: includes/functions/orders_id.php File Modifications: Step 6) In includes/database_tables.php Go to the end of the file and insert the following before the ?> tag: // jfarhat Kirkham Systems 12/15/2008. Added the following line define('TABLE_ORDERS_ID', 'orders_id'); Step 7) In checkout_process.php Find: // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); Add the following immediately after these lines: // jfarhat kirkham Systems 12/15/2008 - Note: if this method has been called previously in the payment // module, the method will always return the same order id as was previously generated require(DIR_WS_FUNCTIONS . 'orders_id.php'); tep_get_Order_ID(tep_session_id()); // otherwise this method generates a unique orders_id here when the order is created // End jfarhat Kirkham Systems Find: $sql_data_array = array('customers_id' => $customer_id, Replace the line with: // jfarhat Kirkham Systems 12/15/2008. Added the orders_id field $sql_data_array = array('orders_id' => $_SESSION['orders_id'], 'customers_id' => $customer_id, Find: $insert_id = tep_db_insert_id(); Replace with: // jfarhat Kirkham Systems 12/15/2008. Replaced the following line //$insert_id = tep_db_insert_id(); $insert_id = $_SESSION['orders_id']; unset($_SESSION['orders_id']); // CLEAR SESSION MAINTAINED ORDERS_ID AFTER ORDER DB WRITE IS SUCCESSFUL // End jfarhat Kirkham Systems Step 9) Exit maintenance mode and new orders generated should begin at the next logical invoice number. You should no longer get multiple transactions with the same or reversed orders_id.
  3. cherubrock74

    Contribution for LUCY Gateway

    Hi all I am in the same situation. My customer is using cynergy data to process their credit card transactions and they would like to keep them also for their online store. Did anyone manage to create a payment module for this? Please advise...thank you
  4. cherubrock74

    One Page Checkout Support

    When using paypal express checkout I get the following error message: Fatal error: Call to a member function on a non-object in /homepages/5/d180349627/htdocs/my_store/includes/classes/onepage_checkout.php on line 947 tried to place another order right away and I get this error instead: Express Checkout token is missing. any suggestion on how I can fix it?
  5. cherubrock74

    [Contribution] shop by price

    anyone has managed to have the shop by price contrib to work on 2.2? please advise thank you
  6. cherubrock74

    Extra Images module for Osc ver 2.2rc2a?

    Did not worked for me... I see the extra images but when I click on to enlarge them I get a page of 404 error and the following browser error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C) Timestamp: Fri, 16 Jul 2010 20:57:48 UTC Message: 'window.document.prodimg' is null or not an object Line: 235 Char: 1 Code: 0 URI: http://www.mydomainname.com/product_info.php?products_id=131 Message: 'window.document.prodimg' is null or not an object Line: 235 Char: 1 Code: 0 URI: http://www.mydomainname.com/product_info.php?products_id=131 I know there are many contrib for adding extra images to products. Any other contrib you guys would recommend in alternative??
  7. cherubrock74

    Fancier Invoice & Packingslip v1.0

    I have installed the contrib and like previously posted I am only able to see the html invoice and packing slip on the admin side. I cannot send html invoices to customers. Does not matter what I set on the admin side they only receive the text based version of the invoice. Can someone tell me which are the files invoiced with sending html email so I will start troubleshooting them one by one? I have been dealing with this issue for a while and I have to solve it somehow.
  8. cherubrock74

    One Page Checkout Support

    Just wanted to share a little mod of the text heading that may help someone else When checkout is complete the heading title in checkout_sucess.php always says "CHECKOUT" and then displays the text set for succesful order in include/languages/english/checkout_success.php. I wanted the page to say "CHECKOUT COMPLETE" So in catalog/checkout.php under define('HEADING_TITLE', 'Checkout'); I added define('HEADING_TITLE_CHECKOUT_SUCCESS', 'Checkout Complete!'); Then in catalog/checkout_success.php I changed this line <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?> to this: <td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE_CHECKOUT_SUCCESS; ?></div><br><?php echo TEXT_SUCCESS; ?> So now when checkout is done it displays the heading title "CHECKOUT COMPLETE!" which looks better also to customers. This is the first mod to the code I did so if someone think this should be changed somewhere else, please let me know. Hope this helps someone
  9. cherubrock74

    One Page Checkout Support

    Thanks it worked for me too! :) so far seems like my one page checkout is working (knockin on wood!) what are you missing in your installation?
  10. cherubrock74

    One Page Checkout Support

    Yes the file is the one that came with the package How do I set up the paypal account to redirect customers to checkout_process.php? Should I direct them to checkout_process.php or checkout_success.php?
  11. cherubrock74

    Fancier Invoice & Packingslip v1.0

    Hi and thank you for your help :) I was able to fix the text...worked great. I also replaced the code as recommended and I am able to get a copy of the order process email in the extra email address The only thing I cannot seems to work is the format of the email. The order process email is still in text format, not html. Just to understand, customer should receive the same html invoice as the one I can display in my admin panel right? I have set the html option for the email into my admin panel, here are my settings...any idea of what am I doing wrong or where I should check to understand? Title Email Invoice to Customer true Default Email Template File fancy.php Send HTML or Text Invoices to Customers true Default E-Mailed HTML Invoice Template box_invoice.php E-Mail Transport Method sendmail E-Mail Linefeeds LF Use MIME HTML When Sending Emails true Verify E-Mail Addresses Through DNS false Send E-Mails true
  12. cherubrock74

    Fancier Invoice & Packingslip v1.0

    It is currently shown in the invoice that opens through the admin panel At the moment I cannot send out the fancy html invoice to customers but invoice and packingslip look ok in the admin panel...customers still get the regular text based email with info about their order I am also trying to receive a copy of the order summary email to my store email address but I cant seem to get that either...but I think that's another problem Just trying to fix one thing at the time Any help please?
  13. cherubrock74

    Fancier Invoice & Packingslip v1.0

    Installed the contrib and it looks fine but I need to fix the text on top where the invoice number and date are...right now I am showing it like this: INVOICE_TEXT_INVOICE_NR 163 INVOICE_TEXT_INVOICE_DATE06/17/2010 can someone point me to where I can fix this?
  14. cherubrock74

    One Page Checkout Support

    Steve how come I am not redirected to checkout_success.php after completing an order using paypal standard payment? When the transaction is complete it just stays on the paypal screen and the customer would have to click on "return to store" to be redirected to checkout_success.php and see the "Thank you for you order" message. Am I missing some settings again?
  15. cherubrock74

    One Page Checkout Support

    Hi Steve here are a couple of minor issues I am dealing with When creating a new customer account, even if the verification password does not match the first one typed the account is created anyway and the first password typed is stored. Also is there a way to make the password field mandatory so they must input something? Right now my password field is not mandatory and if you do not type anything one is automatically assigned to the customer creating the account. Same for the phone field. It is mandatory in the form to create an account but it is not in the checkout...
×