How to create multiple payment options - html

I am looking to implement a donations form on a political party website, but rather than using the default single "Donation" button I would like to have a menu with multiple payment options, much like the form found here: https://www.oaklandgop.net/donate.
I can't seem to find this option on the PayPal's basic button creator, so I'm assuming this must be done with custom HTML? Sorry if this question has already been asked; I wasn't able to find any relevant answers on the forum.
Thanks,
Justin

You wont find an option like this for the basic button creator. If you are wanting to accept the credit card information on your site, you would have to use Pro. There wouldn't be a problem with collecting any of the other information as the form would be on your site so you could ask for what every infomration you want.
If you use standard, you can collect the information on your site and pass it over to PayPal during the payment flow. However if you are using standard, you would also need to redirect the buyer over to PayPal to enter in their credit card informatioin and make the payment.
You do have a few other options as well. For example you could use Express Checkout. With Express Checkout the buyer would have to enter in the credit card information on PayPal's page or log into their PayPal account to make a payment. However, you could set up the flow in the following way. The buyer selects the amount that they wish to make a payment for. You make the SetExpressCheckout API call and get your token back. You redirect the buyer over to PayPal where they enter in their credit card information or sign into their PayPal account and agree to the payment. They are then redirected back to your site, where they fill in the rest of the information, and then you execute the DoExpressCheckout API call to complete the payment. You could also collect the information up front as well.
There are also hosted pages you could use as well to do something similar to this as well, but if you are wanting the buyer to enter in the credit card information on your site and keep this all in one form, your best option would be to use pro.

Related

User specific information upon loin

I am looking to make a website whereby a user will be able to login and register. Once registered and logged in I would like for them to see a list of their own customers and carry out some functionally configured to the user (e.g send an SMS from their registered phone number).
I have seen plenty of tutorials on how to implement both login and register functionality. But I have no idea how to make the information shown be specific to each customer?
Can someone assist by pointing me in the right direction for something like this? Or even a template that may already have it done?
So fair I have been able to create a very basic site (localhost) that has a user login and registration form.
Sending SMS from website is done with paid services, you can search some of them.
User specific website is done for example by using PHP. For example you have form for registration and then save the data into a database. Next time the user comes, you offer him login form, if he logs in succesfuly, you now know who the user is and offer some content according to the user. For example (simplified) you will have a folder named "Peter" and in this folder you will have informations about Peters customers. And if Peter logs in, you offer him data from this folder.

PayPal Buy Now with SQL database update

How would I go about creating a Buy now paypal button for a website. And having a textbox where the buyer can enter some text and when they buy "as in the payment works instantly" have the string be added to a database?
Are you using a CMS? What language have you written your site in?
PayPal provide APIs for multiple language and code which can be generated for dynamic buttons. Have you looked through the developer documentation? First sign up for a developer account and assess the options that are available for you. PayPalAPI Overview
I think you want to achieve a "Sale" through PayPal rather than an Authorization -> Capture and store the unique PayPal reference to SQL against an order!
If you want to receive Paypal payments , you must deploy some code on you web-server .
API documentation is here :
https://developer.paypal.com/docs/api-basics/#
And very important you can test all your workflows with Paypal sandbox
https://developer.paypal.com/docs/classic/lifecycle/ug_sandbox/

Make web-page accessible only after the user completes an action

I am working on a project where users purchase a page of the site and are able to upload stuff to that page. At the moment, when the user pays using PayPal, they are taken straight to the upload page, which is good, however, this page is also accessible by anyone - even if they did not purchase the rights to it. Is there a way to 'protect' the upload page, to only allow proper purchasers to use it themselves? Some sort of system that would detect the PayPal payment and then redirect them to a temporary upload URL?
One way you could do this is to use Paypal's IPN (Instant Payment Notification) service. The IPN service triggers a notification when an event occurs that pertains to a transaction.
Paypal also has webhooks too.

Sage Pay Integration with a simple html form

I have a html form that works. I also have a sage pay account that works.
How would I go about simply posting the submissions from my form to my sage pay account?
I want it to work very much like a paypal pay now button works where the info and fields are posted to the sagepay account where the user will make a payment.
I have tried looking through the docs but my java/net knowledge is limited.
Which integration are you trying to use? SERVER/DIRECT/FORM?
FORM is like PayPal express, you get a redirection to Sage Pay, customer pays and returns to your site.
You can find code samples here http://www.sagepay.co.uk/support/find-an-integration-document/form-integration
Pablo.

PayPal Sandbox developer account ask me the enter Credit card information

I have paypal sandbox test account. I am trying it with HTML form. It displays a 'Buy Now' button on HTML page and after clicking on it redirects to PayPal site. Where it ask to login to buy product but after that it is asking me the credit card information. I think as it is sand-box account it shouldn't ask me credit card as it is for testing purpose. I am right? please correct me and advice.
Thank you
Where you set up your sandbox seller account you can also set up fake buyer accounts that you can use by logging in with or create fake credit cards with for testing. This lets you go through the whole process so you can test/develop your PDTsuccess and IPN success stuff if you want...
Here is how to make this buyer account
I have very little experience with Paypal, but I think that sandbox accounts should ask for credit card numbers. How else can you test whether you are getting the correct responses in case of a valid payment/failed payment?