WordPress.org

Forums

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

  1. melrothdesign
    Member
    Posted 1 year ago #

    Reason:
    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.

    Fix:
    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']

    http://wordpress.org/plugins/easy-digital-downloads/

  2. 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

Tags