May 13, 2013 at 6:29 pm #9075Russell58Member
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.
RussellMay 14, 2013 at 2:08 am #55584
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 #55585Russell58Member
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
You can use this form to get in touch with us for a custom job:October 12, 2013 at 10:22 pm #55587StarCircleAcademyMember
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
Go to the following settings area to enable the IPN forwarding:
WP eStore Settings -> 3rd Party Integration -> POST IPN to a 3rd party applicatonOctober 12, 2013 at 11:00 pm #55589StarCircleAcademyMember
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.
- You must be logged in to reply to this topic.