Jump to content

cherubrock74

Members
  • Content count

    100
  • Joined

  • Last visited

Posts 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. did anyone end up resolving this?

    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. ---------find

    TEXT_CLICK_TO_ENLARGE . '</a>'; ?>

    </noscript>

    </td>

    </tr>

     

    ---------and put after

    <tr>

    <td>

    <?php

    if (DISPLAY_EXTRA_IMAGES == 'true'){

    if ($product_check['total'] >= 1) {

    include (DIR_WS_INCLUDES . 'products_extra_images.php');

    }

    }

     

    ?>

    </td>

    </tr>

     

    ---------this will put the extra images under your prod image.

    hope this helps

     

    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??


  6. 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.


  7. 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


  8. Try this it worked for me, although I have not fully gotten this add-on installed, this works to bring them back in regular mode. Log into your Paypal account. Go to My Acoount, then Profile, then Website Payment Preferences. That is where you set Auto Return to ON and place your webpage checkout_success url in the blank as mine is: http://allaboutwicke...out_success.php

     

    Hope that helps.

     

    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?


  9. Hi i think you have to set up you payal account to redirect it auto back to checkout_process.php

     

    Are you using the paypal_standard.php that came with the one page checkout mod?

     

    Steve

    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?


  10. 1) The words:

     

    INVOICE_TEXT_INVOICE_NR 163

    INVOICE_TEXT_INVOICE_DATE 06/17/2010

     

    add this the code in catalog/admin/includes/languages/english/invoice.php:

     

    define('INVOICE_TEXT_INVOICE_NR', 'Number:');
    define('INVOICE_TEXT_INVOICE_DATE', 'Invoice date: ');
    

     

    * is u need it also in packing slip add the same code to - catalog/admin/includes/languages/english/packingslip.php

    ** if u have other languages do the same to them copy/paste the code

     

    2) About the email sending, yes it seems to be a small, but u can fix it:

     

    so open

     

    find this: catalog/includes/modules/email_invoice/email_invoice.php

     

    if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
    	$ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id);
    

     

    replace with this:

     

    if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
    	$ei_message->send('', SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id);
    

     

    * don`t forget to input the extra e-mail adress in Admin panel for extra e-mail to be sent!!!

     

     

    Hope it helps!

     

    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


  11. This is shown in invoice sent to customer or in customers account "Print Invoice"?

     

    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?


  12. 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?


  13. 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...


  14. 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...


  15. Just wanted to let you know I tried the contribution recommended on this page but instead of a list of items purchased I am displaying an input text field "description" in which you can type whatever you want!!

    I removed the contribution and kept the store name displayed...it is always better than the input text field...but the problem is still there...

    did anyone work this out somehow?

    please let us know thank you

     

    Chris,

     

    Is this compatible for v.3? I really don't want to get locked into the monthly fees for the IPN; Standard is working just fine for me.

     

    Thanks,

     

    Tom


  16. 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


  17. 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...

     

    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


  18. 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?

     

    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...


  19. 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?


  20. 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?


  21. Hi

     

    I found to use sand box you needed 2 logins, one as a developer login sandbox then another account as a customer

     

    Are you using the payment mod from one page checkout for paypal standard?

     

    Steve

     

    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


  22. 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?

×