• I have recently added some conditional shipping terms using the Woocommerce Conditional Shipping and Payments Plugin.

    Some of my products cannot be shipped as they are frozen and only available for local delivery or click and collect. When a customer checks out via your Paypal plugin the conditional rules are ignored.

    I have enabled “Validate checkout Fields”, however this only appears to validate the default checkout fields and not any additional conditions.

    Any suggestions to resolve this? TIA

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @gilesytheking

    When a customer checks out via your Paypal plugin the conditional rules are ignored.

    Do you offer PayPal on your product or cart page or just checkout page? Have you only observed this issue on your checkout page?

    What is the expected result? That no shipping options are returned for one of these frozen products or certain shipping methods are available and not others?

    What is the actual result? Are shipping methods that you don’t expect to be offered appearing in the PayPal popup?

    The PayPal plugin uses all of the standard WooCommerce functions like WC()->cart->calculate_totals() to figure out what shipping options are available. I’ve seen before where shipping plugins have logic where the conditions are only enabled when certain parameters are included in the request.

    Kind Regards

    Thread Starter gilesytheking

    (@gilesytheking)

    Hi Thanks for your reply.

    Paypal and the conditional shipping options are only offer via the checkout page.

    Product A can only be shipped via local delivery or collection.

    If a customer has Product A in there basket and tries to checkout using another shipping method other than the above (Standard delivery or express) then the default action should block the checkout and display an error message on the cart page. The customer should either remove product A from there cart or select a different shipping method.

    Your plugin does not seem to follow the conditional settings for product A and allows the customer to complete an order with product and and Standard delivery or express shipping methods.

    If I select another payment method the conditional logic is applied.

    I hope this is clear.

    Plugin Author Payment Plugins

    (@mrclayton)

    Hi @gilesytheking

    Apologies for the late reply.

    The PayPal plugin doesn’t have any knowledge of what conditional logic is in place for other plugins. The PayPal plugin relies on the WooCommerce shipping API to determine what shipping options to display.

    I would expect that your shipping plugin would handle all of the validation around which shipping options are valid for which products. Since that’s not happening, it seems like your shipping plugin is only validating when the request is matching certain parameters.

    Kind Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Shipping and Payments Issue’ is closed to new replies.