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

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

Related

how to process one or more items in PayPal shopping cart

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

PayPal smart buttons, how to always open the credit card in a new tab?

I use PayPal smart buttons for integrating payments into a website, following this live demo
I have two problems with the "Debit or Credit Card" button:
It is not always working, when I click on it, the fields are expanding and shown on the same page (my server) and after entering all the info and click "Pay Now" I get message saying "Something went wrong, we will take you back to checkout so you can try again" when I click on "Try again" button a new tab opens for processing the credit card payment on PayPal server (now it will work).
this happens ~50% of the time.
It is related to the first one, the first view (when fields expanding on my site page) it lacks the address fields however they are shown after clicking "Try again" and go to the PayPal tab.
So my question is, can I unify the way that the credit card payment view is shown? Is there a parameter that I can pass while rendering the buttons that makes it always open in a new tab?
The message "Something went wrong, we will take you back to checkout so you can try again" will happen when there is a decline. As you are apparently testing payments yourself, you can expect many such intentional declines by PayPal. They aren't considered a technical or integration problem, but the system behaving as designed.
There is no way to make the black Debit or Credit Card button open a new window. You can disable it if you don't want it, but you can't make it behave differently.
When there is an error or decline using that Debit or Credit Card path, and you click "Try again", it is the same as using the top PayPal button. That is the fallback path.

paypal smart payment button display issue

I have created PayPal Smart Payment Buttons in my application. By default it is showing two buttons first button for PayPal login window, and second button for Debit or Credit Card window.
On clicking the second button the first button is not displaying. I can see the both buttons in chrome developer console. margin-top:59px property is added by the script.
Here you can try PayPal's interactive code demo.
How do I get rid of it? Is there a setting somewhere to show both when button click?
Why do you want to get rid of it? The second button is for entering a debit or credit cads and paying as a guest. Typically this is a much-desired feature, not something people want to get rid of.
When clicked, the top button is being moved out of the way to make good use of screen real estate, since the debit or credit card button does not open a window. It expands the iframe inside the container (which is actually rather amazing to those of us who've been in the payment industry for a long time.)
If you truly want to get rid of card processing, you can. The Smart Payment Buttons documentation has options for disabling funding sources. Basically add &disable-funding=card after your ClientID when invoking the SDK js:
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&disable-funding=card"></script>

Paypal continue shopping button on Cart Page

I have set up a simple web page with numerous add to cart buttons (all created in Paypal).
When you click the add to cart button you are directed to the Paypal cart. You can either check out or continue shopping which is fine.
Is there anyway to rename the 'continue shopping' button to something else. Continue shopping does not really fit with what my website is. I would like for it to be renamed 'Add another service'.
Alternatively is there a way to add the product to the cart without displaying the cart itself each time and then the user can continue to add products from the page they were on. Once completed they can click the view cart button and review the cart then.
Any help you be appreciated,
Graham

Add donation to PayPal shopping cart?

Can I add a Donate button as one of the multiple items for PayPal's Add To Cart option?
A quick Google search seems to indicate the answer is "no".
That is correct you can not have a Donate button as part of a Cart. However, you can have a donation item that can be added to your cart.
An example would be A Theatre Group's donation page. The Left button is a Donate button, the Right button leads to a page with 3 types of donations and optional membership levels which are submitted to PayPal as a Cart.
If you click the standard Donate Button on the left, you go straight to PayPal to make a $10 donation.
If you use the right button, fill in any of the fields an click update, the fields are validated and then you can click the PayPal button to send the cart information to PayPal.