• Resolved nguafogu78

    (@nguafogu78)


    Hello everyone,

    Does anyone how to configure the plugin so that once the payment is achieved by a client, payplug does return the ipn (notification payment) object to the url of my choice ?

    Indeed I need the informations that payplug returns in the post instruction so that my application can update its database to handle stocks.

    I noticed in the payplug plugin php page of this plugin that home_url was set for ipn_url. What does it mean when I use either the shortcode either the static method ?

    Thanks for your help

    https://www.ads-software.com/plugins/payplug-payments/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mathieuaubert

    (@mathieuaubert)

    Hello,

    I have just published version 1.3.
    You can manage return url and IPN (Instant Payment Notification) URL

    Plugin Author mathieuaubert

    (@mathieuaubert)

    Hello,

    I have just published version 1.6 :
    * Add order ID in PAYPLUG_Plugin::payplug_generate_payment_link function : PAYPLUG_Plugin::payplug_generate_payment_link( price, [ ‘Button text’, ‘CSS class’ , ‘Icon’, ‘Order ID’, ‘Custom Data’ ] )
    * Add getIpn() function
    Example :

    if( class_exists( 'PAYPLUG_Plugin' ) ){
        ob_start();
        print_r( PAYPLUG_Plugin::getIpn() );
        $ipn = ob_get_contents();
        ob_end_clean();
        mail( "EMAIL","IPN Received", $ipn);
        exit;
    }
    Result in email :
    Array
    (
        [amount] => 1250
        [customData] =>
        [customer] =>
        [email] => EMAIL
        [firstName] =>
        [idTransaction] => XXXXXX
        [lastName] =>
        [order] => 12345
        [origin] =>
        [state] => paid
        [isTest] => 1
    )
    See : IPN Field in https://payplug-php.readthedocs.io/en/v1.1.2/#reference

    Bonjour, auriez-vous une documentation plus précise pour la configuration des champs sous WordPress svp ?

    Cordialement,
    F.G.

    Plugin Author mathieuaubert

    (@mathieuaubert)

    Bonjour,

    Oui, vous devriez retrouvez la description des champs IPN à cette adresse : https://payplug-php.readthedocs.io/en/v1.1.2/#reference

    Cordialement,

    Mathieu AUBERT

    Plugin Author mathieuaubert

    (@mathieuaubert)

    Et pour WordPress, un utilisateur du plugin est en train de créer une documentation.

    Je la diffuserai quand elle sera terminée.

    Cordialement,

    Mathieu AUBERT

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Configure ipn_url to notify application that payment is complete’ is closed to new replies.