Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3430598
Discounts added as negative line items are not supported by PayPal Commerce.
Closed

Comments

  • Brian started the conversation

    Hello Support Team,

    I am using your plugin to create smart bundles with discounts on my website. I have also been using the PayPal for WooCommerce by Angell EYE for some time now with their “PayPal Classic” gateways (ie. Express Checkout and PayFlow.)

    That plugin now supports the new “PayPal Commerce” gateway, and PayPal is making a big push to get merchants to upgrade into this new gateway, which we did.

    However, upon doing so we started getting errors because of negative item amounts being passed into the PayPal payment request. Upon further review it was discovered that the discounts applied by these smart bundle products are not added as actual “discounts” in WooCommerce, but instead they are added as line items with negative amounts.

    The PayPal plugin pulls these line items directly from the Woo cart to generate the payment request for PayPal. The PayPal Classic gateways handles this just fine, but the PayPal Commerce gateway does not and will reject them.

    The PayPal for WooCommerce plugin has an option in its PayPal Commerce gateway to disable line items in the PayPal request. This solves the problem, but it leaves without these item details in our PayPal account, which is not ideal.

    Angell EYE is planning to adjust this so that they will look for any negative line items and convert them to an actual discount in the Woo cart, but they thought it would be good to mention this to you as well. This problem will occur with any processor that doesn’t accept negative item amounts, so you may want to consider applying these discounts into the Woo cart using their discount feature as opposed to adding them as negative line items.

    Just something to consider. 32.png

    Attached files:  WC log quantity error bundled product.png

  • Brian replied

    I am currently using WPC Product Bundles for WooCommerce (Premium) Version 6.2.1

    However, I see there is another version called WPC Product Bundles for WooCommerce with version 7.2.5

    The functionality appears similar or the same. Please advise which version should be used. 

  •  767
    Janilyn replied

    Hi Brian,

    Thanks for contacting WPClever Support Forum. We're not available at the weekends so today (Monday) I am able to process your ticket.

    For your information, we have received many similar reports before. Our developers have acknowledged about this conflict. However, until now, we still doesn't find any valid solution yet since our plugin offers discounts by using the negative number.

    Our developers said they will continue investigating this further.

    About the version, you might haven't verified the Premium version on your site with a License Key so it's not updated to the latest one. The latest version of both versions is 7.2.6.

    You can always visit our Membership page here: https://wpclever.net/my-account to access and control all payments and downloads associated with your License Email. If you haven't created any account on our website before, please register a new account with that License Email. This must be done manually.

    If you already have an account for your License Email and lost access to it, you can reset your password by pressing the Lost password button.

    1416423661.png

    When you enter the email address to register for your license, your email is recorded as License Email for your license only. It doesn't automatically generate an account, users need to manually register for an account with their License Email when they need to access the Downloads section on our website.

    Then use that License Key to enter under WPClever >> License Keys section so that Updates for Premium version will be delivered to your dashboard.


    Feel free to contact us at any time you encounter issues or have questions.

    Best regards.



    Janilyn T. - WPClever Support Agent

  • Brian replied

    Thank you for the reply.  I have updated the plugin and registration to the most recent and current version. 

    Although now updated, the data architecture underlying the WPClever bundle plugin still provides conflicts with our payment gateway (PayPal).  We will continue to monitor transactions and how WPCLever passes data however it is likely we will need to find a new plugin for the functionality we require that is compliant with PayPal. 

    Thank you

    Brian

  •  767
    Janilyn replied

    Hi Brian,

    Thanks for your feedback.

    Please reach us back if you need any further information at any time.

    Best regards.

    Janilyn T. - WPClever Support Agent