Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21
  1. #11
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: How to enable SSL on MoneyBookers page?

    Hi all

    I heard back from Moneybooker. They say it will be OK for me to enable the page as SSL but not how to do it. I've just asked them to see if they know but also would like to know if anyone can point me in the right direction as to where in the payment module this may reside?

    Currently going over the files one by one so slowly getting a feel for how it works but reinventing the wheel isn't always the best solution!

    Thanks in advance
    Natty

  2. #12
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: How to enable SSL on MoneyBookers page?

    Further info as to what I'm after changing.

    When clicking Confirm the order on main_page=checkout_confirmation it says Security Warning: although this page is encrypted, the information you have entered is to be sent over an unencrypted page and could easily be read by a third party... when clicking continue it goes to main_page=payment_moneybookers which is NONSSL

    Thanks Natty

  3. #13
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default [RESOLVED]Re: How to enable SSL on MoneyBookers page?

    Me again

    Sorry to spam the tread but I've found the place I'm looking for. I have found in \includes\modules\payment\moneybookers\moneybookers_payment.php at line 54 of the file this section of code...

    Code:
    	function moneybookers_payment() {
    		global $messageStack, $order;
    		
    		$this->_notifyUrl = zen_href_link('mb_handler.php', '', 'SSL',false,false,true);
    		$this->_cancelUrl = zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL');
    		$this->_moneybookersUrl = zen_href_link('payment_moneybookers');
    
    		try {
    			if ((int)$this->_get('ORDER_STATUS_ID') > 0) {
    				$this->order_status = $this->_get('ORDER_STATUS_ID');
    			}
    
    			$this->sort_order = $this->_get('SORT_ORDER');
    
    			if (!$this->checkMainEnabled()) {
    				$this->title .= '<b style="color: red"> (Main module is not configured)</b>';
    				$this->enabled = false;
    			} else {
    				$this->enabled = $this->_get('STATUS');
    			}
    		} catch (Exception $e) {
    			$this->enabled = false;
    		}
    
    		if (is_object($order)) {
    			$this->update_status();
    		}
    
    
    		$this->form_action_url = $this->_moneybookersUrl;
    
    //		if (IS_ADMIN_FLAG === true) $this->tableCheckup();
    	}
    I changed this
    Code:
    $this->_moneybookersUrl = zen_href_link('payment_moneybookers');
    to this

    Code:
    $this->_moneybookersUrl = zen_href_link('payment_moneybookers', '', 'SSL');
    bing bang boosh. payment_moneybookers loads as SSL.

    Would like to know if I have done this correctly. I'm still in testshop and would like to move to live when I know I'm safe!

    All the best
    Natty

  4. #14

    Default Re: How to enable SSL on MoneyBookers page?

    Hi Miss Natty,

    Thanks. good to find this thread. i've tested this on my live shop and it seems to work without a problem..

    is this

    NAVBAR_TITLE_1 :: NAVBAR_TITLE_2

    not appearing on your site because it appears in my site after clicking "confirm the order"?

    If in case that is not appearing what text appears on top?

    Thanks!

  5. #15
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: How to enable SSL on MoneyBookers page?

    Hi,

    Almost, its Mr Natty!

    Glad my find was of use to someone else.

    The next thing on my list was to change the headers, I've get the same. I've found something in includes\modules\pages\payment_moneybookers\header_php.php but do not think that is the correct place to change the name. I'll be working on this today/tonight so will update when I fix it.

    Regards
    Natty
    Code:
    <?php
    /**
     * Mediaflex Sp. z O.O.
     * @author [email protected]
     * @package Moneybookers Payment Plugin
     */
    
    // This should be first line of the script:
    $zco_notifier->notify('NOTIFY_HEADER_START_MONEYBOOKERS_PAYMENT');
    
    foreach ($_POST as $key => $val) {
    	$tab[] = $key . "=" . $val;
    }
    
    $get = implode("&amp;", $tab);
    
    require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
    $breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    $breadcrumb->add(NAVBAR_TITLE_2);
    
    // This should be last line of the script:
    $zco_notifier->notify('NOTIFY_HEADER_END_MONEYBOOKERS_PAYMENT');
    ?>

  6. #16

    Default Re: How to enable SSL on MoneyBookers page?

    ... sorry can't edit the post anymore Mr. Natty. i'm past the limit...


    Thank you. Please do update it, i'm searching too. will try to post if i find something that may solve this issue...

  7. #17

    Default Re: How to enable SSL on MoneyBookers page?

    i think you have found the correct file locations...because the link in navbar1 points to /index.php?main_page=checkout_shipping and if you see the code zen_href_link ------- its the same

    Code:
    $breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    $breadcrumb->add(NAVBAR_TITLE_2);

  8. #18

    Default Re: How to enable SSL on MoneyBookers page?

    it seems working good...


    i removed this code

    Code:
    $breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
    $breadcrumb->add(NAVBAR_TITLE_2)
    and theres no NAVBAR_TITLE_1 :: NAVBAR_TITLE_2

    i think this is OK for me until we can find out how to change those to

    payment Method :: name of payment method

    Thanks for pointing me to the correct file location...

  9. #19
    Join Date
    Dec 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: How to enable SSL on MoneyBookers page?

    Hi corditreasures

    I would add that code back in and then open up \includes\languages\english\modules\payment\moneybookers.php

    and add this code with the other defines. Allowing your to edit your Titles.

    Code:
    define('NAVBAR_TITLE_1', 'Checkout');
    define('NAVBAR_TITLE_2', 'Success - Thank You');
    Regards
    Natty

  10. #20

    Default Re: How to enable SSL on MoneyBookers page?

    done! Yahoo!!

    Thank you very very Mr Natty. Its really a big big help.

    Regards

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. How to enable SSL for shopping cart page?
    By boomup in forum General Questions
    Replies: 2
    Last Post: 21 Jan 2012, 07:13 AM
  2. Enable SSL on Home Page
    By FoodDudes in forum General Questions
    Replies: 1
    Last Post: 23 Nov 2009, 05:34 AM
  3. How do I enable SSL?
    By swelter83 in forum General Questions
    Replies: 4
    Last Post: 5 Nov 2008, 10:49 PM
  4. How do I enable SSL in my site?
    By DieselStorm in forum Basic Configuration
    Replies: 2
    Last Post: 23 Feb 2008, 06:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR