View Single Post
  #3  
Old 04-25-2012, 07:59 AM
 
rct rct is offline
 

Advanced Member
  
Join Date: Dec 2004
Posts: 89
 

Default Re: Xpayments internal error

After I have installed the x-payment, I have renamed the install.php as per instructed. but when I tried to make a confirmation from the link sent to me via email.

Error: Access via insecure protocol is prohibited


From the error log :

ERROR [2012-25-04 10:44:05]
User: unknown; IP: XX.129.140.142
Zone: Core
Code: NONSECURE_PROTOCOL (237)
X-Payments is using a non-secure protocol

Affected systems: Core/Defender.php file (60:assert); Application.php file (133:check); /home/reallyco/public_html/xpayments/admin.php file (26:run)



And this is what I have in my config.ini.php

;<?php
;// vim: set ts=4 sw=4 sts=4 et:

;/**
; * Configuration settings - MySQL credentials, logging, etc.
; *
; * @category X-Payments
; * @package X-Payments
; * @subpackage Config
; * @author Creative Development LLC <info@cdev.ru>
; * @copyright Copyright (c) 2011 Creative Development LLC <info@cdev.ru>. All rights reserved
; * @license http://www.qtmsoft.com/xpayments_eula.html X-Payments license agreement
; * @version SVN: $Id: config.ini.php 5022 2011-03-22 08:36:19Z joy $
; * @link http://www.qtmsoft.com/
; * @see ____file_see____
; * @since 1.0.0
; */

;// Throw the exception if someone try to include this file into PHP code
;throw new XPay_Core_Exception('CONFIG_FILE_INCLUDE', array('file' => __FILE__));
;?>

; ---------------------------------
; To avoid incorrect parsing of configuration data it is strongly recommended
; to enclose all passwords, paths and other data in double quotation marks.
; If the data itself contains double quotation marks or a backslash, put
; a backslash before them, like this: \" or \\
; ---------------------------------

[mysql]
; ---------------------------------
; MySQL credentials
;
; ---------------------------------

server="mydomain.com"
port=
unix_socket=
dbname= "XXX"
user= "XXX"
password="XXX"
[mail]
; ---------------------------------
; Mail notifications parameters
; 'from' value is a 'From:' email parameter
; 'host', 'port', 'user', 'password' values is used for SMTP email transfer
; 'auth' value is an SMTP authentication method : LOGIN , CRAM-MD5, DIGEST-MD5
; 'timeout' value is the connection timeout period in seconds.
;
; If you omit 'host' value then the 'mail()' PHP function will be used for email transfer.
;
; ---------------------------------

from="XXX"
host="XXX"
port="25"
user="XXX"
password="XXX"
auth=LOGIN
timeout=10

[location]
; ---------------------------------
; X-Payments web URL.
;
; It MUST use HTTPS protocol.
;
; It should be in the following form:
; web="'.com/xpayments/"
;
; ---------------------------------

web="www.mydomain.com/xpayments/"

[proxy]
; ---------------------------------
; Proxy parameter:
; * username:password@host:port
; * username:password@host
; * username@host
; * username@host:port
; * host:port
; * host
;
; ---------------------------------

proxy=
; The flag value defines whether to use (value 1) or not (value 0) a proxy
; server for callback queries to online stores.
use_for_callback=0

; The flag prohibits (value 1) or allows (value 0) checking the certificate
; when connecting to payment gateways or online stores via HTTPS.
stop_verify_connection=1

; A path to the SSL certificate or certificates, which is used for peer
; verification. If the path is specified, peer verification will
; automatically be enabled.
curl_cabundle_path=

[security]

; The number of days after which online stores encryption keys are considered
; expired.
cart_enc_keys_expire=180

; The flag allows (value 1) or prohibits (value 0) working with software via
; an insecure HTTP protocol.
allow_insecure_protocol=0

; If the value is 'Y' then Luhn check algorithm will not be applied to
; credit card numbers
turn_off_luhn_check=N

[debug]

; The flag allows (value 1) or prohibits (value 0) detailed logging of
; internal events, occurring in software, such as queries to payment
; gateways, their responses, etc.
detailed_logging=0

; The flag allows (value 1) or prohibits (value 0) showing detailed error
; messages in software. The messages will contain detailed information,
; which is usually written to log files only.
detailed_messages=0

; The CardinalCommerce integration test case code, which would be used in
; test mode.
cardinal_commerce_testcase=Test01

Please help? Thanks
__________________
JOHN - v.5.3.X biz, X-payment 3.X
Reply With Quote