Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • jocloud

    (@jocloud)

    I have found the issue. The problem is when it tries to send the email (class GDPR_email). The plugin uses the function get_do_not_reply_address (file includes/class-gdpr-email.php) to generate a noreply address:

    private static function get_do_not_reply_address() {
    	  $sitename = strtolower( $_SERVER['SERVER_NAME'] );
        if ( substr( $sitename, 0, 4 ) === 'www.' ) {
    			$sitename = substr( $sitename, 4 );
        }
    	  return apply_filters( 'gdpr_do_not_reply_address', 'noreply@' . $sitename );
    	}

    The problem is that I run wordpress with docker and the SERVER_NAME, for me, is wordpress. So the generated email is noreply@wordpress. But because this address does not exist it raises an error.

    What I have done: I have added a filter to force the noreply address in my functions.php:

    function my_gdpr_do_not_reply_address() {
       return '[email protected]';
    }
    
    add_filter( 'gdpr_do_not_reply_address', 'my_gdpr_do_not_reply_address', 99 );

    Now I can receive emails !!!

    Last think, my email plugin is Mail Bank.

    Jo

    • This reply was modified 8 years ago by jocloud.
    Forum: Plugins
    In reply to: [GDPR] Error on Data-Export
    jocloud

    (@jocloud)

    I have found the issue. The problem is when it tries to send the email (class GDPR_email). The plugin uses the function get_do_not_reply_address (file includes/class-gdpr-email.php) to generate a noreply address:

    private static function get_do_not_reply_address() {
    	  $sitename = strtolower( $_SERVER['SERVER_NAME'] );
        if ( substr( $sitename, 0, 4 ) === 'www.' ) {
    			$sitename = substr( $sitename, 4 );
        }
    	  return apply_filters( 'gdpr_do_not_reply_address', 'noreply@' . $sitename );
    	}

    The problem is that I run wordpress with docker and the SERVER_NAME, for me, is wordpress. So the generated email is noreply@wordpress. But because this address does not exist it raises an error.

    What I have done: I have added a filter to force the noreply address in my functions.php:

    function my_gdpr_do_not_reply_address() {
       return '[email protected]';
    }
    
    add_filter( 'gdpr_do_not_reply_address', 'my_gdpr_do_not_reply_address', 99 );

    Now I can receive emails !!!

    Last think, my email plugin is Mail Bank.

    Jo

    • This reply was modified 8 years ago by jocloud.
    Forum: Plugins
    In reply to: [GDPR] Error on Data-Export
    jocloud

    (@jocloud)

    Hello,

    I have exactly the same problem on 2 sites. It’s the first time I install this plugin (v2.0.6).

    Not error in file, only a popup with written: There was a problem with your request. Please try again later.

    Jo

    jocloud

    (@jocloud)

    Hello,

    I have exactly the same problem on 2 sites. It’s the first time I install this plugin (v2.0.6).

    Not error in file, only a popup with written: There was a problem with your request. Please try again later.

    Jo

    Thread Starter jocloud

    (@jocloud)

    Du coup ça marche beaucoup mieux comme ça, en effet. J’avais raté cette étape.

    Merci pour votre aide rapide.

    Thread Starter jocloud

    (@jocloud)

    Voilà mes réponses :
    – La devise du produit est bien supportée par MANGOPAY (Euros par exemple) : Devise EUR
    – Le produit est bien rattaché à un compte de vendeur : OUI
    – Le vendeur a bien un portefeuille MANGOPAY qui s’est créé : NON. Mon problème n’est pas au niveau du paiement des vendeurs. A ce stade le produit ne peut même pas être acheté par l’utilisateur.
    – Un ou plusieurs instruments de paiement ont été sélectionnés dans WooCommerce > Réglages > Commande > MANGOPAY : OUI

    Le problème n’est pas au moment de passer le commande, car je ne peux pas la passer du fait que la methode de paiment MANGOPAY ne s’affiche pas pour l’utilisatuer.

    Je précise qu’avec d’autre gateway cela fonctionne (STRIPE fonctionne correctement, j’ai pu un achat fictif avec).

Viewing 6 replies - 1 through 6 (of 6 total)