PayPal API - Payments Pro Required To Process Billing Methods Directly? - php

It is my intention to integrate payment processing/subscription billing plans into a site using PHP and Javascript. I'd like to use PayPal to process credit/debit and PayPal charges. I read an article that said (Paraphrasing)
Normally you have to forward users to PayPal where they input their
billing information. PayPal Payments Pro allows you to process billing
info directly from your site.
I've also seen information to the contrary. This answer for instance. Also, the PayPal API docs don't say anything about needing Payments Pro to process a card directly from my site. Here you can see a card being processed without sending the user to PayPal under "Create billing agreement (credit card)."
I have a PayPal business account. I was able to generate a PayPal API Signature (API creds). Can I use the code shown in that quick start to process payment methods without applying for Payments Pro? I'm not talking about IPN. I know that anyone can use that.

Related

Which PayPal method can used to Make background payment process to transfer money to a PayPal email id in PHP

Which payment method of PayPal can be used to transfer money to a PayPal email id in background process in PHP Programming.??
Paypal is payment Gateway so It provides lots of features for payment integration. About your concern which kind of business logic you are using is all upto you. But I can give some Examples.
1) For Those whose business is very small and don't want to dig his/her head in more complex SDK involvement.
Use : paypal Standard
2) For those whose want same feature as standard but not wanting to display parameter's and all the developer stuffs.
Use :Paypal Express
3) For those whose wants to merchant functionality with advanced features such like credit/dabit, bank transfer and all stuff
Use : Paypal PRO
4) For paypal email transfer
Use: paypal Payout

how to use paypal payments pro with users Paypal details

I am developing a payment integration using paypal payments pro using PHP/cURL. The user requires that as well as being able to pay by credit card (which I have implemented and it works by posting the following list of fields: "PARTNER=PayPalUK&VENDOR=HGGQ357J8T&USER=GLD7VF48TH&PWD=D84YDSPXFRA6HK54&TENDER=$tender&TRXTYPE=S&CURRENCYCODE=GPB&AMT=$AMT&CREDITCARDTYPE=$card_type&NAMEONCARD=$name_on_card&ACCT=$card_number&CVV2=$csc&EXPDATE=$expiryDate&ISSUENUMBER=$ISSUENUMBER&COMMENT1=$name_on_card&BILLTOFIRSTNAME=$name_on_card&SECURETOKEN=$SECURETOKEN&SECURETOKENID=$SECURETOKENID") he needs to allow users to be able to pay by entering their paypal login details instead of their card details) I have searched the developers documentation and the only piece of information I can find is that the tender parameter needs to be set to "P". Is the documentation available anywhere? I Assume their must be required fields for users paypal details but what are they called?
What you are using now is called Payments Pro. What are you looking for to enable PayPal payments is Express Checkout.
This PayPal PHP SDK will make the Express Checkout API calls very quick and easy for you.
The calls you'll be working with are SetExpressCheckout, GetExpressCheckoutDetails, DoExpressCheckoutPayment. The SDK includes functional samples for each of those as well as empty templates as good starter files.
You can just open those up and fill in your own values to all of the parameters that are setup for you and it'll handle the rest.

Sending & Accepting PayPal Payments through my PHP Website

I have my PHP Website where two different Category of users includes: Customers and Performers signed up. Now through my Website customers wants to pay via PayPal to Performers, Is there a way in PayPal to achieve this?
I have saved Performer's PayPal Email in my database, so I just want it work like PayPal payment buttons but with my own PayPal email and with my own Amount of money.
Ideas apart from PayPal are also warmly welcome.
how about braintree. It support normal credit card payment gatemway and also paypal implementation
I think it is better to have normal credit card payment gateway and then implement paypal after that, cause I think all paypal user has credit card and not all credit card user has paypal.
Use this link for your reference to implement normal payment gateway, it should be very easy as they also provide sample code
https://developers.braintreepayments.com/javascript+php/start/overview
And you can continue to implement paypal after that using this link for reference
https://developers.braintreepayments.com/javascript+php/guides/paypal

PayPal checkout solution confusion

I am trying to figure out exactly what payment solution to use for my site.
I would like to do the same thing as Spotify (https://www.spotify.com/us/freetrial/ - You'll need to login to see it), allowing users to choose whether they want to pay with PayPal or use a credit card and then taking them to a payment selection screen (on PayPal), then returning them to my site to click confirm and buy.
I am already paying for recurring payments (even though I've yet to use it) and am unsure if that is applicable here. I have also integrated express checkout but I don't know if it will allow recurring payments.
EDIT: Do I need a separate token for recurring payments? Do I have to use the old recurring payments checkout screen? How can this be done as efficiently as possible, like Spotify? Here are my efforts to create a recurring payments profile after express checkout: http://pastie.org/private/sakzopltnwfv93wwmduqq
Diagram:
Select Buy & PayPal (subscription) --> Choose Payment (on PayPal) --> confirm & pay (my site)
This is what spotify's checkout looks like (It wouldn't say update for first time users):
Are they using recurring payments + express checkout? I would really appreciate some help with this.
Yes, you can get this done with Express Checkout + Recurring Payments. That said, if the person chooses credit card when setting up a recurring payment they will have to create a PayPal account. If they're paying a non-recurring checkout then they could use the credit card option without creating a PayPal account.
You mentioned that you're already paying for recurring payments..?? Are you referring to Payments Pro? If so, you don't need to pay for that to use EC + RP. Pro is only necessary if you want to process credit cards directly on your site without ever redirecting to PayPal. This can sometimes make things seem a little more professional and would also give you the ability to let people setup recurring payments without creating a PayPal account when using a credit card.
When using EC you just need to make sure to include the billing agreement parameters in order to get a token back that will work within CreateRecurringPaymentsProfile. Refer to the SetExpressCheckout API reference for more details on that.
This is kind of old now, but is still useful. Take a look at this sample express checkout set of api calls. You'll notice it uses the same token throughout all of the calls.
Just like Spotify -you would need to build that option on your site. If the user chooses to subscribe with a credit card - use the recurring payments w/ direct credit card (see below). If the user chooses to subscribe with a PayPal account - use the recurring payments w/ PayPal Account (this is what Andrew is suggesting above in his response).
Here are the how-to guides:
For direct credit card subscriptions: https://www.x.com/developers/paypal/documentation-tools/paypal-payments-pro/how-set-recurring-payments-profile-using-direct-payment
For PayPal Account subscriptions: https://www.x.com/developers/paypal/documentation-tools/express-checkout/how-to/ht_ec-recurringPaymentProfile-curl-etc
The APIs would allow you to do things like trial periods, setup fee, etc. For example here is a how to on building a freemium kind of model: https://www.x.com/developers/paypal/documentation-tools/express-checkout/how-to/ht_ec-freeTrialRecurringPayments-curl-etc

PayPal Sandbox | Express checkout allow credit card payments

First of all a want to mention that I am very new in PayPal at all.
I have create a plugin for WordPress, that is useful for booking a taxi for a trip. The plugin, it has it's own cart, that allowing the client to add several services in the cart and then to check out via PayPal.
As I mentioned earlier I am new, to PayPal, so I have download the PHP SDK provided by the PayPal, and I have complete the first step of the payment process. I have got the Token, and then redirect my client to PayPal web site to perform the payment.
The problem is that, in PayPal web site I have only the options "Have a PayPal account?" and "Create a PayPal account". What I like to ask, is how can I use the credit card payment instead of the "Create a PayPal account" ? Is there any way ?
Any idea please ?
You may want to try using Stripe. http://www.stripe.com/ super-easy, and has excellent documentation. I have used it alongside Paypal express checkout.
Paypal now required paypal account to get payment when you use express checkout api, to get payment from paypal use credit card reference api or any other api suit your need from paypal

Categories