Page 1 of 1

paypal shopping cart and Discount

Posted: Sun May 05, 2024 2:34 pm
by Paul
How to add a discount with PayPal ?

THANKS

Re: paypal shopping cart and Discount

Posted: Sun May 05, 2024 3:22 pm
by BaconFries
See the following url and image
PayPal Shopping Cart
Image

Re: paypal shopping cart and Discount

Posted: Sun May 05, 2024 4:47 pm
by Paul
Where to add the discount amount on a product ?

Thanks

Re: paypal shopping cart and Discount

Posted: Sun May 05, 2024 5:13 pm
by Pablo
You can set the discount in the PayPal properties.

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 6:41 am
by zinc
Pablo wrote: Sun May 05, 2024 5:13 pm You can set the discount in the PayPal properties.
Sorry to hijack this thread Pablo - Where exactly do you set the discount? I cannot see this option.

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 9:46 am
by Pablo
You can add a discount and other additional PayPal options via "Extra Variables".

Image

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 10:40 am
by zinc
Thank you for this - So how would the customer use this? Would they automatically get 10% off or can they enter a code at the checkout to deduct the 10%?

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 11:24 am
by Pablo
In this case, the discount value will be subtracted from the total price.

Note that this is standard PayPal functionality, not specific to WWB.

More options:
https://developer.paypal.com/api/nvp-so ... variables/

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 12:07 pm
by zinc
Pablo wrote: Tue May 07, 2024 11:24 am In this case, the discount value will be subtracted from the total price.

Note that this is standard PayPal functionality, not specific to WWB.

More options:
https://developer.paypal.com/api/nvp-so ... variables/
In that case I will post in suggestions for a Discount code feature.

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 12:19 pm
by Pablo
Note that I can only add option that are supported by PayPal.
You can already use all of the supported options.

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 12:32 pm
by zinc
Pablo wrote: Tue May 07, 2024 12:19 pm Note that I can only add option that are supported by PayPal.
You can already use all of the supported options.
I am aware of this - PayPal does not need to deal with discounts - as WWB will and will send the final figure to PayPal to charge the customer. (This is how [RZ]'s worked).

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 4:00 pm
by BaconFries
Just want to quip in on this. I think it can (or could) be done with javascript. At onetime in a webpage (galaxy) site (far far away) the owner gave very helpful PayPal code (javascript) to do this. The site wasn't a coding or design help it was just something the owner done on the side. I did try using the web archive to find it but I get told the archive is not secure. I do have a reference to the PayPal community that shows an example using javascript can't say it is valid anymore as it is old.
Anyway here is the PayPal link.
https://www.paypal-community.com/t5/Arc ... d-p/632572

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 4:33 pm
by zinc
BaconFries wrote: Tue May 07, 2024 4:00 pm Just want to quip in on this. I think it can (or could) be done with javascript. At onetime in a webpage (galaxy) site (far far away) the owner gave very helpful PayPal code (javascript) to do this. The site wasn't a coding or design help it was just something the owner done on the side. I did try using the web archive to find it but I get told the archive is not secure. I do have a reference to the PayPal community that shows an example using javascript can't say it is valid anymore as it is old.
Anyway here is the PayPal link.
https://www.paypal-community.com/t5/Arc ... d-p/632572
Interesting BF - However this does not need to be connected to PayPal imho - It can be setup like what Pablo currently has with Extra Variables - It would look like this:

Image

Re: paypal shopping cart and Discount

Posted: Tue May 07, 2024 11:13 pm
by Paul
Hi,

I use card with onclick events with action ecommerce. Suggestion add a discount field in action ecommerce

Thanks

Re: paypal shopping cart and Discount

Posted: Wed May 08, 2024 10:31 am
by Paul
add a discount and tax field in action ecommerce

Re: paypal shopping cart and Discount

Posted: Wed May 08, 2024 11:18 am
by BaconFries
@paul if you have any "New" suggestion(s) can you please post at the appropriate section of the forum Suggestions/Improvements this is so they do not get lost in another thread. Thanks

Re: paypal shopping cart and Discount

Posted: Tue Dec 10, 2024 11:43 pm
by Umbrella
Using the PayPal shopping cart can be a game-changer when managing purchases and applying discounts easily. While planning my trip, I was surprised How I found great deals on German travel insurance for my trip by combining a promo code with PayPal's seamless checkout process. It was super convenient, and the added discount improved the whole experience. If you're looking for ways to save, check for deals or discounts that work directly with PayPal payments!