SMFHacks.com

SMF Classifieds => Support => Topic started by: spcx on April 03, 2012, 08:30:46 am

Title: IPN conflicts. Need multiple return URL for Paypal
Post by: spcx on April 03, 2012, 08:30:46 am
Hi I understand that SMF Classifieds uses the IPN which requires me to set up a return URL on my PayPal account but I'm also going to activate the SMF Paid Subscriptions function which also require a return URL. I think PayPal only allow me to set 1 return URL, what can I do to solve this?

Thanks
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: SMFHacks on April 03, 2012, 09:21:13 am
Just set it for one them. Classifieds will autoset the correct the ipn url when it is used.
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: spcx on April 03, 2012, 09:22:30 am
Which means I can use the Paid Subscription IPN on Paypal and it will not affect classifieds?
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: SMFHacks on April 03, 2012, 12:28:52 pm
Yes you can it is safe to do. When I first started out I was confused as well paypal doesn't really document it that well.
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: XHIBIT on July 16, 2012, 02:08:40 pm
I also own another website that already is using the Paypal IPN feature. However since they only allow one IPN are you suggesting that we temporarily add classifieds...then after its set then remove it and readd the original IPN for any other site and both sites would now be able to enable the IPN ?
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: SMFHacks on July 16, 2012, 02:11:34 pm
If you have multiple IPN's you do not need to setup anything in paypal. You just need IPN enabled in paypal for it to work. The script auto changes the paypal url when doing the transaction.
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: XHIBIT on July 16, 2012, 02:15:40 pm
OH OK...so I own SidelineJerseys.com which uses an IPN
So can I just take the existing IPN from my Paypal that is associated with Sideline Jerseys.com and add it the Classifieds IPN, then switch it back over to my sidelinejerseys account ?
I'm still lost on this
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: SMFHacks on July 16, 2012, 02:17:33 pm
No you do not have to change anything in paypal at all. Just install and use the classifieds and it should work fine.
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: XHIBIT on July 16, 2012, 05:08:58 pm
OK thanks I'll check it out
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: BSD2000 on August 21, 2013, 03:46:50 am
I realize this is an old thread, but I just wanted to make sure I understand how the PayPal IPN system works.

I bought the Community Suite and I use the download section, classified ads, ad seller pro - and I have the paid membership option turned on in SMF. I have one Paypal account setup with the classifiedsipn2.php IPN. From what I understand, no matter what section of the website a user makes a purchase from, your classifiedsipn2.php file will understand and re-direct the callback from PayPal to the appropriate section in SMF?

It still seems a mystery to me because SMF has to be notified when a transaction is complete and paid for (or not, if the payment doesn't go through), plus it has to process the requested action for the user (update a paid membership, process credit purchases for the Community Suite, etc.).

I'm a little confused how it works and I just want to make sure that all of the PayPal callbacks from the various mods (and from SMF itself) are handled correctly using a single IPN.

Thanks!
Title: Re: IPN conflicts. Need multiple return URL for Paypal
Post by: SMFHacks on August 21, 2013, 06:48:14 am
Paypal needs just one ipn url to be setup with IPN enabled in order for it to work.
All my mods override the paypal callback option in the code using a custom notify url in order to work correctly. This allows supporting of multiple paypal callbacks.