PayPal AB cloaking - I think I built the plugins

salu

Newbie
Joined
Mar 20, 2022
Messages
17
Reaction score
8
Hey, so I've a replica store running for months with no sales and once I got an order but customer asking for PayPal and I said no. Then I started looking for ways to get PayPal as payment method on my site without issues and I came up with AB cloaking on BHW only. Saw there're sellers already selling the script for outrageously high amounts ~$3k, I couldn't even afford $100 given my current situation so I decided to build my own since some good guys in replies explained how it works.

So here's how my current setup on WordPress (woocommerce) works or "The Workflow":

- User fills out checkout form, selects PayPal as payment method (custom script/plugin) and proceeds to pay.
- In backend the script sends order data to site B (low risk) then site B creates PayPal order in it's name (site B's data is known to PayPal as it calls paypal to generate checkout url).
- Site B gets the payment url and send that url to site A (high risk) and site A redirects user to PayPal for payment directly. Note that user never saw site B in the process and everything happened in the background.
- User pays/cancels whatever is the payment status the user is sent back to site A after payment, site B's existence is never revealed to the user (not even in the url bar).
- PayPal's API call log - request's application context shows return_url for successful payments and cancel_url for cancelled payments that has site B's (low risk) data (url) in it.

The coolest thing about this setup is it does hides Site A from PayPal (as it was made for) but also hides mediator (site B) from end user which is my opinion awesome since end users might get suspicious of unknown domains/url redirections.

Now, please let me know if I'm just hallucinating over this success by missing out anything that might be exposing site A. Or I've actually succeeded in this as I believe I've done it since API even logs doesn't shows site A existing!

If you guys want me share the working demo video of the plugins built with settings page in WordPress do let me know. Looking forward to your opinions over this. I Succeeded or not?
 
Doesn't site A get site B's referrer here?
I'm not quite sure on this referrer thing but I believe since API calls are happening in the background and site B directly shares the PayPal payment url through Post/Get methods I don't think there's any referrer thing involved at all. Also as I mentioned the url bar not even for a slight millisecond let's site B seen so if this ever involved refer than site B would've definitely appeared in the url bar. Hope this answers your question.
 
What do you sell in site A?
Yeah would be nice to watch a video
Thanks
 
Doesn't site A get site B's referrer here?
Thanks for pointing this out. In the process of clearing evidence of site A in PayPal's logs I completely forgot refer could be the case to focus on too. I now understood where I was lacking will take care of this. Thank you so much!
 
I'm not quite sure on this referrer thing but I believe since API calls are happening in the background and site B directly shares the PayPal payment url through Post/Get methods I don't think there's any referrer thing involved at all. Also as I mentioned the url bar not even for a slight millisecond let's site B seen so if this ever involved refer than site B would've definitely appeared in the url bar. Hope this answers your question.
Sounds like u pretty much got this nailed down. Any results yet?
 
Sounds like u pretty much got this nailed down. Any results yet?
I've things working, payment is successfully going through (tested in sandbox environment) but still not able to figure out the if the 'referral' is site A when redirecting. I'm trying to see via chromes networking tool to find out is the refer is happening but not seeing the trace of site A or I'm finding it the wrong way. I'm on this ever since you mentioned "refer". Would be great if you or anyone could give me some tip on how can I check who's the referral when redirection happens.
 
I've things working, payment is successfully going through (tested in sandbox environment) but still not able to figure out the if the 'referral' is site A when redirecting. I'm trying to see via chromes networking tool to find out is the refer is happening but not seeing the trace of site A or I'm finding it the wrong way. I'm on this ever since you mentioned "refer". Would be great if you or anyone could give me some tip on how can I check who's the referral when redirection happens.
Sounds like u pretty much got this nailed down. Any results yet?
Okay got the answer! the function used for redirecting (wp-redirect())not at all exposes the high risk site (Site A) to paypal not even as referrer. So yeah I've somehow nailed this down. Will most probably tomorrow post the demo video link for more closer look for someone who can help me see the points I might be missing.
 
Back
Top