paypal shopping cart and Discount

This forum is dedicated to discussions about shopping carts/ecommerce.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
Post Reply
Paul
 
 
Posts: 126
Joined: Thu Feb 07, 2013 3:13 am

paypal shopping cart and Discount

Post by Paul »

How to add a discount with PayPal ?

THANKS
User avatar
BaconFries
 
 
Posts: 5620
Joined: Thu Aug 16, 2007 7:32 pm

Re: paypal shopping cart and Discount

Post by BaconFries »

See the following url and image
PayPal Shopping Cart
Image
Paul
 
 
Posts: 126
Joined: Thu Feb 07, 2013 3:13 am

Re: paypal shopping cart and Discount

Post by Paul »

Where to add the discount amount on a product ?

Thanks
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: paypal shopping cart and Discount

Post by Pablo »

You can set the discount in the PayPal properties.
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: paypal shopping cart and Discount

Post 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.
Running WYSIWYG Web Builder since 2007...
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: paypal shopping cart and Discount

Post by Pablo »

You can add a discount and other additional PayPal options via "Extra Variables".

Image
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: paypal shopping cart and Discount

Post 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%?
Running WYSIWYG Web Builder since 2007...
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: paypal shopping cart and Discount

Post 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/
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: paypal shopping cart and Discount

Post 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.
Running WYSIWYG Web Builder since 2007...
User avatar
Pablo
 
Posts: 22428
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: paypal shopping cart and Discount

Post by Pablo »

Note that I can only add option that are supported by PayPal.
You can already use all of the supported options.
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: paypal shopping cart and Discount

Post 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).
Running WYSIWYG Web Builder since 2007...
User avatar
BaconFries
 
 
Posts: 5620
Joined: Thu Aug 16, 2007 7:32 pm

Re: paypal shopping cart and Discount

Post 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
User avatar
zinc
 
 
Posts: 2154
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom
Contact:

Re: paypal shopping cart and Discount

Post 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
Running WYSIWYG Web Builder since 2007...
Paul
 
 
Posts: 126
Joined: Thu Feb 07, 2013 3:13 am

Re: paypal shopping cart and Discount

Post by Paul »

Hi,

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

Thanks
Paul
 
 
Posts: 126
Joined: Thu Feb 07, 2013 3:13 am

Re: paypal shopping cart and Discount

Post by Paul »

add a discount and tax field in action ecommerce
User avatar
BaconFries
 
 
Posts: 5620
Joined: Thu Aug 16, 2007 7:32 pm

Re: paypal shopping cart and Discount

Post 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
Post Reply