Cloudflare blocks requests from CCBill payment processor


#1

This mysterious problem appeared about a year ago.

I use CCBill payment processing services to process payments on my website. When user makes a payment CCBill send a post request to my server:
https://www.example.com/process-payment.php

It was working fine for a long time but then I started to receive support requests to from my users with the same problem “I just made a payment but there are no changes in my account”. I checked the database on my server and discovered that there are no payments for more than 12 hours. I checked my account @CCBill and there were payments.

I created a test account @CCBill and all tests were successful but my server didn’t receive any requests from CCBill.

I contacted CCBill and they responded that there are no problems at their side and everything is working fine.

I contacted Cloudflare and they responded that there are no problems at their side and everything is working fine.

Then I accessed my account @Cloudflare and created a subdomain: www2.example.com with status “DNS Only” and changed the URL @CCBill were they should send requests. I changed:

https://www.example.com/process-payment.php
to
http://www3.example.com/process-payment.php

so that CCBILL requests go directly to the server and not via Cloudflare. You know what? All lost payments started to appear in my server’s database.

I decided that it’s some bug somewhere and probably after some time the problem will disappear itself as it appeared. Today I changed back:

http://www3.example.com/process-payment.php
to
https://www.example.com/process-payment.php

The same problem. My server is not receiving requests from CCBill.

Can somedody help me to fix this problem because host www3 that I use to receive requests from CCBill shows the real IP address of my website. In one week I am moving to another server and I don’t want to expose the IP address anymore?

=========================

I have whitelisted CCBill’s IP addresses in Cliudflare’s firewall:

64.38.215.0/24
ccbill
All your websites
Whitelist

64.38.212.0/24
ccbill
All your websites
Whitelist

64.38.241.0/24
ccbill
All your websites
Whitelist

64.38.240.0/24
ccbill
All your websites
Whitelist

====================

Below are two requests from CCBill from this morning test (received to www2):

64.38.241.33 - - [08/May/2018:07:59:52 +0100] “POST /process-payment.php HTTP/1.1” 200 5 “-” “libwww-perl/5.833”
64.38.215.34 - - [08/May/2018:08:01:42 +0100] “POST /process-payment.php HTTP/1.1” 200 5 “-” “-”


#2

I know this comes up from time to time, but don’t recall any solutions. I’m heading out, but if nobody else replies, here’s this:
https://community.cloudflare.com/search?q=payment%20gateway


#3

This topic was automatically closed after 14 days. New replies are no longer allowed.