-
Content Count
197 -
Joined
-
Last visited
-
Days Won
3
Posts posted by UBOTEM
-
-
@dan OK that seems fine..
Was just about to change the notify_url like this
protected $notify_url; /** * Constructor * @param WC_Gateway_Paypal $gateway */ public function __construct( $gateway ) { $this->gateway = $gateway; #$this->notify_url = WC()->api_request_url( 'WC_Gateway_Paypal' ); #original line now commented out $this->notify_url = 'http://www.mysite.com/ipnRebroadcast.php'; #my line }
& was going to have IPN rebroadcasted back to shop IPN URL and to UbotLocker PaymentNotify.php IPN URL.
But if you have a simple solution, please share
Have latest WordPress and Woocommerse setup.I don't want to muck anything up as it is a live site with sales and customers
-
@dan
With that PHP script, could I wrap it into a function called ipnRebroadcast.
Then include the script in PHP and run function?
With the following code in my successful transaction page (ie the return url from paypal to my store).
<?php include "ipn.php"; ipnRebroadcast(); ?>
-
You could modify your shop script to forward details to ubot locker after a successful purchase.Dan
Thanks Dan, this is what I am currently looking at...
Believe I need to call this rebroadcast script on the successful return page (from PayPal).
http://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/
This will also queue the broadcast if unable to send to one on the IPN URLs
Not quite sure how to implement, could I paste the code into my page?
Am quite OK with basic PHP and HTML, but no expert
-
Also if we use the notify_url with our ubotlocker it will expose the IPN URL, is this safe for people/hackers to know where the IPN servers are? Assume this is OK but thought would ask if a security issue.
-
I am currently in the process of integrating a sales platform to my site,
so i would also like to know if 2 API calls are possible, ..
in fact i hadnt even thought about that, ..
+1 to find out this
EDIT :
pretty useful info here :
http://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/
LOL was just in middle of posting that link
@meter can you please look at this http://codeseekah.com/2012/02/11/how-to-setup-multiple-ipn-receivers-in-paypal/ and let us know if any security issues using this, and can I run this broadcaster on SSL?
Other option am looking into is: with my WooCommerse store and if can alter IPN or rebroadcast from there!
-
Yep, that looks like the setting
have you tried
http://www.YOURSITE/license/Paym............etc
instead of
http://www.license.YOURSITE/Paym............etc
its the only thing that looks different to my own setup,
and i know some sites can be fiddly with the format of sub domains
worth a try
CJ
Thanks again for help....
I have diagnosed my issue... But still unsure how to solve my issue...
Diagnosis post
Basically I need PayPal to send two IPNs...
Not sure if we can have two url's in the notify_url within the payment button, but that's what I sort-of need.
Can not believe that paypal is not sending IPN to the URL I have entered into my account, as the IPN url is overrided by store?
-
OK diagnosed my problem...
The transaction in my shop overrides the IPN URL
Not sure how to fix, as don't think can have multiple IPNs
(have read how to rebroadcast the IPN to multiple URLs, but unsure if this is safe and secure as contains sensitive data)
Here is the transaction details for a purchase made through my shop...
As you can see the IPN is set to return user to my shop for the download, this needs to happen.
But I need PayPal to also send a IPN to my locker system.
Does anyone know if is possible to set this up, and have two IPN URLs?
-
@cүвεя_נυηкιε Thanks for helping...
Have looked at PayPal and the only settings I could find were on this page..
Have found PayPal IPN history page... And have ticked to resend the payment to IPN URL... But this again did not show in my UbotLocker PayPal Logs
Will hunt through PayPal and see if can find any other references to the IPN, but so far only the setting found is on the above image.
-
That's strange. You sure you uploaded the files after changing them? That's literally the only place in UbotLocker that email sending is handled. Well, that and MailLicense.php, but that only affects when you click 'mail' on Manage Licenses screen.
-meter
YAY! that fixed the issue
THANKS
I have yet to see an automatic key email, I was using the email button!
Please see my previous post about my IPN problems
-
OK today I feel like a noob!
Thought I had this all setup
License activation, keys, etc.. ALL WORKING GREAT
My problem is the IPN.
My setup is different as already have a digital download store.
So...
I added the IPN URL to my paypal account like so:
Then I also tested the IPN using paypals tester here:
https://developer.paypal.com/webapps/developer/applications/ipn_simulator
Which showed up in the UbotLocker PayPal logs:
Note that the top entry matched one of my projects, but the test email did not receive any license email, nor was a license created automatically for this to entry (but did not notice at that time)So then I assumed it was all working...
Then added all of my projects to UbotLocker making sure the name matched my product names.
Waited for some payments to come through, but it seems that no payments to my paypal account are showing in UbotLocker PayPal logs....
I will look over the setup, in-case I left something important out!
Glad I have not yet switched over my paid products, was going to make sure license keys were being emailed to customers first.ANY HELP IS GREATLY APPRECIATED
This system rocks, just need this IPN and keys to be issued automatically
-
You could read the email from the license file directly.
Thats good to know, so really all we need is the name to be recorded in the License.lic also, then we could greet a user in our software
-
** FEATURE REQUEST **
Was thinking last night how cool it would be to grab the Licence User Name from within Ubot!For example if we could have a plugin function something like:
set(#var_licenseUserName, $plugin function("Ubot Locker.dll", "http://www.mysite.com/VerifyLicense.php", "License.lic", "name"), "Global") set(#var_licenseUserEmail, $plugin function("Ubot Locker.dll", "http://www.mysite.com/VerifyLicense.php", "License.lic", "email"), "Global")
Then we could do a few things, but the items I would love to use in my bots would be Name and Email of the license user.
Then my software/bots could greet the user, and also I could track usage of my customers which will help me focus on my important products and provide a better experience for my customers
-
1. You can change this code in IpnFunctions.php:
$headers = "From: noreply@$siteUrl\r\n" .
-meter
Changed two lines in IpnFunctions.php
from
$headers = "From: noreply@$siteUrl\r\n"
to
$headers = "From: support@mysite.com\r\n"
but serial emails still showing as from noreply@subdomain.mysite.com
As I am using a sub-domain to host my license server!
-
@meter Excellent! Thanks
-
Just some info for those who wish to modify the license activation values
Which is useful to lock and auto update free tools without need of customers needing individual licences.
(Simply send activated copy out to customers, as Dan suggested)1). Open the file
Web/AddProject.php
2). Swap the line 47 to the following.
<div class=clearfix><label for=activations>Number Of Computers This Project Can Be Activated On:</label> <select name=activations id=activations><option value=1>1</option><option value=2>2</option><option value=3>3</option><option value=5>5</option><option value=10>10</option><option value=50>50</option><option value=100>100</option><option value=200>200</option><option value=500>500</option><option value=100000>100k</option></select></div>
Obviously the line number may change with future updates of UbotLocker
- 1
-
Set to 100k activations sweet....
-
Yes, that's possible. But you have to manually the update the "allowed activations" field in the ubot locker database. Because the UI only allows you to set that to 10.
But I did that for some of my free bots. I changed it to 999. And just provided the license together with my bot. So the license file was already part of the ZIP.
The user did not have to enter any license details that way. And I could send updates via ubot locker if I wanted to.
Dan
Cool thanks for info, so will add 9999+ activations in website UI and each person that runs the bot will trigger an install/activation.
So I can activate it first and send the license.lic file with bot so nobody needs to enter key and email? (that's cool)
Just want these bots protected and with auto updates
Don't need email capture list setup, as my setup is already a digital downloads store
Thanks again Dan and meter
-
@meter Just done my first update
This product is worth the money for that alone!
Not that updates bothered me, but makes easy and smart for my customersOnly real snags I have (and they are super-minor)...
1) email sent to licensees I would prefer to change the reply to address to our support email (can you tell me what file in the web folder I need to edit to achieve this?)
2) small icons in the licence entry part and updating part (would love it to be a key or something better than that funny boxes thing, lol)
Also another question... can my update link be https? (haven't tested yet but assuming this could be ok!)
Just another thought.... Is this possible?
I have free products in my store, can I lock these bots and supply ALL customers with the same key and provide this key in LicenseKey.txt downloaded with the bot?
Then this way I can provide auto updates and revoke the key if need (or want them) all to visit my store to download new copy and key?
Just asking in-case a complication with using 1 key say a thousand+ times? or a problem updating them all on one key....
-
@dan thanks for info, not quite ready yet for it but will be aiming for a website front-end, and a server hosting bots. User requests job, job gets queued, email user with link to data
-
@meter thanks for answering questions!
Have to say I'm impressed so far!
It's great
Noticed I can create a license for same customer for different apps. And keep same key!
Allowing user to think has one license.
Then updates should work
Just need to make a tool to create multi licenses for one customer ! (Solves my VIP issue).
Just trying update now, is it instant?
-
One other thing....
I have a VIP package in my store...
So... could it be possible (for later update) to allow a project to have sub-projects?
Then could wrap my VIP project around all other projects so one licence could use on all sub-projects!
This would allow us to bundle products together, one payment, one license, a few products !!!
Hope that made some sense, just an idea for future updates
Currently I would have to manually issue licences to my VIP? Unless I missed something out.
-
lol my mistake
Just incase others make same mistake....
Missed the .php at the end of VerifyLicense.php
But now seems to be working fine
-
OK first of all WOW
Think I am done
Set Paypal IPN to my new locker, and assume if item name in IPN is the same as item name in Locker then bingo it will create license!
(I hope anyway)Also how does this protect from fraudsters changing the value of payments and hitting the IPN?
We need an optional value to check with locked projects (just a suggestion)In my case my site detects a mismatch of values if price changed, and they wont access download.
Anyway I'm all setup but have an error at the end.
Said my licence is invalid, too many activations? first time I tried lol.
Maybe I did something wrong?
Also no Update.php to delete, so guessing not in latest version.
-
Sent ya a PM with the package UBOTEM. Sorry it took so long, been extremely busy all day!
-meter
That's cool, no worries!
Glad business is busy
[SELL] UbotLocker Web: Web Based Licensing Solution That Prevents Decompiling And Cracking
in Plugins
Posted
I have kept quite simple and shall report if works or not
Have just built a dedicated IPN Rebroadcast web-server, and changed the one line of code in my store as posted earlier to my new URL that will rebroadcast IPN data.
(Thought best to set-up a new site for job, in case a failure, lol, and as you said earlier did not want to mess with my clean database)
Have switched both PayPal setting and Site to use the new IPN Broadcast URL.
Have tested the broadcast from https://developer.paypal.com/webapps/developer/applications/ipn_simulator to my Rebroadcast URL.
And it showed in the PayPal log on ubotlocker
(But no license generated, but can see IPN has passed correctly)
So now just have to wait for next sale, and see if triggers both completed sale in my store and generate a key in ubotlocker
Fingers crossed...