Paypal Chained Payment - Shipping Details - paypal

Is there anyway to prepopulate shipping details for Paypal or at least pull shipping info for a users paypal account so when the seller gets the payment they can access that info instead of having to email the buyer to get their shipping details?
Based on other suggestions I saw online, I tried adding this line, but the payment still comes through as SERVICES instead of GOODS.
primaryReceiver.paymentType = "GOODS";
Thanks for the input, I'm trying to streamline my checkout process so I only have to collect the buyer email instead of all their shipping details.

Make use of SetPaymentOptions and you can include a shipping address.
You'll call it right after the Pay call but before you redirect to PayPal so you can add additional details to the payment.

Related

Sage and PayPal shipping details

Does sage allow for the importing of PayPal shipping details once payments via PayPal are made?
So the customer clients physical address to ship the product to - not just simply the email address by which they paid with PayPal.
Sage does not belong to PayPal. Not sure the shipping details handling process in Sage. But if you want to keep customers' shipping address, variable 'no_shipping' should be set to '2' when you integrate PayPal Website Payment Standard. While the field 'NOSHIPPING' should be set to '2' if you integrate PayPal Express Checkout.
For the more details about shipping address, see the links below and search the key word 'no_shipping' and 'NOSHIPPING'.
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/
https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
To acquire the transaction details with shipping address information, PayPal IPN is available for you to use. See the link below for the more details.
https://developer.paypal.com/docs/classic/products/instant-payment-notification/

Shipping rates if the customer chnages address in Paypal web

I have question that if a customer changes the shipping address when he makes the payment in Paypal (Paypal IPN ,Paypal express) from the entered address(in our merchant website) , how can we do add the extra values or decrease the amount based on the new shipping address .
Thanks
Az
You could:
Implement the Instant Update API, or;
Obtain shipping data by calling GetExpressCheckoutDetails as described in this flow (#5).
Hth...

PayPal - billing address with BuyNow button

I am a bit lost in the PayPal world now, and can't beleive that just to obtain proper billing address, I can't use the super-simple BuyNow button thing anymore.
Is there any easy way to get billing address along with the minimal information that I get from PayPal? I have found the list of parameters I can pass in HTML Variables, but looks like billing info, like VAT number is not there.
Any ideas..?
One of the benefits of using PayPal for buyers is that they don't have to share billing info with all the different sellers they're buying from. As such, PayPal will provide a shipping address (when applicable) but not a billing address. If the address PayPal is returning for you isn't sufficient you'll have to build your own form to collect that info prior to sending the user to PayPal for payment.

No shipping info with adaptive payments

I have been able to get a PayPal adaptive payments payment to work with a simple payment call.
But I want to get shipping details.
I have tried setting action type to create, then using the payKey returned sending a SetPaymentOptions call setting RequireShippingAddressSelection = True, then using the returned url from the payment call as before but still no shipping info.
I have seen others with this problem but without an answer.
Thanks
I have the same problem and here's what I got from PayPal Tech Support.
It is not possible for you to supply a shipping address as part of an
Adaptive Payments transaction. However, you can request that the
customer selects a shipping address from the addresses existing on
their PayPal account when they checkout using the embedded flow.
Details of the embedded flow are available here:
https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/integration-guide/APIntro/
(Search for Embedded Payments)
If you think this is an option you would also be required to implement
another API call, SetPaymentOptions, which would be sent after the Pay
API request. Within the SetPaymentOptions API request you would add
the parameter requireShippingAddressSelection. Details of the
SetPaymentOptions API are located here:
https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/SetPaymentOptions_API_Operation/
If your application requires that you supply a custom shipping address
to PayPal at the time of payment then you will need to consider using
Express Checkout instead of Adaptive Payments.
Are you sure the shipping info isn't passing? I don't think it's anything you'll see during the checkout process, but it will show up in the transaction details of the payment in your PayPal account.
I spent hours researching this and it appears to be an API bug from 2011 (great job PayPal!).
Unfortunately, you have to request the shipping info from the user before redirecting them to PayPal.
Source link

How to reset the shipping address paypal while checkout?

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