Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How To Setup X-Payments On It's Own Domain

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 01-03-2014, 06:11 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default How To Setup X-Payments On It's Own Domain

I have been using x-payments for some time now, and now I am looking to install xpayments on it's own domain in order to point another store at it.

Could someone please help me in setting up x-payments on it's own domain. How would you prevent someone from viewing the domain site while allowing stores to communicate with x-payments.

Frank
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #2  
Old 01-04-2014, 04:30 AM
  ambal's Avatar 
ambal ambal is online now
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,126
 

Default Re: How To Setup X-Payments On It's Own Domain

Use iFrame -
http://help.x-cart.com/index.php?title=X-Cart:IFrame_integration_for_X-Payments_%26_X-Cart_checkout_routines
http://www.youtube.com/watch?v=JyPD1Tr9Eow
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #3  
Old 01-04-2014, 08:17 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How To Setup X-Payments On It's Own Domain

I know how to use the i-frame method, I was talking bout how set x-payments on its own domain name. How would you stop it from being indexed by search engines and from some one viewing it on the domain home page.

set up xpayments on domain www.xxxxxxxxxx.com
stop anyone from viewing the domain but let calls for payment processing go through
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #4  
Old 01-04-2014, 09:08 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How To Setup X-Payments On It's Own Domain

the htaccess file takes care of that
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following 2 users thank carpeperdiem for this useful post:
ambal (01-04-2014), Duramax 6.6L (01-05-2014)
  #5  
Old 01-04-2014, 11:54 PM
  ambal's Avatar 
ambal ambal is online now
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,126
 

Default Re: How To Setup X-Payments On It's Own Domain

I think I've got your point. You can setup X-Payments on a separate domain name e.g. yourstorecheckout.com and setup robots.txt file to forbid Google index your X-Payments. Also, .htaccess file can help, too, but password protection of checkout area does not seem to be a good idea to me.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #6  
Old 01-05-2014, 01:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: How To Setup X-Payments On It's Own Domain

You should not count on robots.txt - many bots disregard its entries and pages still may end up indexed somewhere. Google/Bing/Yahoo do respect it though....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 01-05-2014, 03:19 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How To Setup X-Payments On It's Own Domain

Quote:
Originally Posted by cflsystems
You should not count on robots.txt - many bots disregard its entries and pages still may end up indexed somewhere. Google/Bing/Yahoo do respect it though....

Exactly I know that some robots do not pay attention to robots.txt, can I block every one from accessing with .htaccess and only allow ip address that I want to let access the site. Will blocking everyone in .htaccess work or will someone still be ale to get through.
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #8  
Old 01-05-2014, 03:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,197
 

Default Re: How To Setup X-Payments On It's Own Domain

If you set IP restriction in htaccess only the IPs listed as allowed will be able to pass the restriction
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Duramax 6.6L (01-05-2014)
  #9  
Old 01-05-2014, 03:42 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: How To Setup X-Payments On It's Own Domain

There is an htaccess in x-payments by default.
Uncomment the IP of your server.
This is built into x-payments by default.

Code:
# Uncomment the lines below to allow access to the admin script # only from specific IP-addresses # (replace 192.168.10.32 below to your IP-addresses) # Uncomment the lines below to allow access to the api script # only from specific IP-addresses # (replace 192.168.10.32 below to your IP-addresses)

If you do this, there is no need to do a robots.txt because IP blocking will prevent anyone that is not you or your server from seeing the files.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote

The following user thanks carpeperdiem for this useful post:
Duramax 6.6L (01-05-2014)
  #10  
Old 01-08-2014, 08:01 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How To Setup X-Payments On It's Own Domain

OK what am I doing wrong.
#
# Uncomment the lines below to allow access to the admin script
# only from specific IP-addresses
# (replace 192.168.10.32 below to your IP-addresses)
#
<Files ~ "admin.php*">
Order deny,allow
Deny from all
Allow from myxxx.xx.xxx.xxx home ip address
</Files>

Admin log-in works fine.


#
# Uncomment the lines below to allow access to the api script
# only from specific IP-addresses
# (replace 192.168.10.32 below to your IP-addresses)
#
<Files ~ "api.php*">
Order deny,allow
Deny from all
Allow from xxx.xxx.xxx.xxx ip of store web address
</Files>

Now with this uncommented, the xpayments connector can not communicate with x-payments. If I comment the lines back out, the x-payments connector can communicate with xpayments fine.

The store and x-payments are on the same server but with different ip address and domain names.

Does anyone have any ideas on why this will not work.

Regards,

Frank
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:33 PM.

   

 
X-Cart forums © 2001-2020