I'm passing along variables to a paypal shopping cart(using the api and paypal payment standard). I can pass the shipping cost, but how, or is it possible to describe the shipping method on paypal form? I can't for the life of me find where or how this is done.
Example,
my widget.... $1
shipping and Handling....$12
What I'd like:
my widget.... $1
shipping and Handling....$12
(UPS Ground)
Thanks for any input
Not entirely sure that passing the shipping provider to PayPal is possible. You might be able to pass it as a separate variable or some type of custom variable. If you only have one shipping provider you might be able to do the following
Log into your PayPal account
Go to Profile > My Selling Tools
Underneath Shipping my items click the Update button aligned with 'Shipping Preferences'
Select your default shipping carrier and press Save
You can pass over the shipping description/provider. However the feature only works with Express Checkout and with Website Payments Standard (cart upload method). You would use this when using the Instant Update API. You can find more about this in developers guide, and there is a section here showing what variables you would need to pass over with your cart upload code.
Related
Is there a a paypal integration where the customer view's their cart and can click checkout and pay with paypal without filling out the shipping fields.
I want the quickest and slickest possible checkout without the customer filling out any fields what so ever and then requesting it from paypal using the API.
I was looking at the express checkout but it seems to need a shipping fields on our side.
There is so many paypal integration types and documentation that my head is starting to spin.
PayPal's One Touch is enabled on buyer's end, but something tells me you'd like the philosophy behind it :)
As far as integration is concerned, limit the fields using variables like no_note and no_shipping.
If you think cart, you may like this:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&add=1¤cy_code=USD&amount=1&item_name=item&business=youremail#here.com&no_shipping=1&no_note=1
Replace youremail#here.com with your email.
Variable reference [ here ].
This is probably a stupid question, I think I'm having a mental block.
I want to use Paypal's express checkout for buyers to make purchases with as few steps as possible (also using Paypal's optional account feature). The problem is: for me to direct the user to paypal, I will need to have calculated shipping costs, which depends on the country they're in. Obviously I cannot know this unless I have been told one way or another. What are common solutions to this problem?
Ideas:
Use their IP address. Not reliable - various types of proxies, VPNs, anonymizers etc.
Have the user select their country from a drop-down box before I redirect them to paypal
Force them to log in using Paypal's Identity service before calculating postage
Use 1. or 2. and once payment is received, if country is different to expected,
Refund buyer the difference in postage cost or request an additional payment. (Hardly ideal)
Similar to 4., instead of "Sale Payment Action for Express Checkout" Use 1. or 2. in conjunction with one of Paypal's delayed express checkout payment methods and if necessary reduce or increase the amount charged:
Authorization Payment Action for Express Checkout
Order Payment Action for Express Checkout
I'd like to know what solutions other developers have chosen - maybe I've missed an idea. As a consumer, I cannot remember seeing solutions to this.
The general way people do this is simply to use GetExpressCheckoutDetails to obtain the buyer's shipping address, apply any shipping/tax as necessary, and display a final review page on your site that the user would confirm before calling DoExpressCheckoutPayment.
If you want to eliminate the additional review page (PayPal's and then your own) you can use the Instant Update API.
In this case you would include an additional parameter on the URL when you redirect to PayPal (useraction=commit) and this will change the button on the PayPal review page to say Pay instead of Continue.
Also in your SEC request you'll include the CALLBACK parameter and include a URL to your callback listener. PayPal's review page will POST the buyer's shipping address to this callback URL so that you can receive the data, calculate shipping and tax accordingly, and send a response of those options back to the PayPal review page. This will populate the PayPal review page's drop down menu for the shipping option and the user can choose accordingly.
This method allows you to utilize the PayPal review page entirely and finalize the payment there so that the only thing the user sees once they're returned to your site (after you call DECP) is a final thank you / receipt page.
I have a few questions regarding using PayPal.
The first image is from an existing website, while the second is from a sandboxed Express Checkout test.
Differences between the two:
On the left side, there is an item description and quantity.
On the bottom right, notice it is Pay with my Credit Card instead of Create a PayPal account.
How do I achieve 1. and 2.? What APIs do I use?
Take note that my site has potentially many items for sale, and it is impossible for me to manually create buttons for each one.
Edited: Ok I just found the answer to 1.: https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECCustomizing/
For 2., the existing website actually prompts for details such as name, and address before redirecting to the PayPal site. When I click on "Pay with Credit Card", the details input earlier do show up on the PayPal form. I also notice the existing site can accept direct credit card payments, which seem to me it is using at least a Payment Pro solution. Is that why it can achieve 2.?
How do I achieve that? Do I use the AdaptiveAccount API to create an account on behalf of the user?
In order get the credit card section to display by default instead of the option to pay with a PayPal account, you need to pass over to additional variables in your SetExpressCheckout API call.
SOLUTIONTYPE=Sole
LANDINGPAGE-Billing
I am using PayPal IPN to process payments on my website. I would like the user to be able to enter a discount code and the value (amount or percentage) passed through to PayPal and calculated.
I have been looking around the web but can only seem to find the following:
Use discount_amount_cart to charge a single discount amount for the entire cart.
Use discount_amount_x to set a discount amount associated with item x
Use discount_rate_cart to charge a single discount percentage for the entire cart.
discount_rate_cart - Applies to entire cart however, this variable will only work with the "Upload" Method. Not the standard Add to Cart variables.
After testing these out in my request string:
...&discount_amount_cart=10&...
PayPal doesn't seem to recognise this discount. Does this actually exist any more in PayPal IPN?
thanks for your help!
Yes you can!!!
Here is a full list of Paypal Variables, and the associated documentation.
Ive just used discount_amount_cart myself!
https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HH0D0TA
No ! PayPal doesnt offer any discounts, you need to manually calculate discount in your application & send it to paypal. I have developed a Ruby on Rails application that calculates Billing information using Stripe & PayPal. By the way which language are you programming in ? So that i can help you more on how to go for it.
Is it possible to collect user billing detail after successful payment how?
You can collect any information you want at any time, but you might be slightly limited based on PayPal features you're using.
For example, if you're using a standard payment button you could setup a form for them to fill out on your return page after they've completed. There is no guarantee they'll even make it to this page, though, and even if they do they may choose not to fill out your form. As such, it's generally recommended to collect any necessary data prior to sending the user over to PayPal for payment.
That said, one of the benefits of using PayPal for buyers is that they don't have to fill in forms and don't have to share billing information with you, so you might actually lose sales if you do that.
PayPal will send you an address via IPN (or GetExpressCheckoutDetails, for example) but they only consider that a shipping address. If I'm working with a system that requires both a billing and a shipping I usually just use that same address for both.