Easy Digital Downloads
[resolved] When changing the credit card state while not logged in, the tax will not update (2 posts)

  1. melrothdesign
    Posted 2 years ago #

    When the ajax calls are made to edd_ajax_get_states_field the select box that is returned to replace the existing one on the form no longer has the id of "card_state" and is instead blank. The subsequent call to refresh the cart calculation then has no "card_state" value to pull from and ignores it for tax calculations.

    Line 289 of includes/ajax-functions.php inside edd_ajax_get_states_field add in to the $args for the select box an id that matches the name like: 'id' => $_POST['field_name']


  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 2 years ago #

    I saw you posted a ticket on Easy Digital Downloads.com: https://easydigitaldownloads.com/support/topic/issue-when-changing-the-credit-card-state-while-not-logged-in/

    I'm going to close this one and address your ticket there.

    In the future, please avoid posting duplicate tickets.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Digital Downloads
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic