Setting up Paypal donation - lost!


(Stuart W) #1

I am trying to set up a Paypal donation button on a page as per the manuals at http://manuals.matrix.squizsuite.net/e-commerce/examples/example-using-paypal-payment-gateway#Other-PayPal-Payment-Gateway-Setups. However, through a mixture of being dim and things not being where they say they are, I am lost and have a number of questions (in bold):

 

I have tried to work through the manual but have got lost at the first hurdle - downloading PPCrypto.php - I can't find that anywhere on Paypal's site or by following the links in the manuals or in the other post in this forum (http://forums.squizsuite.net/index.php?showtopic=8257).

 

So, where can I download it from please?

 

Once I have that, am I right in thinking that I need to upload it to the web server?

 

Do I need to follow the manual and do everything on http://manuals.matrix.squizsuite.net/e-commerce/chapters/paypal-payment-gateway, that is:

1. Set up a Paypal configuration

2. Set up a business account

3. Set up an IPN receiver

4. etc?

 

When setting up a Paypal Business Account asset, presumably to select 'Sandbox' in Paypal Account Type requires me to have a Paypal Sandbox account previously set up? (I only have details of the live site as yet - where can I set up a Sandbox account?)

 

Certificates? How do I create them using OpenSSL and where do I upload them?

 

Sorry for the very basic questions, but I am all at sea with all this - can anyone point me to an idiot's guide please?

 

Thanks for any help (no matter how basic!) anyone can provide,

 

Cheers

 

Stu


(Edison Wang) #2

If you just need a basic donate button, you can just create a button on Paypal's dashboard and copy the HTML code to Matrix's page.

 

https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/donation_buttons/


(Josh Sherwood) #3

PayPal changed their developer site a bit a little while ago, so I'll be sure to update the links on these docs.  
I've found the PayPal Payments Standard Toolkit at http://paypal.github.io/toolkits/ which contains that ppcrypto.php file. You would need to then upload that to your server and specify the path to the file when setting up the config settings.


(Stuart W) #4

Thanks for the replies, Edison and Josh.

 

In the end, I have gone with a simple single button as Edison suggested, as I have been only been asked to set up the one donation button as yet. As and when I am asked to develop more PayPal functionalities, I will investigate setting up the gateway as per the manuals. Great to know that it wasn't me being totally stupid with the links in the manuals, Josh, and that you will update them.

 

Thanks and best wishes,

 

Stu