I’m building a site where users pay online for an event with PayPal BuyNow or Shopping cart buttons (to be decided).The buttons are dynamic buttons.
I would like to use either PayPal Hosted buttons overriding the item_number on the site, OR create dynamic encrypted buttons on the site. Whichever one will be faster to implement and where I can find a good PHP example.
For PayPal hosted overriding the item_number, I haven’t been able to find a good PHP example overriding a PayPal hosted button. If you know where I can find a good PHP code example overriding a PayPal hosted butto, please let me know. I have looked before posting.
For dynamic encrypted buttons, I found a site Stellar Web Solutions on how to create PayPal encrypted buttons using openSS stellarwebsolutions.com/en/articles/paypal.php. Since I’m on a shared server, I don’t have command line access. They also have a Wizard to create a certificate. Is this a well known, safe site?
Since there are no products, fraud seems unlikely. Do I really need to use encrypted buttons?
Also, for IPN do I need an SSL?
Thank You for reading this post. Your insights and help will be VERY greatly appreciated.
For PayPal hosted overriding the item_number, I haven’t been able to find a good PHP example overriding a PayPal hosted button. If you know where I can find a good PHP code example overriding a PayPal hosted butto, please let me know. I have looked before posting.
Paypal buttons are just an HTML form with a bunch of hidden inputs set up. In PHP it’s as simple as something like this:
Also as an FYI, the item_name field is solely for your use and not something Paypal cares about so this may be unnecessary unless you need it for internal reporting.
For dynamic encrypted buttons, I found a site Stellar Web Solutions on how to create PayPal encrypted buttons using openSS stellarwebsolutions.com/en/articles/paypal.php. Since I’m on a shared server, I don’t have command line access. They also have a Wizard to create a certificate. Is this a well known, safe site?
Get off your shared server if at all possible. Virtual private servers cost as little as $5/month nowadays and you can run whatever you want on one.
Also, for IPN do I need an SSL?
Not in order to receive IPN notifications, but I recommend SSL for lots of other reasons (privacy, etc) if you can afford it.