<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Paypal integration, help needed.</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 13:09:38 -0000</pubDate>

		<item>
			<title>lukgoh</title>
			<description><![CDATA[<p>Hey guys,</p>

<p>I'm writing a custom module and I'm trying to intergrate Paypal or include a listener for the Paypal IPN system. I got a bit lost trying to work out how this was done before in other plugins, for example the donations plugin. So I went looking at the original source code from the Paypal developers site, I have followed all the instructions but it wouldn't work. After some testing I have realised that the line:</p>

<pre class="brush:php;">
defined('COT_CODE') or die('Wrong URL.');</pre>

<p>Blocks any IPNs being recieved by the listener, however if you remove this line it stops any of Cotonti's functions working. Is there a way around this or am I simply doing something wrong? Here is the code for my listener: <a href="http://pastebin.com/KxH1BMF0" rel="nofollow">http://pastebin.com/KxH1BMF0</a></p>

<p>Thanks, </p>

<p>Luke.</p>

<p> </p>
<p><strong>Added 6 hours later:</strong></p><p>Nevermind, problem solved. You can delete this topic.</p>
]]></description>
			<pubDate>Mon, 28 Oct 2013 17:51:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=7567&d=0#post38252]]></link>
		</item>
	</channel>
</rss>