Paypal takes the money but the account does not activate

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

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?

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

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.

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

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_Manager/User_payments#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

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

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

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

Hello.
Can someone help me start up the Hotspot with paypal charge ?

http://wiki.mikrotik.com/wiki/User_Manager/Hotspot_Example
http://wiki.mikrotik.com/wiki/User_Manager/User_payments#PayPal

If you have a specific question, ask!

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!

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.

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. :frowning:

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! :slight_smile:

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.

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

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_Manager/User_sign_up#Setup
http://wiki.mikrotik.com/wiki/User_Manager/QA/How_to_create_a_link_to_sign-up_page
http://wiki.mikrotik.com/wiki/User_Manager/User_page#Link_to_user_page

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.