Jump to content
Sign in to follow this  
nandima

Skrill (Moneybookers) Module

Recommended Posts

Hi Everyone,


 


I simply installed osCommerce 2.3.3 and 2.3.4 on below servers and added official moneybookers release module.


 


1.       osCommerce 2.3.3


http://test.senainternational.com/


 


2.       osCommerce 2.3.4


http://test1.senainternational.com/


 


 


1.  osCommerce 2.3.3


     a) I can configure official moneybookers main module with this version of osCommerce but cannot   


          checked out with Moneybookers eWallet configurations because some PHP error occupied. (Please


          checked attached Moneybookers eWallet pictures)


     b) Can configure Moneybookers - Credit Cards Version: 1.0 originally came with osCommerce 2.3.3


          but also cannot checked out. (Please checked attached Credit and Debit Cards pictures)


 


2.  osCommerce 2.3.4


     I cannot configure official moneybookers main module with this version of osCommerce. (Please


     checked attached main module pictures)


 


You can check for these issues. Anyone have proper solution?


 


Thanks.


post-319831-0-65004700-1431062878_thumb.jpg

post-319831-0-47344400-1431062887_thumb.jpg

post-319831-0-58211400-1431062899_thumb.jpg

post-319831-0-79694200-1431062908_thumb.jpg

Share this post


Link to post
Share on other sites

Hi Everyone,

 

Problem is generated on http://addons.oscommerce.com/info/5200 link moneybookers_main.php under 115 line. Issues are related to PHP 5.5 compatibility database functions.

 

How can I convert below codes?

$sql = "INSERT INTO " . TABLE_CONFIGURATION . "(configuration_title, configuration_key, configuration_value, configuration_group_id, date_added, configuration_description";

                                $val = "'" . mysql_real_escape_string($title) . "', '" . mysql_real_escape_string($key) . "', '" . mysql_real_escape_string($value) . "', 6, now(), '" .

                                                                mysql_real_escape_string($description) . "'";

 

Thanks.

Edited by nandima

Share this post


Link to post
Share on other sites

Hi

 

If I read this correctly - try changing all the instances of

 

mysql_real_escape_string

 

to mysqli_real_escape_string

 

or do you mean you want it osC style? Something like:

 

tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_group_id,  date_added,configuration_description) values ($title, $key, $value, '6', now(),$description)");

 

(or something like that)

Share this post


Link to post
Share on other sites

Hi Bob,

 

Thank you for the reply. But I also change your way and tried but generated some errors. That’s why I posted here.

 

1.       osCommerce included moneybookers module not working. Always getting error. Please checked attached pictures.

(Pic 1) https://docs.google.com/document/d/1pC0iJ-ccvzeSdoGq6wpFn47rIo8JPkohbu2p3DtLCvc/edit?usp=sharing

(Pic 2) https://docs.google.com/document/d/1xsMlFQeIfn_U70sxamYt2VQZ7QfUxWTJcxa1d-oFGWk/edit?usp=sharing

2.       That reason I installed below Add-Ons;

http://addons.oscommerce.com/info/5200

(Pic 3) https://docs.google.com/document/d/1spst4hRke8ZBPNqAoh-zSlhNdZzxEqn4632llc6WZ5k/edit?usp=sharing

3.       But cannot installed module. Always getting error.

(Pic 4) https://docs.google.com/document/d/1Z58V6Yxj69lioODjOs4lZ3d-hvhzGmjvWeqCEhIE0qA/edit?usp=sharing

4.       Then I change moneybookers_main.php your way;

mysql_real_escape_string to mysqli_real_escape_string and get below errors.

(Pic 5) https://docs.google.com/document/d/1BdmQy2CafOfXNJW6r_Qb_s6u6H3IfXQx5z93ADuwl1E/edit?usp=sharing

 

This is the problem I have at the moment.

 

Thanks,

Share this post


Link to post
Share on other sites

@@nandima - please share on the forum for the benefit of your fellow shopowners.


This is a signature that appears on all my posts.  
IF YOU MAKE A POST REQUESTING HELP...please state the exact version
of osCommerce that you are using. THANKS

 
Get the latest current code (community-supported responsive 2.3.4.1BS Edge) here

 

Share this post


Link to post
Share on other sites

You need to correct “mysql real escape string” problems for these issues.

Share this post


Link to post
Share on other sites

I'm also having problems activating core MB module, even that I already have a working Skrill account.

 

I tested this on a clean v2.3.4 install with original osc MB odule and no success ... Does anyone have a working solution for this  ?

 

Is this module working for anybody out of the box ?

 

Thanks for any pointers ...

 

Gregor

Share this post


Link to post
Share on other sites

OK, here its a partial solution that apparently works as I've made a successfull payment :) !

 

Tested on clean 2.3.4 install and also on my new heavy modified 2.3.4.

 

I already have my Skrill Merchant account up and running. Meaning I already have a secret word and Merchant tools activated in my Skrill Settings !

And still, my Skrill registered email could not be verifyed, returning that this email does not exist as moneybookers user ??

And as such the module could not be activated ... to enter the data manualy ...

 

After some searching and debugging,  I found out the following:

 

- admin/ext/modules/payment/moneybookers/activation.php

 

find line 74 to 78:

<?php
  if ($action == 'verifyEmail') {
    if (isset($result)) {
      if ($pass == true) {
?>

 

- Change $pass == true to $pass == false

 

 

This skipps the email check and gives an option to activate the module. After this, you you can enter your own details; email, Skrill customer ID, secret word in Configuration !

I tested it with success and made a successfull payment using eWallet method.

 

 

I get arround troubleshooting well, but I still lack in my coding skills to tell exactly what is wrong.

Looking at the code (activation.php)  seems to me that the email verify proceedure requires; email & customer_ID & password which is done at "https://www.moneybookers.com/app/email_check.pl".

 

There are no fields in the email verfy stage to enter these data ...

 

# Also "I'm a new Skrill user and would like to make an account" link returns 404 at Skrill on the verify email stage

 

# A checkout account activation email is suppose to be sent to "ecommerce at moneybookers.com" with Merchant name, Skrill e-mail addres, Skrill customer_id, Store url, language.

 

- Some of these data could only be passed after you enter them in configuration if not asked for them before ?!

 

For NEW Skrill users I would suggest to make a new account request directly on Skrill site and aftter they are confirmed and Merchant tools are available in your Skrill settings panel ... create a scret word and copy all the data in settings ...

 

 

 

#Questions:

- What is the reason for this email verification anyway ? If you have an account already, you should know it and by such have all required information by hand and if you don't have one, you should make one (working link should be there) and wait for Skrill confirmation (url precheck) and missing information (secret word, skrill id, etc)

- Did Skrill change some kind of their automated checking process ?

- Is it a failed attempt to make new user registration a simpler process and by this passing some account refferal_ID, which would be by the way great thinking of course ... ?

- You can also see that there is already predefined "cust_id" md5 hash password and md5 hash secret word in the code ... What is the prose of this if you cant pass these arguments before you have access to configuration area ?

 

 

###

 - Did I miss some original settings to have these troubes with original module ?

- Is it working for others as I only found a post or two about this ?

- Can some more experienced coder take a look in this :D ? I suppose I isolated the problem and now we just need some real action here :D , for original modul to work from scratch ..

 

 

Any help and response appriciated.

 

Cheers from Slovenia,

Gregor

Edited by suhy

Share this post


Link to post
Share on other sites

One more thought.

 

I tested this on a server where I have my old shop using Skrill running for ages, but still on different domain ! The server IP is the same as the domains are in the same hosting bundle.

I don't kow if you can just re-enter Skrill data on cross domain with different server IP, without any Skrill precheck, or can you ? This would mean you just need to get pre-approved for 1st shop and than you can sell baby gorillas  ?! Or the new URL's are automaticaly checked somehwere in the process ?

Edited by suhy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×