I'm integrating PayPal into my web application. Here I want to make complete checkout process.It has direct payment and express checkout.
In Express checkout we need only PayPal account like
1)Clicking Check out with PayPal
2) Logs into PayPal to authenticate
3)Reviews the transaction on PayPal
4)Confirms the order and pays from your site
5)Receives an order confirmation
In Direct checkout(A generic checkout flow),
1)Checks out from the shopping cart page
2)Provides shipping information
3)Chooses a payment option and provides
4)billing and payment information
5)Reviews the order and pays
6)Receives an order confirmation
This the flow. In Direct checkout when you choose payment option as PayPal(step 3) you need to login and make payment. Any way there is one default shipping address available in PayPal account and also you must give shipping address in step 2.
Now I want to send the complete cart details and shipping address to PayPal?
and I want make the direct checkout(A generic checkout flow) here? Can any one help me to do this?
Use Express Checkout and DoDirectPayment (Website Payments Pro). Express Checkout gives you the redirect-to-PayPal-and-login functionality, whereas DoDirectPayment allows you to take card payments directly on your site.
In addition, you can override the PayPal Profile shipping address of the buyer by specifying ADDROVERRIDE=1 in the SetExpressCheckout API call. Remember you'll need to pass in the appropriate shipping address details information as well.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetExpressCheckout
Related
I'm using PayPal Checkout, which isn't well-documented but doesn't support automatically adding shipping costs in the account dashboard as far as I can tell. I need to charge users different amounts for shipping depending on their location, which I don't receive from PayPal until the user authorizes a payment. Without re-authorizing, how can I charge an additional fee for shipping? I saw this behavior implemented on this site recently while making a purchase – I authorized a payment using what appears to be PayPal Checkout, after which I was able to select a shipping method (some of which cost up to $30 extra) and it seemed I was able to complete my payment without reauthorizing.
I haven't found anything in the PayPal Checkout documentation or by inspecting the object passed into onAuthorize that seems to expose this functionality. I did find a PATCH /payments/payment/{id} endpoint in the docs for the Payments API, but I have no idea how to access this from the PayPal Checkout flow on my website, nor whether my site is considered a "Third Party Provider in the context of PSD2 regulation."
How can I add a shipping cost to a payment after authorization using PayPal Checkout?
You can find more required info here :https://developer.paypal.com/docs/checkout/integration-features/shipping-callback
paypal.Buttons({
onShippingChange: function(data, actions) {
console(data);
}
}).render('#paypal-button-container');
I'm using the PayPal express checkout in a mobile website. When a user uses the credit card payment and has entered the credit card information, the billing info page is opened. On this page there is a form: "Create a Personal Account (required)". Why is the PayPal signup required with a credit card payment?
It's important to remember that guest checkout is not guaranteed for every transaction. PayPal runs a risk check to determine eligibility for guest checkout. There will be times when guest checkout is not available. This is intended. Here are a few things to make sure guest checkout is offered as often as possible.
Verified PayPal account
Confirmed email address
Guest Checkout enabled
With Express Checkout your cart must pass "SOLUTIONTYPE=Sole"
If all of these are met and it's not available then our system has decided to disable the guest checkout option for risk reasons. This is not a permanent decision and it will be available in the future.
Express Checkout was never intended to function as a sole solution for merchants. It was meant specifically to process PayPal payments.
I have setup the express checkout process integration in asp.net mvc. When user is redirected to paypal website after submission, there is only option to login using paypal or sign up new account. There is no option to pay using credit card ?
Am i using right API for this?
By default Express Checkout is for PayPal accountholder payments; originally you would pair this with some other product for credit card payments (such as collecting the card information on your site and calling PayPal DirectPay or some other card processing partner).
PayPal also has several somewhat-similar products that collect the card information on their site (so you don't have to) and do that as well as accountholder payments; these vary in whether they end up giving you access to the credit card information (more flexible, but means you have to safely handle the card information and meet industry regulations, including vetting) or you do not ever see the card, just the money (simpler). This is often called some form of "guest checkout."
And eventually PayPal did add a guest checkout option to Express Checkout called "Account Optional." So you can use Express Checkout and get a guest checkout experience. See this link:
PayPal: express checkout pay without account
So in short you can get this from EC if you configure things for it, although some other PayPal products might be a better fit depending upon your particular requirements.
i am creating a small marketplace where sellers can sell their products and receive payments to their PayPal account directly from the buyer.
i've previously been using "website payments standard" but am looking to switch to the express checkout API to generate a one-time payment token each time someone purchases something and which then allows buyer#email.com to send a payment directly to seller#email.com without the involvement of my PayPal account.
is that possible?
i've only found one option in the documentation at https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/ called "PAYMENTREQUEST_n_SELLERPAYPALACCOUNTID", but is that the correct way to send the entire payment from the buyer to the seller without any amount going to me?
also, do i NEED to have my own "USER" and "PWD" to generate an API token each time if I am receiving no payment mysefl?
Think you are looking for Adaptive payments.
Adaptive payments handles payments between a sender of a payment and one or more receivers of the payment. You are an application owner, such as a merchant that owns a website, the owner of a widget on a social networking site, the provider of a payment application on mobile phones, and so on. Your application is the caller of Adaptive Payments API operations.
So, in general if you want to act as API caller and to felicitate the money transfer between buyer and seller, Adaptive payment is the way to go.
Steps to go live with Adaptive Payments
Is it possible to pass the customer's billing address when using PayPal Adaptive's Chained Payments? Currently users enter their shipping and billing address on my marketplace store, and then have to enter their name, email address, billing address all over again on the PayPal checkout page if they are using PayPal's guest checkout option (pay with debit/credit card). Ideally I'd like to somehow pass this through when they move from my checkout to the PayPal payment screen, which is done via Parallel Payment using Adaptive Payments (Classic API).
Paypal have an option to pass variables to their pages.
Could this be what you are looking for?
https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HI0J0VU
Alternatively, please check here, this is specific for Adaptive and has payer details:
https://developer.paypal.com/docs/classic/api/adaptive-payments/PaymentDetails_API_Operation/