Support » Plugin: GiveWP - Donation Plugin and Fundraising Platform » Duplicate Donations in Import

  • Resolved tsquared150


    Trying to upload donations from a past databse and it is thinking donations are duplicates that are not, and not importing them. Is there an option to force the importer to add the duplicate donations?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hey @tsquared

    You can copy the code from below link and bypass the duplicated donation check for the donation that is getting imported via CSV.

    Let me know if there is anything else I can help you with.

    Thank you! I would just add this code to my functions.php file correct?

    yes @tsquared, you need to add this file in the child theme functions.php file
    Let me know if this work for you or not?


    Plugin Author Matt Cromwell


    @tsquared150 — did that snippet resolve the issue for you? We’d love to hear how it went.

    Sorry, just got to this and did another import and it is still is not importing what it is thinking is duplicate donations.

    I have a theme that has a main theme and a child theme. I added the code to the functions.php of the child theme.

    This is what the code looks like for that file. Maybe I didn’t add it correctly?

    // enqueue the child theme stylesheet
    Function qode_child_theme_enqueue_scripts() {
    	wp_register_style( 'childstyle', get_stylesheet_directory_uri() . '/style.css'  );
    	wp_enqueue_style( 'childstyle' );
    add_action( 'wp_enqueue_scripts', 'qode_child_theme_enqueue_scripts', 11);
     * Check if donation is duplicated or not before importing.
     * @return bool
    function give_check_import_donation_duplicate_callback( $value ) {
    	return false;
    add_filter( 'give_check_import_donation_duplicate', 'give_check_import_donation_duplicate_callback' );

    I just purchased the Give tool so should I move this to the support through the Give site?

    Plugin Author Matt Cromwell


    @tsquared150 — we’d love to help you in Priority Support, yes:


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Duplicate Donations in Import’ is closed to new replies.