Skip to main content
Participant
August 27, 2026
Question

Dreamweaver integrated with Pay Pal Shopping Cart

  • August 27, 2026
  • 6 replies
  • 26 views

Some of my products only ship throughout California.  Is there a code to add to my website in Dreamweaver to prohibit buyers from purchasing my California only available products. I was told that there was, but I do not know how to create nor implement this.  Please advise.

 

    6 replies

    Nancy OShea
    Community Expert
    Community Expert
    August 31, 2026

    Dreamweaver is merely a code editor. This is beyond the scope of what code editors can do. You need a server-side solution.  I don’t know of any magic PayPal codes that can do what you need. Sorry.

     

    Best advice: get a more robust shopping cart that accepts payments through PayPal.

     

    Good luck.

     

    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    August 27, 2026

    This is NOT a Dreamweaver question. It’s a question for your shopping cart provider.

    Shopify & WooCommerce have the ability to apply regional restrictions either directly or by adding dedicated plugins. 

     

    Which shopping cart do you use with PayPal?

     

     

     

    Nancy O'Shea— Product User & Community Expert
    Participant
    August 31, 2026

    Nancy,  Pay Pal technical support referred me to my hosting company where they claimed that was the source where my shopping cart could be restricted per State.  My hosting company acquiesced, but there would be a fee.  I did find other options as to how to execute this process myself, but before I began to play with the PayPal Code I wanted to seek the advise of other Dreamweaver users who may have had this experience and successfully executed, if any.  I appreciate your response and wish that Pay Pal would have this option or Dreamweaver, as it essential for many manufacturers whose licenses are limited to the state in which they produce certain items; which is very prevelant in the food industry.  

    Community Expert
    August 27, 2026

    There is not really a DW or Paypal specific answer to this as far as I am aware. I think Paypal can restrict payments from certain countries. This sounds like something that would need to be done via your e-commerce platform to restrict items based on a location. If you don’t have an e-commerce platform, then this may be something you need to look into to accomplish your setup requirements.

    Participant
    August 31, 2026

    Ben,  Thank you for your response.  Pay Pal does not restrict sales per State; only countries, as you noted.  However; I was informed that I could update the PayPal code myself and am seeking the advise of someone who has successfully executed this process in the past, if any.

     

    Community Expert
    September 3, 2026

    It would likely be a custom solution because paypal is a payment processor not an ecommerce platform. Could you share a link to a sample or test page to see what you have setup today? My thought is that it’s likely going to be custom form development that just shows an error to users who select certain values, but that’s probably the most you can do.