Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cherubrock74

Pioneers
  • Posts

    100
  • Joined

  • Last visited

Everything posted by cherubrock74

  1. 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. 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. 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. 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. anyone has managed to have the shop by price contrib to work on 2.2? please advise thank you
  6. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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...
  16. Just wondering if someone found a solution...I tried to use the contrib reccomended but I was displaying an input text field instead of the "store name" or the items in the paypal transaction page... I uninstalled the contrib and went back to the store name... hope someone can help to fix this issue...
  17. Hi Steve When I checkout using PayPal standard payments everything works fine, except that when I complete the payment in my PayPal account I am not re-directed to the website. Instead I am showing the PayPal confirmation payment page, which also prevents me from receiving the customer order email. Only after I click on "return to store" link in the PayPal "payment completed" page, I can see the page checkout_success.php and I receive the order email. Any idea of where I should look to solve this? Like I said everything is fine except this step. Let me know. Thank you
  18. Ok Steve seems like re-installing the contribution solved the troubles I was experiencing with PayPal standard even if I will do further testing tomrrow... My question about shipping is still open and I am copying it here again: If I want to provide free shipping on all orders and I do not install any shipping module in the admin, at checkout I still get the error popup message that says "shipping selection error" "you must select a shipping method". If no shipping module is installed, there is no way to select anything. How could I solve this problem? talk to you soon
  19. Hi Steve...kind of solved this by uploading another version of the checkout.js file I had and it solved the stalling page problem. However I still cannot use paypal standard because the checkout does not take me to the paypal payment page, it just takes me back to the website and says thank you for your order...so i am back to square one...I will try to work this out by re-installing one page checkout and see what happens...
  20. Hi Steve This question is regarding shipping for another store I am bulding. If I want to provide free shipping on all the orders and I do not install any shipping module in the admin, at checkout I still get the error popup that says "shipping selection error" "you must select a shipping method". If no shipping module is installed, there is no way to select anything. How could I solve this problem?
  21. Hi Steve still having problems with paypal standard payments, but this time I noticed that I get an error which says that paypal_standard is "undefined" in checkout.js...what happens is that on the checkout the page gets stuck on "loading...refreshing payments methods"... here is the error text: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; Zune 4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Mon, 17 May 2010 16:48:01 UTC Message: 'paypal_standard' is undefined Line: 512 Char: 13 Code: 0 URI: http://www.mydomainname.com/e-store/includes/checkout/checkout.js any suggestions?
  22. Hi Steve, thanks for the reply. I am using the latest version of one page checkout and for paypal standard since I could now figure out how to add the code as suggested in the instructions I used the file that comes with the package as you suggested in my previous post. I just uploaded the paypal_standard.php file supplied with the package. Do I need to modify that? Can I send you a link so you can experience what I am describing when trying to check out? Let me know
  23. Hi Steve I installed the latest version of one page checkout I do not get any error, but when I checkout, even if Imy billing address is already there, no payment method is showing up, and the form still says "Please fill in your billing address for payment options". I am trying to use paypal standard with my sandbox. If I proceed with the checkout and click the confirm order button, I get to the processing page and instead of presenting me the paypal login page, I am redirected straight to checkout_success.php and it says "thank you for your order".(Basically you order the product for free! :)) It seems like the checkout is not picking my paypal standard module... Can you suggest anything? Dont know if it makes a difference, but when I configured my sandbox data in the paypal standard module, I did not input any private key, public certificate, paypal public certificate and paypal public certificate ID. I dont know where to get these data for my sandbox. I have my API credentials for the sandbox, but they include username, password and signature. I believe they are used in paypal express?
  24. Hi Steve when reading from installation instructions of the latest version of one page checkout, on the paypal standard php file it says to add /* One Page Checkout - BEGIN */ global $onePageCheckout; /* One Page Checkout - END */ after global $cart When I looked into my paypal_standard.php file I have 3 occurrences of global $cart How should I really proceed? Add the one page checkout code after all the 3 occurrences of global $cart? Is it right? Or I have a different paypal_standard.php file? If so where should I get the correct one? Please advise thank you Here is the code where global $cart occurs in my paypal standard: global $cartID, $cart_PayPal_Standard_ID, $customer_id, $languages_id, $order, $order_total_modules; global $cart_PayPal_Standard_ID; global $cartID, $cart;
×
×
  • Create New...