Does Paypal Provide a Full API integration? - api

Is it possible to send all relevant details to including the paypal email and password to make a transaction in only 1 step?

From what I know, no you can't.
I have been playing with the api for the last week and here is what I've learned.
You can get the users information using PayPal Login API (use the token to process payments)
You can charge a credit seamlessly (without redirecting to paypal)
You can stored / delete / look up a credit card
You can obtain authorization for a payment (requires redirect to paypal site), then capture it later.
Complete Sale (redirect to paypal), confirm payment and complete sale

Related

how to deal with recurring payment

I am new to the paypal and intefrati it with asp. Net mvc.
Can anyone plz guide which api should be used...??
I have downloaded merchant sdk and I have also seen the documentation but still not able to get what can be used among express checkout, pro, adaptive payment, etc
Thanks in advance.
I would recommend Express Checkout with Recurring Payments. Specifically, that will consist of the following API calls:
SetExpressCheckout - To get a token back from PayPal, and then redirect the user to PayPal.
GetExpressCheckoutDetails - To obtain details about the buyer. This is optional depending on how you setup your SEC request
DoExpressCheckoutPayment - This would be used to finalize a regular (non-recurring) Express Checkout flow.
CreateRecurringPaymentsProfile - This would be used to generate the profile using the tok you got back from SEC.
If you want to setup recurring payments with credit cards directly on your site you'll need Payments Pro with Recurring Billing, and then you would use the PayFlow API to set everything up.

Confused as to which PayPal api to use for generic payments?

I'm building a small cart app in PHP which needs to have PayPal integrated into it for payments.
Checking the PP developer site you get 100 different APIs for every kind of job, however there is no clear answer as to which is the GENERIC API I should use to accept payments in the classic manner most webshops implement:
1. Client clicks pay
2. Redirected to PP site where he is asked to login.
3. After login he is presented with confirmation, he clicks OK.
4. Browser redirects back to my cart which presents user with a "Thank you" message, order code etc, while in the background a request is sent to my cart with the transaction credentials (transaction id, success status etc).
By the way, I'm not looking for Express Checkout since in this case PP provides the shipping info.
You could use the DoDirectPayment API to process payments. This will keep the buyer on your site, and they will enter in the information on your site. Then you will pass the details over to PayPal through an API call, and PayPal will then send the response back to you if the payment is approved.
If you are not wanting to use the DoDirectPayment API and are wanting to direct the buyer over to PayPal's pages to complete the payment but do not want to use Express Checkout, you could use PayPal Payments Adv/Payflow.
Express Checkout is what you want. Shipping info can be set on your end or Paypal end. It makes no difference.

Test Magento 1.6.2.0 Direct Post Authorize.net payment method with test credit cards

Has anyone tried testing the Authorize.net Direct Post Method with test credit cards using Magento 1.6.2.0?
I tried using the 4111111111111111 Visa test credit cards, switching the Authorize.net account from test mode:on and test mode:off.These transactions are captured on Authorize.net account but the checkout page in Magento does not redirect to Success page, instead i get an error message
An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card. This transaction has been approved. It is advisable for you to contact the merchant to verify that you will receive the product or service.
Could someone elaborate on how to test credit card transactions in Magento 1.6.2.0 using Direct Post Authorize.net payment method?
The Direct Post Method requires Authorize.net open a communication to your server (essentially, the customer sends information directly to Authorize.Net including the credit card number, expiration date, etc... as well as a URL that Authorize.Net uses to communicate to your server). Because of this, your test site will need to be publicly accessible (i.e. firewall open, with a domain name registered and pointed to the site).

Onsite Recurring Payments using Paypal Website Payments Pro API

I want to accept recurring payments on my site using paypal without having the user ever leave my site. Based on the paypal documentation it appears you have to send the user offsite to paypal (express checkout) first and then have them come back to your site.
Is their a different way of using the api so the user stays on site the entire time?
To Process payments not on PayPal's website, you need to use Website Payments Pro.
To use PayPal's recurring payment system, without programming your own:
Use Website Payments Pro Recurring Payments (direct payment recurring payments / DPRP)
Program your own recurring payment functionality:
Save cc info to a database and make DoDirectPayment API calls based on your criteria
Process an initial payment when someone signs up for your recurring service, save the transaction ID, and then call DoReferenceTransaction in the future (based on your criteria). Always use the newest transaction ID as they only last a year. Also, you need to call PayPal to apply for this feature ($0).

About paypal express checkout api

In this picture,there are 3 main steps:SetExpressCheckout,GetExpressCheckoutDetails and DoExpressCheckoutDetails,I'm now sure SetExpressCheckout is to be called by myself,what about GetExpressCheckoutDetails and DoExpressCheckoutDetails,is it called by paypal or by myself?
The api is provided to be called by non-paypal I think,but the problem is seems it's redirected to paypal after calling SetExpressCheckout.
(source: paypal.com)
Yes, you are expected to be the one calling these APIs. After you call SetExpressCheckout, you'll get a token back that represents the checkout you're performing. You'll need to use that token and redirect the user to Paypal to approve the payment. After they approve it, Paypal will redirect back to your site and then you can call GetExpressCheckoutDetails and/or DoExpressCheckoutPayment. The GetExpressCheckoutDetails call is useful for getting things like shipping address, etc, since the buyer can set that stuff as part of the approval flow. Once you have all the info you need, the buyer has approved the payment and you're ready to get paid, then call DoExpressCheckoutPayment to get your money.
See the ExpressCheckout docs for an example of a simple integration.