Register for your free account! | Forgot your password?

Go Back   elitepvpers › Popular Games › Silkroad Online › SRO Private Server
You last visited: Today at 18:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]I want use payment-wall on my server?

Discussion on [HELP]I want use payment-wall on my server? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
qalli's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 74
Received Thanks: 4
[HELP]I want use payment-wall on my server?

Hello ;

I have a private server and my panel on my server machine. I'm trying embed widget on my panel page and payment-wall said

In HTML code please replace [USER_ID] placeholder with id of end-user who is viewing the widget

<iframe src="https://wallapi.com/api/subscription/?key=******************&uid=[USER_ID]&widget=p4_1" width="371" height="450" frameborder="0"></iframe>

how i can use this ? any help for USER_ID for ? And im using aspnet for panel.
How i can create new .ascx for widget any code have this about ?
qalli is offline  
Old   #2
 
LastThief*'s Avatar
 
elite*gold: 60
Join Date: Feb 2012
Posts: 3,942
Received Thanks: 6,474
[USER_ID] should be something like

$_SESSION['username'];
or $_SESSION['JID']; or whatever do you've so you can complete the payment
LastThief* is offline  
Old   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,748
Received Thanks: 2,010
I do not think anybody is going to help you commercialize your server, if you can't code your own IPN, you'll have to rethink your idea of running a commercial private server
Nezekan is offline  
Old   #4
 
qalli's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 74
Received Thanks: 4
Quote:
Originally Posted by LastThief* View Post
[USER_ID] should be something like

$_SESSION['username'];
or $_SESSION['JID']; or whatever do you've so you can complete the payment
<iframe src="https://wallapi.com/api/subscription/?key=*****************&uid=$_SESSION['username']; &widget=p4_1" width="371" height="450" frameborder="0"></iframe>

so this is true ?
qalli is offline  
Old   #5
Chat Killer In Duty


 
PortalDark's Avatar
 
elite*gold: 855
Join Date: May 2008
Posts: 16,434
Received Thanks: 6,525
Arrow Private SRO Main Discussions / Questions -> Private SRO Ask the Experts

#moved to correct section
PortalDark is offline  
Old   #6
 
elite*gold: 0
Join Date: Dec 2008
Posts: 18
Received Thanks: 5
to make *********** work full u have to know how to code pingback, so if you dont know how to do that for what you ask go find some php coder and pay him
borek24 is offline  
Old   #7
 
gigola123's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 731
Received Thanks: 490
Quote:
Originally Posted by qalli View Post
<iframe src="https://wallapi.com/api/subscription/?key=*****************&uid=$_SESSION['username']; &widget=p4_1" width="371" height="450" frameborder="0"></iframe>

so this is true ?
Before use a SESSION you should define it with a loggin panel .. The best way if you don't have any "login panel" in your web site it's to make something like that :

Code:
<?php
if(isset($_POST['Envoyer'])) { ?>
<iframe src="https://wallapi.com/api/subscription/?key=*****************&uid=[TOCHANGE]; &widget=p4_1" width="371" height="450" frameborder="0"></iframe>
<?php } else {?>
<form action="" method="POST">
<p>Your ID : <input type="text" size="30" name="ID" value="" /></p>
<input type="submit" value="Envoyer" /> <?php } ?>
Sure I'll not give you the full way , you need to learn alone so have fun ( You need to change"[TOCHANGE]" with an other thing , good luck) I didn't test it but it should work ^^
gigola123 is offline  
Old   #8
 
qalli's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 74
Received Thanks: 4
Quote:
Originally Posted by gigola123 View Post
Before use a SESSION you should define it with a loggin panel .. The best way if you don't have any "login panel" in your web site it's to make something like that :

Code:
<?php
if(isset($_POST['Envoyer'])) { ?>
<iframe src="https://wallapi.com/api/subscription/?key=*****************&uid=[TOCHANGE]; &widget=p4_1" width="371" height="450" frameborder="0"></iframe>
<?php } else {?>
<form action="" method="POST">
<p>Your ID : <input type="text" size="30" name="ID" value="" /></p>
<input type="submit" value="Envoyer" /> <?php } ?>
Sure I'll not give you the full way , you need to learn alone so have fun ( You need to change"[TOCHANGE]" with an other thing , good luck) I didn't test it but it should work ^^
but this code for php i hope this not working in ascx ?
qalli is offline  
Old   #9
 
gigola123's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 731
Received Thanks: 490
Quote:
Originally Posted by qalli View Post
but this code for php i hope this not working in ascx ?
Ow sorry I didn't see you want in .ascx .
gigola123 is offline  
Old   #10
 
elite*gold: 0
Join Date: Mar 2015
Posts: 75
Received Thanks: 18
Quote:
Originally Posted by qalli View Post
but this code for php i hope this not working in ascx ?
We got the same problem i donno how to fix it.
If u find any fix pls share thanks
VengeanceSRO is offline  
Reply




All times are GMT +1. The time now is 18:43.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.