Announcement

Collapse
No announcement yet.

Paypal Commerce - modify shipping methods

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Paypal Commerce - modify shipping methods

    Does anyone know if it's possible to modify the shipping options that Miva sends back to Paypal?

    We use mvt code to display some shipping options but not others, and we make some misc modifications to the methods displayed. But with Paypal Commerce, Paypal makes a call to Miva to get shipping methods, and Miva is returning the default list.

    I don't see a corresponding page in Miva that I can modify, so it seems that if I want to modify the response sent back to Paypal, it would have to be done with a module (if it's even possible). I contacted Miva support but they weren't able to give me an answer as far as that goes, so here I am.

    Anyone have any ideas?
    Looking for work as of March 2024! I've been a web developer for going on 20 years, with most of that time spent on Miva sites.

    #2
    You would need to use Miva's Shipping Method rules to limit the shipping methods and implement your rules.

    I'm guessing you have shipping methods hidden in template code? If so those rules won't make it to PayPal so you need to implement those vis Shipping Method Rules.

    Are there rules/logic you need that are not addressed by Shipping Method Rules?
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Hi Brennan,

      unfortunately yes, that's exactly the problem we ran into. One example issue is that we have a flat rate shipping method that we only display if the customer has less than 4 sample items in the cart. I have some mvt code on OSEL that looks through the cart items and makes sure that all qualify as samples, and that there are less than 4 samples total

      There are some other more complicated things too

      Any idea of a custom module can respond to Paypal instead?
      Looking for work as of March 2024! I've been a web developer for going on 20 years, with most of that time spent on Miva sites.

      Comment


        #4
        Just checking to see if you've had any time to look into this Brennan?
        Looking for work as of March 2024! I've been a web developer for going on 20 years, with most of that time spent on Miva sites.

        Comment


          #5
          What shipping modules are you using? If you use Flat Rate, Quantity Based, or any of the other modules that are in the LSK, I can create a modified version that will meet your requirements, at a much lower cost than writing a new module from scratch.
          Kent Multer
          Magic Metal Productions
          http://TheMagicM.com
          * Web developer/designer
          * E-commerce and Miva
          * Author, The Official Miva Web Scripting Book -- available on-line:
          http://www.amazon.com/exec/obidos/IS...icmetalproducA

          Comment


            #6
            Thanks Kent, this store is using a third-party module though.

            However, one method in particular is coming from Flat Rate Shipping if I remember correctly, and if we can just exclude that method from showing up on Paypal, it would solve the vast majority of the problem
            Looking for work as of March 2024! I've been a web developer for going on 20 years, with most of that time spent on Miva sites.

            Comment


              #7
              That's good news. The Flat Rate module is in the LSK, so I can provide a modified version for you. If you want to discuss this further, you can contact me by email to Kent "at" TheMagicM "dot" com.
              Kent Multer
              Magic Metal Productions
              http://TheMagicM.com
              * Web developer/designer
              * E-commerce and Miva
              * Author, The Official Miva Web Scripting Book -- available on-line:
              http://www.amazon.com/exec/obidos/IS...icmetalproducA

              Comment

              Working...
              X