• Resolved julianrg2

    (@julianrg2)


    Hi, I am working on a website where we allow credit or debit purchases. We have an active coupon which we can use to get 5% discount.

    In the debit order the coupon is applied correctly since it works with the WooCommerce native code but in the credit purchase, since a custom code had to be made, it is not applied; the coupon appears in the order but its hover is 0$ and it is not calculated in the subtotal.

    Here you have 2 images:

    The code that we are using to apply the coupon when creating the order:https://i.imgur.com/vHaW1OR.png

    How it looks like in WooCommerce – Orders:

    View post on imgur.com

    I hope you can help me, thank you!

Viewing 1 replies (of 1 total)
  • Hi @julianrg2

    I understand that the coupons are not working as expected in case of credit purchase as some custom coding is in use which may need to be re-adjusted.

    Kindly be informed that support for custom coding is beyond the scope of support we are able to provide in this forum. This particular forum is for questions that are related to the WooCommerce core features.

    For help with custom code we recommend the WooCommerce Developer Resources Portal.

    You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.

    Lastly, for direct assistance with code customizations, we recommend consulting with the WooCommerce Customizations Partners. https://woocommerce.com/customizations/

    Nevertheless, I’m going to leave this thread open for a bit to see if anyone is able to chime in to help you out here.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom add coupon is not working.’ is closed to new replies.