<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Faldon Forums - 2026/2/5 PayPal bug]]></title>
	<link rel="self" href="https://www.faldon.org/feed/atom/topic/7782/"/>
	<updated>2026-02-08T00:14:27Z</updated>
	<generator>PunBB</generator>
	<id>https://www.faldon.org/topic/7782/</id>
		<entry>
			<title type="html"><![CDATA[Re: 2026/2/5 PayPal bug]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73970/#p73970"/>
			<content type="html"><![CDATA[<p>It turns out my fix was not complete. I dug into it more today. It&#039;s funny what the cause was.</p><p>So, when PayPal notifies you about payments, it sends a message to your server. You verify that it&#039;s a real notification by sending a request back to PayPal.</p><p>That request went to <a href="http://www.paypal.com" rel="nofollow">www.paypal.com</a>.</p><p>It turns out, PayPal now uses Content Delivery Networks for their website. They actually use two.</p><p>When verifying your payment, if I got Fastly, it responded with VERIFIED, which worked.</p><p>If I got Cloudflare, it uses chunked transfer encoding, it responded with VERIFIED(newline)0, which did not.</p><p>These days, PayPal samples use ipnpb.paypal.com instead of <a href="http://www.paypal.com" rel="nofollow">www.paypal.com</a>. This bypasses their Content Delivery Networks, and so that works. I&#039;ve changed my code to use ipnpb.paypal.com. Who knows how long ago they changed this, but they did keep the old address working, kind of.</p><p>I&#039;ve also changed my code to use cURL instead of doing a completely hand-written HTTP request. cURL supports chunked transfer encoding, so in the future this particular problem will not crop up again.</p><p>Definitely let me know if you still have problems. I expect it will work a lot better! Thank you for all your support over the years, and your patience dealing with this half-broken PayPal code <img src="https://www.faldon.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>God bless.</p><p>James</p>]]></content>
			<author>
				<name><![CDATA[James]]></name>
				<uri>https://www.faldon.org/user/2/</uri>
			</author>
			<updated>2026-02-08T00:14:27Z</updated>
			<id>https://www.faldon.org/post/73970/#p73970</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[2026/2/5 PayPal bug]]></title>
			<link rel="alternate" href="https://www.faldon.org/post/73968/#p73968"/>
			<content type="html"><![CDATA[<p>I found a minor bug in the code that receives payment notifications from PayPal.<br />We&#039;ll see if it will make any difference to the general unreliability there. <img src="https://www.faldon.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[James]]></name>
				<uri>https://www.faldon.org/user/2/</uri>
			</author>
			<updated>2026-02-05T19:18:55Z</updated>
			<id>https://www.faldon.org/post/73968/#p73968</id>
		</entry>
</feed>
