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 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.
By clicking 'Submit', you are giving your consent to having rjh-webdesign collect your name and email.
These details are used exclusively for the newsletter and will not be passed on to third parties!

As soon as I've added you to the mailing list, you'll receive a mail asking you to confirm your subscription.

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 to hear 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 158
  • Stacks Image 161
  • Stacks Image 164
  • Stacks Image 167
  • Stacks Image 170
  • Stacks Image 173

Looking for Inspiration?

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

The Latest & Greatest

Kalendar for RapidWeaver
Websites that display calendars have two core functions: They show upcoming events and they ...
Filter Grid for RapidWeaver
There are a couple of stacks available that will filter RapidWeaver content; some more, some less ...
Intrinsic: CSS Grids for RapidWeaver
The 'experts' currently agree unanimously that CSS Grids are the future of web design. In a couple ...
  • Do you have a question regarding RapidWeaver?

  • Would you like help with your new project?

  • Would you like us to build your new RapidWeaver website?

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.

Subscribe to the Ninja Newsletter

You've reached the bottom of the page, thanks for reading.

If you enjoyed what you read, you can subscribe to the Ninja Newsletter and receive a review summary once a month.

Thanks for your subscription

We shall send you a summary of the Ninja News reviews once a month.
We do not send out any other mails and we shall not, under any circumstances, share your email address with third parties.