Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How To Specify An Individual IPN Forwarding Address For A Product

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How To Specify An Individual IPN Forwarding Address For A Product

Tagged: 3re party integration, forward IPN, IPN

  • This topic has 6 replies, 3 voices, and was last updated 11 years, 8 months ago by StarCircleAcademy.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 13, 2013 at 6:29 pm #9075
    Russell58
    Member

    Hi, I am using WP-emember and WP-store together on a site that is managing software file delivery and support.

    I currently have 3 main product types which all require an Activation Keycode to be delivered at purchase. I use a separate software licensing and management software for that purpose and so the internal WP-estore Serial# and License key function is not of use or relevant to my purpose. I have added the IPN php file address for my Activation Key Delivery to the WP-estore “settings/3rd part integration” and it works just fine but the problem arises when I introduced other products which do not require the Activation Key because of the universal effect the settings/3rd Party Integration has on every product delivered. It means that customers buying a static product not requiring any keycode are being sent an Activation keycode for our main products which could end up exploited if surplus Keycodes are being sent out.

    I thought this may have been able to be addressed by creating a manual button override where a name=”notify_url” value could have been inserted but I can’t see any way of controlling this in “Add/Edit Products/Buy Now or Subscription Type Button Specific Settings (Click to Expand)”, nor could I see any option within your “Add advanced variables” to insert any “address_override=1 notify_url=http://” in the WP-store “Add/Edit Products/Additional Product Details (Click to Expand)” panel which I expected would have been an obvious place for such a line of code to have been placed as it relates to button creation. Perhaps a simple “Notify URL” field in that drop down panel would have done the trick?.

    The other thing that would work would be a field in the Product editor which gave an option “ignore default 3rd party integration IPN notification”

    I do hope you can offer some solution or guidance as to how I could best go about creating some coding option that could produce the desired effect.

    Many thanks for your attention to this matter.

    Russell

    May 14, 2013 at 2:08 am #55584
    admin
    Keymaster

    Hi Russell, The best way to handle this is on the receiving end. So your script that receives the IPN can check the product ID and do thing accordingly based on that. So for example, if you don’t want to do anything for when someone purchase product 2. Then in your script you can simply ignore the IPN for that product. eStore forwards the FULL IPN exactly as it received from PayPal because there are a lot of solutions out there that relies on the IPN being in it’s original form otherwise those solutions will fail to parse the IPN notification. This is why it is best to handle it on the receiving end. This allows you add condition and process the IPN based on what you want/need.

    We can always do a custom job for you to make it so only particular product purchase triggers the IPN sending but I don’t think you will need it if you do the above.

    May 14, 2013 at 4:23 am #55585
    Russell58
    Member

    Hi,

    thanks so much for the prompt response and explanation.

    Yes that makes sense and as you say, my IPN script could be amended to correspond only to specific products. I may look into that but for the time being I simply use a separate script for each product and that way I can be absolutely sure that only relevant keys are sent with specific products.

    In the absence of you amending the plugin to allow separate IPN overrides or additions per product or an “ignore IPN” option I may be interested in you creating a custom script. Do you have my email address or PM facility through which you could contact me about this?

    May 14, 2013 at 10:44 pm #55586
    admin
    Keymaster

    You can use this form to get in touch with us for a custom job:

    https://support.tipsandtricks-hq.com/need-custom-work-done

    October 12, 2013 at 10:22 pm #55587
    StarCircleAcademy
    Member

    Hey, I was directed here from https://support.tipsandtricks-hq.com/forums/topic/is-there-a-model-for-how-to-integrate-a-post-payment-step-into-wp-estore

    But I’m not sure I understand what is being proposed. Where is the “forward IPN” option? I see an option per product to return the *user* to a particular page.

    That option is on the Product:

    Buy Now, Subscription or Donation Type Button Specific Settings (Click to Expand) -> Return URL

    And that MIGHT work, but I’d have to be able to have substituteable parameters from the sales/PayPal data. However if for some reason the user didn’t let it go to that page the webinar registration wouldn’t occur.

    October 12, 2013 at 10:51 pm #55588
    admin
    Keymaster

    Go to the following settings area to enable the IPN forwarding:

    WP eStore Settings -> 3rd Party Integration -> POST IPN to a 3rd party applicaton

    October 12, 2013 at 11:00 pm #55589
    StarCircleAcademy
    Member

    No sooner did I post that, but I found on the “WP EStore Settings -> 3rd Party Integration -> Instant Payment Notification (IPN) Post URL

    I see where the original poster mentioned that, but I misread it. I’ll dig in some more.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ