web counter
Prevent your PayPal Download Page from being Hijacked
My Image

All the latest RapidWeaver Stacks reviewed,
plus the most important community news …

Stay up to date with current RapidWeaver developments

Prevent your PayPal Download Page from being Hijacked

If you sell downloadable products via PayPal, you may – like me – have wondered how to protect your download page from being hijacked. I.E. someone browsing your site accidentally discovers your download page and passes the link on to colleagues and friends. PayPal Stack from Bryn Owen Design will help you solve this problem by redirecting your customer to hidden stacks on your download page.

Paypal Stack is not your typical Paypal Button stack. In fact it does not add a Paypal button to your page at all, instead it adds either a hidden download link or a failure message.
PayPal Stack requires that you set up your Paypal Merchant Page with a few options that you probably haven't activated yet. First, you will need to activate Payment Data Transfer (PDT), after which you need to copy the ID Token into Paypal Stack. On the PayPal setup page, you will also need to activate Automatic Return and add the URL of your success/failure page. Detailed instructions are supplied on Bryn's page.

Once you've set up your purchase page, you can add the button code supplied by PayPal to an HTML stack.
Now add the new success/failure page that includes the PayPal Stack.
First add your Item ID to the Paypal Stack settings panel under Match Item ID. You can add up to four items.

There is an option to Check Name/Email/Payment to prevent falsified payments.
The next option is PayPal Hostname. This may be altered for test purposes, but should be set to Paypal.com before publishing your page.
Finally there is an option to add Debug Information to the transaction details that PayPal returns after a purchase.

PayPal Stack
The Paypal Stack itself has two containers. The upper container is labeled If Purchase Valid and you may drop your Payment Confirmed message (required by PayPal) and your download link or your download stacks (E.G FileSafe, or TrueDownload) here. The stacks contained here will only be displayed once a payment is confirmed and your buyer is returned to your page via PayPal.

The lower container is labeled Else and the stacks contained here will only be displayed if your customer cancels his payment on the Paypal page, or someone arrives on your page by accident. Something like a text stack with "Oops! You changed your mind, or an error occurred.", for instance.

Paypal Stack automatically changes your page extension to .php, so if you already had the download page online, you'll need to delete the .html file. A small price to pay for
not having a page that will allow your visitors to see a download link when they find the page by accident. I'd have purchased this stack years ago – had it been available.

blog comments powered by Disqus

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

Subscribe to Ninja News
or ask a question

Hi, I’m the Ninja Bot. What’s your name?
Nice to meet you, [1-1]. Could you tell me your mail address?
[1-1], would you like to subscribe to the monthly Ninja Newsletter?

Yes, I would like to receive your monthly newsletter.

No thanks, I’m good for now. I have a different issue.

Thanks for your support, [1-1]. Is there anything else I can do for you?

[1-1], thanks for subscribing. If you made a further request, I’ll get back to you – typically within 24 hrs.

Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I would like to subscribe to the Ninja Newsletter


I’m sorry tohear that, [1-1]. How may I help you then today?

[1-1], thanks for contacting me. I’ll review your mail, and get back to you – typically within 24 hrs.

Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I don’t want to subscribe to the Ninja Newsletter right now.



Thanks again for contacting us. Your request was successfully submitted.

  • Stacks Image 76789
  • Stacks Image 76774
  • Stacks Image 76776
  • Stacks Image 76783
  • Stacks Image 76791
  • Stacks Image 76787

Looking for Inspiration?

Looking for Inspiration for a new site, or need a CTA
really quickly?

Contact Information

rjh logo

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.


This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—17

Powered by rjh-design

This website was built with loving care on a Mac using Foundation. For more information, contact me.

Don’t miss a post!

Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

View previous campaigns.

Subscribe to the Ninja Newsletter

* indicates required