Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] PayPal Button – IPN setting – "notify_URL" parameter

Simple Membership Plugin › Forums › Simple Membership Plugin › PayPal Button – IPN setting – "notify_URL" parameter

Tagged: "notify_URL", button, paypal

  • This topic has 8 replies, 3 voices, and was last updated 7 years, 10 months ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • June 18, 2018 at 5:42 pm #14725
    Martin
    Participant

    Hello. I have an issue with PayPal buttons:
    I am using an integration with Zapier and Invoice Ninja to create incvoices

    I need the information of the payment to be sent to Zapier in order to make the process of invoice creation automatic.

    To do this I should change the “notify_URL” parameter inside the button created by Simple Membership Pug In

    Actually this is set at https://mywebsite/?swpm_process_ipn=1

    Using Zapier I can get the information, send it to Invoice Ninja and pass the same information again to the same “notify_URL” in order to make the plug in work

    My Question is: Is there a way I can change the “notify_URL” parameter for buttons created inside the plug-in?

    Can you please help me find how I can do it?

    Thank you!

    June 18, 2018 at 6:00 pm #14726
    The Assurer
    Moderator

    From what I understand, Zapier “is like” IFTTT; and that you are wanting the PayPal IPN sent to SWPM to “kick-off” a Zapier task, that triggers an Invoice Ninja event???

    My Question is: Is there a way I can change the “notify_URL” parameter for buttons created inside the plug-in?

    “No.” SWPM needs to receive the IPN, if you want the registration process to complete correctly.

    June 19, 2018 at 12:51 am #14732
    admin
    Keymaster

    We actually have action hooks that you can use to forward the PayPal IPN message to an external URL.

    swpm_paypal_ipn_processed

    We can potentially add a feature in the plugin that makes it easy to forward the IPN maybe.

    June 19, 2018 at 8:37 am #14737
    Martin
    Participant

    Thank you for your answers!

    @The assurer: yes Zapier is a little bit like ITTT, it’s a service that helps applications to “talk” each other and set up automated tasks.

    What I am looking for: a way to automatically create an invoice every time someone buys a membership on my site.

    I understand “SWPM needs to receive the IPN, if you want the registration process to complete correctly”
    What I would like to do: send IPN to Zapier, this will then send the same IPN info to SWPM and Invoice ninja.


    @admin
    can you help me?
    This is important to me…
    I would be happy to invest in this feature.
    (how much would it take?)

    THanks!

    June 19, 2018 at 11:43 am #14738
    The Assurer
    Moderator

    @admin can you help me?
    This is important to me…
    I would be happy to invest in this feature.
    (how much would it take?)

    Please complete a Paid Support request, and a developer will contact you.

    June 21, 2018 at 3:37 pm #14756
    Martin
    Participant

    How is my server set to accept data? What format does it need to be sent on in? Do you have some documentation for Simple Membership Plug In webhooks I can take a peek at?

    This would be very usefull!

    June 22, 2018 at 1:34 am #14757
    admin
    Keymaster

    We use the standard PayPal IPN message. Just read up on PayPal IPN message and you will know the formatting.

    June 22, 2018 at 5:19 pm #14759
    Martin
    Participant

    Thank you for the reply.
    I just need to know what should be set in the content-type header

    Something like “application/x-www-form-urlencoded”

    I would be very happy if you could give me a hint!

    June 23, 2018 at 1:49 am #14764
    admin
    Keymaster

    To be honest with you, I have no idea what you are trying to do there with the message formatting.

    I would forward the data (the $ipn_data array that contains the IPN data) to an URL by using code similar to the following. Please not the following is just some sample code (I didn’t test this code as the setup of this takes some time):

    
    $post_url = 'https://example.com/';//This is the URL where the IPN should be forwarded
     
    // Send IPN data to post URL
    $ch = curl_init ($post_url);
    curl_setopt ($ch, CURLOPT_POST, true);
    curl_setopt ($ch, CURLOPT_POSTFIELDS, $ipn_data);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $returnValue = curl_exec ($ch);	
    curl_close ($ch);
    
  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy