Skip to main content
maryanns50585047
Known Participant
February 3, 2022
Answered

PayPal Buttons

  • February 3, 2022
  • 3 replies
  • 1758 views

Can anyone tell me how to change the Check out on my website to include a 10% discount to the total that is in the cart. (I use PayPal buttons only). That would automatically discount everything in the cart and then add tax and shipping to that total.

 

Technical support on PayPal is a joke and I have read countless articles this morning but am getting no where!

 

I would even be willing to reprogram every button (sigh) but they are not editable, as far as modifing the code from the Home page of PayPal

    This topic has been closed for replies.
    Correct answer Ben M

    Did you try the KB article from my original link that shows you how to add to a button?  If that isn't working then unfortunately you will either need to make a special product for your discounted amount so no discounting needs to be applied, get in touch with their support or for the longer-term look to other options for payment gateways.

     

    https://www.paypal.com/us/smarthelp/article/how-do-i-create-a-discount-code-or-coupon-code-for-my-pa...

    3 replies

    BenPleysier
    Community Expert
    February 3, 2022

    I do not use PayPal anymore, I use Stripe instead. Much cheaper and far more versatile.

     

    But to answer your question, have you tried supplying the discounted price to the PayPal button. This is what an e-commerce package would do.

     

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    maryanns50585047
    Known Participant
    February 4, 2022

    I did apply the price to the button, that was the work around.

    I am looking into building a cart within Dreamweaver. Do you think that would integrate with PayPal and work?

    MaryAnn

    Nancy OShea
    Community Expert
    February 4, 2022
    quote
    quote

    I am looking into building a cart within Dreamweaver.

    ==========

    @maryanns50585047 

    That's a bad idea.  It's like saying, "Gee, I think I'm going to perform brain surgery today!"   No, you're not.  You don't know the first thing about it.  

     

    You need a safe and secure 3rd party shopping cart built by professionals who understand what the payment card industry requires. This is no small matter.  Identity theft, payment fraud and transaction encryption are just 3 basic reasons why you can't do this yourself.   Sorry.

     

     


    By @Nancy OShea

     

     

    OP wants to integrate the cart with PayPal so it NOT a bad idea ALL the security is taken care of on the Paypal website. 

     

    Its a bad idea if you don't know the process of getting the product/prices information to PayPal in the format which is required and you should really use a server-side workflow or encrypted buttons so no-one can change the prices on your website then send the information to Paypal.

     

    If its a small company or individual selling and ONLY the owner is processing the orders its of little concern as you will CHECK the order against the money received before distributing the goods BUT its a very bad idea for digital products as that is just usually an automated process, its critcal in those circumstances or if you are leaving the ordering/distributing process to someone else to use either an encrypted Paypal button or server-side processing, rather than client-side processing.

     

    In the circumstances where you are not knowledgeable enough its best to use a third party cart which has Paypal integration as an option and uses a server-side workflow, so you need to do your homework before buying into a sub-standard process, some carts may still use the old open-exposed Paypal form directly on the website.

     


    You know how to integrate a PayPal API into a website. But I think this is way over the OP's pay grade, don't you?

     

    Nancy O'Shea— Product User, Community Expert & Moderator
    Nancy OShea
    Community Expert
    February 3, 2022

    This is not a Dreamweaver question.  It's a shopping cart limitation.

     

    aSecureCart is an affordable PCI compliant shopping cart that supports discounts and much more.  It's compatible with various payment gateways including PayPal, AuthorizeNet and others.  You can try it free for 30 days.

    https://www.asecurecart.net/main/gateways.aspx

    https://www.asecurecart.net/

     

     

     

    Nancy O'Shea— Product User, Community Expert & Moderator
    maryanns50585047
    Known Participant
    February 3, 2022

    Sorry...I didn't know where else to get any support...

    Community Expert
    February 3, 2022

    You  don't need to apologise ...

    Paul-M - Community Expert
    Community Expert
    February 3, 2022

    From their page: PayPal doesn't support discount codes or coupons, but you can offer customers discounts by using a third-party shopping cart that supports a discount feature and works with PayPal. https://www.paypal.com/us/smarthelp/article/how-do-i-create-a-discount-code-or-coupon-code-for-my-paypal-buttons-ts1512

     

    Basically they are recommending that you use a third party cart and then discount to Paypal as the easiest solution.  That page also has a link to help you set an amount manually on a button to change the price to your discounted rate.

     

    What cart software are using?  Have you tried reaching out to them for a solution?

    maryanns50585047
    Known Participant
    February 3, 2022

    Thanks Ben for your response.

    I am not using any cart software. Only PayPal. No 3rd party apps...Pay Now and Buy Now thru PayPAl.

    Brainiac
    February 3, 2022

    'Pay Now' and 'Buy Now' are stand-alone buttons created via the Pay-Pal User interface. As far as I know they are not cart based just single buttons with prices associated with them. If you want a cart based solution you would have to use the Pay-Pal cart option but I dont know if it has any options to set for discounts, or a thrid party cart .