Community discussions

MikroTik App
 
User avatar
desertadmin
Member Candidate
Member Candidate
Topic Author
Posts: 232
Joined: Tue Jul 26, 2005 6:09 pm
Location: Las Vegas, New Mexico
Contact:

Paypal takes the money but the account does not activate

Wed Sep 24, 2008 11:57 am

Hello,

Has any one seen this? I have a central radius server (192.168.100.1), I have a a hotspot at 192.168.100.2(external) internal 192.168.2.1(internal)

My laptop connects and gets an IP address of 192.168.2.254

If I go to google.com I get challenged with the splash page to login or to signup with a paypal account.

I go through the paypal account and it charges me $1 USD.
I get returned to the usermanager login for the user page.
It does not allow me to logon.
If I go to another page the splash page appears and if I try to logon it does not allow me to. The log file says:
hotspot info debug dgitest1(192.168.2.254): login failed: no chap for http-chap login method

If I create an account on the User manager and give it unlimited it will allow me to logon. (so I know it is all working)

The problem is if I do the following on the central radius usermanager server:
[admin@CentralUM] > tool
[admin@CentralUM] /tool> user-manager
[admin@CentralUM] /tool user-manager> user
[admin@CentralUM] /tool user-manager user> pri
Flags: X - disabled, A - active, I - incomplete
0 I subscriber=paypal name="dgitest1" password="doesnotwork"
registration-date=sep/24/2008 07:53:25 email="address@address.com"
last-seen=never credit-count=0 credit-left=0s credit-duration=0s
credit-price=0 credit-time-added=0s
reg-key="j75bm96rx4u7r3q9blahudwewe4wqg4wm"

1 subscriber=paypal name="dgitest2" password="works"
uptime-used=6m56s download-used=172288 upload-used=63079
last-seen=sep/24/2008 08:22:46 credit-count=0 credit-left=0s
credit-duration=0s credit-price=0 credit-time-added=0s
[admin@CentralUM] /tool user-manager user>


I do notice that there is an I on user 0 (dgitest1).

How do you fix the incomplete part of the sign up process. I feel that I have searched enough and still cn not figure out why the account does not get activated. Is it a problem with the reg-key? Am I missing a step somewhere do I need to enable something minor? I am just very confused on this.

If any one has any idea I would really appreciate it.
Thanks

-Sincerely,
DesertAdmin
 
maypa
just joined
Posts: 8
Joined: Wed Sep 24, 2008 10:22 pm

Re: Paypal takes the money but the account does not activate

Wed Sep 24, 2008 10:36 pm

Hi,
I get the same error, the PayPal payment is accepted, but does not accept payment in sisteam manager.
Do not let me login and data from the user does not get the payment made.

Some light on this problem?
 
User avatar
desertadmin
Member Candidate
Member Candidate
Topic Author
Posts: 232
Joined: Tue Jul 26, 2005 6:09 pm
Location: Las Vegas, New Mexico
Contact:

Re: Paypal takes the money but the account does not activate

Thu Sep 25, 2008 11:09 am

This is odd because my problem accepts the payment and will charge you but the usermanager never activate the new account. Does any one have an idea as to what I am doing wrong. I have customized our login page with links to the signup page as well as a link to the usermanager and of course my login page has the login box. I know that the usermanager works with the RADIUS auth from the hotspot to the usermanager because I can create a usermanager account from usermanager and it is active and will auth and allow the login to occur. But the connection between the paypal accept request and usermanager never connects.

Does nay one have a clue as to how I can better trouble shoot this problem? I will post my findings. I am sure someone has had this exact same problem before.

Any help would be much appreciated


-Sincerely,
DesertAdmin
 
changeip
Forum Guru
Forum Guru
Posts: 3829
Joined: Fri May 28, 2004 5:22 pm

Re: Paypal takes the money but the account does not activate

Thu Sep 25, 2008 11:35 pm

are you allowing paypal to post back to your router the payment status? are you using ssl or no ssl ? if you are blocking inbound communications from paypal it will not receive result of payment.
 
User avatar
desertadmin
Member Candidate
Member Candidate
Topic Author
Posts: 232
Joined: Tue Jul 26, 2005 6:09 pm
Location: Las Vegas, New Mexico
Contact:

Re: Paypal takes the money but the account does not activate

Thu Sep 25, 2008 11:45 pm

We are using ssl but I do not know if we are blocking from paypal where do I look for such a thing? OR is it a setting in the usermanager?

-Sincerely,
DesertAdmin
 
changeip
Forum Guru
Forum Guru
Posts: 3829
Joined: Fri May 28, 2004 5:22 pm

Re: Paypal takes the money but the account does not activate

Thu Sep 25, 2008 11:57 pm

What do you have for 'Return URL' in UserManager Paypal config ? PayPal needs to know what the public HTTPS URL is for postbacks.

http://wiki.mikrotik.com/wiki/User_Mana ... nts#PayPal
If users access User Manager page through a local IP address, public host attribute must be specified. It must contain a public address of User Manager router which is acceptable as response URL for PayPal gateway (PayPal will send payment result to this address). Domain name or IP address can be used. Only the address must be specified, not complete URL (for example, userman.mt.lv, not https://userman.mt.lv/ and not https://userman.mt.lv/userman):
Sam
 
User avatar
desertadmin
Member Candidate
Member Candidate
Topic Author
Posts: 232
Joined: Tue Jul 26, 2005 6:09 pm
Location: Las Vegas, New Mexico
Contact:

Re: Paypal takes the money but the account does not activate

Sat Sep 27, 2008 10:49 am

That was the solution I was pointing to the internal address. I misunderstood that step the first time through reading it. Thank you very much I can now get some sleep.

-Sincerely,
DesertAdmin
 
maypa
just joined
Posts: 8
Joined: Wed Sep 24, 2008 10:22 pm

Re: Paypal takes the money but the account does not activate

Sat Sep 27, 2008 11:10 pm

hello,

I have the same problem as you but I don´t understand what you commented..that it was pointing to the internal address.
Can you specify wich modification you made??
Thank sooo much.

mariano
 
User avatar
desertadmin
Member Candidate
Member Candidate
Topic Author
Posts: 232
Joined: Tue Jul 26, 2005 6:09 pm
Location: Las Vegas, New Mexico
Contact:

Re: Paypal takes the money but the account does not activate

Sun Sep 28, 2008 7:52 am

I have our usermanager at a central external location. We will call the usermanager address of 63.123.123.15.. My hotspot is located with an external of 63.123.123.16 and it has an internal of 192.168.123.1/24..

Once you logon to the usermanager at 63.123.123.15/userman (not user but userman).. I login with my admin customer account for that hotspot that is going to be using the paypal. Go to Customers, click on your customer. Look at the setup; it is not in the paypal section but it is the "public host" field. I put my external address of 63.123.123.15.. I pretty much overlooked its functionality and did not think about the public host variable and what it does. But both types of payment methods need to send the auth to some where, which is the central usermanager. I was stuck focusing on the paypal section and I had overlooked this part. I really hoped this helped you out as well.

If you have any more questions post again.

-Sincerely,
DesertAdmin
 
sylwekleszczynski
just joined
Posts: 3
Joined: Tue Jan 20, 2009 2:10 pm

Re: Paypal takes the money but the account does not activate

Sat Jun 06, 2009 11:56 pm

Hello.
Can someone help me start up the Hotspot with paypal charge ?
 
userman
Member Candidate
Member Candidate
Posts: 196
Joined: Tue Sep 05, 2006 2:53 pm

Re: Paypal takes the money but the account does not activate

Mon Jun 08, 2009 11:30 am

Hello.
Can someone help me start up the Hotspot with paypal charge ?
http://wiki.mikrotik.com/wiki/User_Mana ... ot_Example
http://wiki.mikrotik.com/wiki/User_Mana ... nts#PayPal

If you have a specific question, ask!
 
User avatar
nest
Forum Veteran
Forum Veteran
Posts: 822
Joined: Tue Feb 27, 2007 1:52 am
Location: UK
Contact:

Re: Paypal takes the money but the account does not activate

Sat Jul 18, 2009 4:08 pm

Paypal nowadays is working perfectly fine.
Which was very true up until this last week.

Paypal integration into Usermanager has been working like a dream until we started getting complaints from potential customers who were completing the Usermanger account creation, then choosing a payment, then when it jumped to Paypal, it would not even load the Paypal page. We found (after a lot of pain) that Paypal was linking to "paypal.112.2o7.net" and unless that was connected to by the web browser, it would not allow Paypal to load where the customer could then key in their credit card details, they just got a blank page. Once we added the website domain "paypal.112.2o7.net" into the walled garden it was fine again.

(and no, nothing has changed at our end)

Go figure!
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6694
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Paypal takes the money but the account does not activate

Tue Jul 21, 2009 4:24 pm

Yes, it is true. That Paypal requires paypal.112.2O7.net to be added to walled-garden list, as it executes some scripts. Moreover there is one more page, which contains some advertisements.
 
User avatar
nest
Forum Veteran
Forum Veteran
Posts: 822
Joined: Tue Feb 27, 2007 1:52 am
Location: UK
Contact:

Re: Paypal takes the money but the account does not activate

Wed Jul 22, 2009 12:40 am

Hi Sergjs

Forgot to mention we also had to add *.akamaiedge.net into the walled garden, but there are still some problems. The majority of customers are able to make payments fine, but randomly some do not complete the payment. More testing required. :-(

Was going to ask you edit the Wiki with these two new pages for the walled garden, so I just checked the wiki and you have already done this! :-)

We have also had to add altfarm.mediaplex.com. But we still need to perform more detailed analysis of the html to see what is being loaded and then we can decide what exactly is going on here.
 
imaljko4
Member Candidate
Member Candidate
Posts: 250
Joined: Fri Apr 25, 2008 6:52 pm

Re: Paypal takes the money but the account does not activate

Wed Aug 05, 2009 6:03 pm

Hello.
Can someone help me start up the Hotspot with paypal charge ?
http://wiki.mikrotik.com/wiki/User_Mana ... ot_Example
http://wiki.mikrotik.com/wiki/User_Mana ... nts#PayPal

If you have a specific question, ask!
Ok here i can find how to setup paypal payments,
But how do I setup that new users can create an account to login to hotspot?

because new users can only buy credits if they already have an account on user manager am i right?

So how to make possible for new users to create the account in user manager and then top up with paypall?


Thanks
 
User avatar
nest
Forum Veteran
Forum Veteran
Posts: 822
Joined: Tue Feb 27, 2007 1:52 am
Location: UK
Contact:

Re: Paypal takes the money but the account does not activate

Wed Aug 05, 2009 6:54 pm

If your usermanager router address was for example paypal.myhotspot.com and the main admin account for your usermanager installation was admin:

New accounts:
http://paypal.myhotspot.com/user?signup=admin

For adding more credit to existing account
http://paypal.myhotspot.com/user

Add these links to your login.html page in your hotspot folder and then when user sees the login prompt, you are also able to point the customer to the correct places to create themselves a new account if they do not already have one.

Useful References
http://wiki.mikrotik.com/wiki/User_Mana ... n_up#Setup
http://wiki.mikrotik.com/wiki/User_Mana ... gn-up_page
http://wiki.mikrotik.com/wiki/User_Mana ... _user_page
 
wadadlitech
just joined
Posts: 1
Joined: Wed Apr 11, 2018 8:24 am

Re: Paypal takes the money but the account does not activate

Wed Apr 11, 2018 8:41 am

Given that I have a single MT Metal 2 which is connected to a PoE switch, along with my ISP's DSL modem.
If users access User Manager page through a local IP address, public host attribute must be specified. It must contain a public address of User Manager router which is acceptable as response URL for PayPal gateway (PayPal will send payment result to this address). Domain name or IP address can be used. Only the address must be specified, not complete URL (for example, userman.mt.lv, not https://userman.mt.lv/ and not https://userman.mt.lv/userman):
I can't seem to wrap my head around making the public host accessible for PP over the internet.

User Manager resides on the router.

Who is online

Users browsing this forum: No registered users and 8 guests