Add additional charge to PayPal payment button - api

We have attached a PayPal $4 button in our web application. Now we are planning to add addition charge based on location. So What is the best possibility of add the additional charge to the PayPal check out ? Can I add additional charge to fixed PayPal payment button ?

The answer depends on the type of PayPal button/integration you are using.
If it is a PayPal button rendered using the JS SDK, then you can add an onShippingChange function that calculates a new total based on the selected address.
If it is one of the old "Buy Now" or "Add to Cart" HTML form yellow pill buttons, you can create a shipping profile in the PayPal account.
For other integration types, the web system/cart software communicating with PayPal will need to calculate and change the total after the address is determined.

Related

Integrating Payment gateways in sales funnel Vue js

I want to add upsells to my web application after checkout page. I'm using Vue js and PayPal is my payment integration that I'm using. I want to be able add yes or no button to upsell page and they are able to purchase using one click or deny to make purchase. At each step if they click yes it will be added to their purchase. And at the end they will see their items that they have purchased. How do I implement that in web app? Or any information that would be very helpful.
Thank you in advance!

Eliminate online sale and add WhatsApp Direct | PrestaShop

I am new to Prestashop and I am using it to create a business website.
Basically I am using Prestashop to show only the products and not make any online sales.
Because of this, I don't need visitors to log in, create accounts, bookmark, or add to cart. (Picture 1)
I just need you to take them to WhatsApp instead of buying, consulting specifically for that product. (Picture 2)
How can I remove the Create Account, Login, "My Account" and "My Cart" functions?
Besides this, how could I change the PrestaShop logo in the administrator login and in the panel?
Note: I am from Argentina, and I am using Google translator haha.
You can change logo from from Design > Themes & Logo tab
For making things like you explain
You can switch PrestaShop into catalog mode and keep display prices enabled
Shop Parameters > Product Settings

How to display shopify secure logo on product pages?

I am running my e-Commerce website on Shopify. I would like to add a Shopify Secured image next in order to increase customer's trust on the page.
Similar to this karambit fade product page design
The Shopify Secured appears right below the "add to cart" button, next to the visa mastercard etc. symbols.
I want to know if there's a built in feature to toggle this, or maybe you need to edit the liquid template?
Or is there any Shopify app available for that?
You'll need to edit the product-template.liquid file (assuming you have a newer theme) and add this in where you want the badge to appear:
<img src="//cdn.shopify.com/s/images/badges/shopify-secure-badge-light-shadow.png" alt="Shopify secure badge" />
Shopify has a tutorial you can follow here: https://help.shopify.com/themes/customization/store/add-security-badge

How to implement "Add To Cart" button in bigcommerce

i am setting up my store on bigcommerce, i want to implement add to cart button on my custom home page can anyone tell me how can i add "Add to cart button" on three blocks below slider(In celebrate, bags, weddings section)? This is my store link http://eveningbags1.mybigcommerce.com/
Usually the best way to make an add to cart button on other pages or from other websites is to take the link the Bigcommerce uses for Category/Brand/Search pages. Works like this
site.com/cart.php?action=add&product_id={product_id}
To add a specific option/sku/variation to the cart, use this format
site.com/cart.php?action=add&sku={sku}
Thanks to #Alyss for the sku info

How to pre-fill select shipping method dropdown on step2 of shopify checkout page?

I guess the title pretty much explains what I want to do.
The thing is we have to provide some options based on the shipping method, so we developed a custom app for that,and provided the options on the checkout page.(Screenshot below)
Now when the user clicks on checkout and goes to the Shopify checkout page, he has to select the shipping method again on step 2 of the checkout page.
So is there a way to prefill the selected shipping method based on the selection made by user??
You cannot program checkout with your own code. So the short answer is probably not.
I ran into this exact issue. Our shop offers free local delivery, or FedEx shipping. If the user selects FedEx shipping on the cart page, "free local delivery" was selected by default on the Shopify checkout page.
I worked around this by creating a bogus product in Shopify called "free delivery". I then used the Shopify cart API to add this item to the user's cart if the user selected local delivery. I set the weight on the "free delivery" product to 1000 lbs. I then set up the "free local delivery" shipping method to be valid for 1000 - 9999 lbs. Regular FedEx delivery is valid for orders up to 999 lbs.
It's a gross hack, but seems to work. The user is still presented with the shipping method drop down on checkout, but only the correct option is available based on the delivery method chosen on the cart page.
Shopify Ajax API (for adding item to cart):
http://docs.shopify.com/support/your-website/themes/can-i-use-ajax-api
Note: I also had to go through some javascript contortions to add a new "updates[]" form field to the cart page when adding the bogus free shipping item to the cart. Without this field, Shopify complained of receiving the wrong number of quantity updates when submitting the cart form.