how to process one or more items in PayPal shopping cart - paypal

I would like some recommendations about open source or other solutions for processing one or more items collected using PayPal's shopping cart button. Thanks.
At this point, I am researching, looking for possible solutions.
Logically, PayPal's "add to cart" and "view cart" buttons suggests I will be sending an array and they will be returning verifications for that array. If that is true, I can use Javascript to generate a page with the appropriate images and links to access the purchased items. I will focus on PayPal's articles about the shopping cart data.

Almost any ecommerce shopping cart ever made is compatible with PayPal Checkout, so you can essentially use anything that suits your other needs.
Start with searching the web or PayPal's Partner Directory

Related

Can I make "go to cart" not bring up a cart, until user hits "view cart"?

I'm using paypal cart itself, not outside party's. I have buttons working to put things into the cart. When pressed, the cart comes up in a new tab. (I set it to _blank for new tab instead of _self.) However, I don't want the cart to come up at all when they press "add to cart" button. I want them to stay on the page and add everything before going to the cart.
Any way to do this?
Thanks!!
PayPal's Website Payments Shopping Cart is designed to work one way. You add an item to the cart, the shopping cart screen is displayed, from there, you either continue shopping by returning to the web site or checkout. This behavior is by design and there are no features or options to change it. Depending your web browser, the shopping cart will open in the same window or a second window. There are tricks to change how it opens but you cannot stop it from opening each time.
If you go with a 3rd party shopping cart, most have their own built in features to control the cart behavior and you only see the PayPal Screens for the final check out. Also, note, most mini-carts are also designed to work that way.
More details, please refer solution as below link.
https://www.paypal-community.com/t5/How-to-use-PayPal-Archive/Add-to-Cart-button-without-automatically-opening-the-shopping/td-p/33300

How to create a PayPal encrypted button for custom shopping cart?

I cannot figure this out, and neither can the people on some developers forums I have posted to.
The link below has example code to upload the contents of a custom shopping cart to PayPal. It works great, but it comes with a caveat. On the page, right above the code sample, is this important message:
"Important: The example button code shown below is unencrypted for illustrative purposes only. In reality, you must always use encrypted or hosted buttons in your web pages to prevent malicious users from tampering with the code. See Securing Your PayPal Payments Standard Buttons for instructions."
So my questions is this: how to I create an encrypted or hosted button to do the upload. I have tried, but PayPal won't let me create a button unless I enter the price of the purchase. Duh! It is a shopping cart. The price is always different.
https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/cart_upload/
Please view this documentation for assistance.
This is the API reference for buttons
PayPal Button Manager API
This is documentation about securing the buttons that is also linked on the cart upload page.
Securing Your PayPal Payments Standard Buttons

Add same custom input fields to all Paypal 'add to cart' buttons

I have a list of items on my site that can be purchased, each with a generic Paypal 'Add to cart' button. What I need to be able to do is to collect info from eight additional fields - I've done this in the past on a page with just a single 'buy it now' button via on0/os0, but I don't want the customer to have to enter this extra information on every item they add to cart as it will be the same for every item on the order. Ideally the eight fields I need would be put on the Payment Page, but from what I've read Paypal don't allow this.
What would be the neatest way of doing this? If there was only one form on the page I can see how I could easily do it, but as each 'add to cart' button is a separate form I'm a bit stuck.
Thanks in advance!
You can build your own cart functionality and then use cart upload to transmit the result to PayPal for checkout.
(Or better yet, if you can write API calls, use the Express Checkout API -- with SOLUTIONTYPE=Sole in the initial SetExpressCheckout call if PayPal is your only method of taking payments)
Basically, you have to build this sort of custom cart functionality yourself. PayPal will gladly process the payment with the information you then send, and that is all.

Paypal Standard Payment Method - Shopping Cart

Sorry I am new. I was trying Paypal Shopping Cart function and i realize that in paypal sandbox cart it allows users to edit the quantity. How do i go about keeping track of these quantity, lets say in my website they keyed 2 for quantity but in the paypal shopping cart they changed it to 1.
Does it mean that it is not recommended to have own shopping cart and orders should be viewed at paypal website?
Many thanks!
Doomie
Implement cart upload. Then you can upload a list of multiple items the customer selected on your site and customers won't be able to change the quantity after reaching PayPal.

Disable item quantity and shopping cart in paypal

My site is going to use paypal to pay for items.
I only want one item to be able to be bought at a time, and only 1 quantity of that item.
I've been looking around in paypal's options and haven't found anything yet.
Is this possible?
Thanks
you could use cookies, sessions or database entries to track who's bought what then work from there.
If you are only wanting to sell one item at a time, you probably don't need shopping cart functionality - the 'Buy Now' button would be more suitable for this purpose as 'one item at a time' is default behavior. Additionally, if you are looking to enforce a 'one purchase per customer', then as Gtoxic mentioned - cookies would probably be the best bet with the limited info provided.