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

Paypal Standard Payment - Multiple Sites IPN

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-14-2016, 09:34 AM
  GlasPak's Avatar 
GlasPak GlasPak is offline
 

eXpert
  
Join Date: May 2015
Posts: 241
 

Default Paypal Standard Payment - Multiple Sites IPN

Paypal doesn't support multiple websites for its IPN (1 url per account and they don't allow multiple paypal accounts).

I found this nice little script for a ipn broadcasters

http://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/

but the only thing I can't locate is where the paypal ipn.php reference is in X-cart to modify this script. Anyone have any experience in this?

The script is basic. You point the paypal IPN url to this broadcaster script (as a php file on your webserver) and define

Code:
/* List of IPN listener points */ $ipns = array( 'mystore' => 'http://mystore.com/ipn.php', 'myotherstore' => 'http://mybigstore.com/paypal_ipn.php', 'myotherandbetterstore' => 'http://slickstore.com/paypal/ipn.php' );


as your paypal ipn listeners and it will broadcast the ipn to all your stores so that whichever one is valid will receive it and complete the order.
__________________
Business License
https://glaspak.com
GoDaddy VPS - Apache with WHM
2GB ECC DDR3 1600MHz
2x Intel E5-2630L v2 Hex Core 2.4/2.8ghz
15 MB proc cache
60 GB 10k RPM hdd
PHP 7.0.15
MariaDB 10.1.21 with InnoDB engine
Reply With Quote
  #2  
Old 12-19-2016, 05:13 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Paypal Standard Payment - Multiple Sites IPN

Try this one:
http://[YOUR_DOMAIN]/?target=callback
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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 07:59 AM.

   

 
X-Cart forums © 2001-2020