Forums / Addon Payment Modules / How to enable SSL on MoneyBookers page?

How to enable SSL on MoneyBookers page?

Locked

Views: 4,511

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
26 Mar 2010, 10:34 PM
#1
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

How to enable SSL on MoneyBookers page?

I have an ssl cert installed that works on the admin and the usual pages checkout/registration ect.

I need to enable it on an a different additional page. How do I do this?

26 Mar 2010, 11:01 PM
#2
best_price_accessori avatar

best_price_accessori

Zen Follower

Join Date:
Dec 2008
Posts:
155
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

It is for the moneybookers module.

index.php?main_page=payment_moneybookers

Although the iframe is ssl I think the whole page should be.

10 May 2010, 5:46 PM
#3
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

Hi gang,

Sorry to tread-jack!

I too have the same question.

How can I set the index.php?main_page=payment_moneybookers page to be SSL too?

My site is SSL enabled but when I click to pay via Moneybookers it puts it back to Non-ssl although the iframe is secure I think it would look better for my users if they can see they are still secure on "my site"

Thanks
Natty

16 May 2010, 1:59 PM
#4
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: How to enable SSL on MoneyBookers page?

Natty:

Hi gang,

Sorry to tread-jack!

I too have the same question.

How can I set the index.php?main_page=payment_moneybookers page to be SSL too?

My site is SSL enabled but when I click to pay via Moneybookers it puts it back to Non-ssl although the iframe is secure I think it would look better for my users if they can see they are still secure on "my site"

Thanks
Natty

In BOTH of your configure.php files change the HTTP_SERVER setting from http://www.YourDomain.com to ```
https://www.YourDomain.com


Admin configure is located at /store/admin/includes - change it in 2 places
Store configure is located at /store/includes - 1 change
16 May 2010, 2:14 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to enable SSL on MoneyBookers page?

Rather than forcing the site to always be running as SSL ... it would really be better to figure out the real problem ...

I do not have a solution to your MoneyBookers payment module, but you really do want to fix this correctly ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 May 2010, 3:39 PM
#6
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: How to enable SSL on MoneyBookers page?

Ajeh:

Rather than forcing the site to always be running as SSL ... it would really be better to figure out the real problem ...

I do not have a solution to your MoneyBookers payment module, but you really do want to fix this correctly ...

Why is it wrong to have the site always in SSL mode?

16 May 2010, 4:01 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How to enable SSL on MoneyBookers page?

1 Site slows down

2 Spiders do not come to play

3 looks kinda dumb that you have a site that is one SSL and everyone else in the world manages to run proper sites where they are non-ssl where needed and ssl where needed

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 May 2010, 11:32 PM
#8
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
2

Re: How to enable SSL on MoneyBookers page?

Ajeh:

1 Site slows down

2 Spiders do not come to play

3 looks kinda dumb that you have a site that is one SSL and everyone else in the world manages to run proper sites where they are non-ssl where needed and ssl where needed

Thanks, can't wait to tell my bank how dumb they are :-0

17 May 2010, 6:26 PM
#9
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

Is there not a way to tell a Zen-Cart page to load in SSL rather than NONSSL? I thought I had seen this somewhere but I guess I'm mistaken.

I didn't want to run the whole site SSL as I know its dangers, just to enable it for this one page.

Cheers Natty

17 May 2010, 9:25 PM
#10
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

Thanks everyone for the replies. I've posted the question to Moneybookers intergration and will let you know what they say.

Cheers
Natty

25 May 2010, 4:31 PM
#11
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

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

25 May 2010, 5:06 PM
#12
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

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

25 May 2010, 5:41 PM
#13
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

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

	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

$this->_moneybookersUrl = zen_href_link('payment_moneybookers');

to this

$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

27 May 2010, 9:08 AM
#14
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

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!

27 May 2010, 9:23 AM
#15
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

Hi,

Almost, its Mr Natty! :blink:

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

<?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("&", $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');
?>
27 May 2010, 9:36 AM
#17
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

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

$breadcrumb->add(NAVBAR_TITLE_1, zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
$breadcrumb->add(NAVBAR_TITLE_2);
27 May 2010, 9:42 AM
#18
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: How to enable SSL on MoneyBookers page?

it seems working good...:clap:

i removed this 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...

28 May 2010, 2:40 AM
#19
natty avatar

natty

New Zenner

Join Date:
Dec 2008
Posts:
65
Plugin Contributions:
0

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.

define('NAVBAR_TITLE_1', 'Checkout');
define('NAVBAR_TITLE_2', 'Success - Thank You');

Regards
Natty