You will learn how to:
SMS payments in Metin2
●create a multi-price service for Metin2
●receive automatic payments
●update...
You will learn how to receive automatic sms payments in
Metin2 without doing anything manual. Users can enjoy
their coins ...
Follow these steps:
●Upload the paygol.php file to your server.
●Create a new service of type Multi-price and fill all the...
Here you can see a picture about how your service creator
will look like:
Don't forget to save
(click on the yellow
save b...
On field URL Background add the full path where the paygol.
php file is located (e.g.:http://www.myserver.com/paygol.php)....
Edit your paygol.php file and replace the "xxxx" by the real
data to connect to your database, you will see something like...
Pay attention on the lines:
$custom = $_GET[custom];
$points = $_GET[points];
$custom is the variable where the username o...
Adding the pay button
Click on the tool button you see below and paste the piece of
HTML code into your web page.
Adding the pay button
Click on the tool button you see below and paste the piece of
HTML code into your web page. Normally...
On this section you will see 2 different ways to use your service, with
Pop-up and Post. For this example we will use Pop-...
Trying your service
By clicking your service
button you will now see
your service working
Testing your service
Go to My services and change the status of your service
from Testing
Now press the small red arrow, choose
demo using post or popup mode.
Payment screen will display now in test
mode (Blue tu...
That's all!
At this point your game would be fully working accepting
automatic sms payments with PayGol.
Upcoming SlideShare
Loading in …5
×

Paygol automatic sms payments in Metin 2

2,524 views
2,428 views

Published on

You will learn how to receive automatic sms payments in Metin 2 without doing anything manual. Users can enjoy their coins right away and start buying in the item shop.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,524
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • hi all
  • Paygol automatic sms payments in Metin 2

    1. 1. You will learn how to: SMS payments in Metin2 ●create a multi-price service for Metin2 ●receive automatic payments ●update user's coins ●test your service ●download files from ●https://sourceforge.net/projects/sms-metin-2
    2. 2. You will learn how to receive automatic sms payments in Metin2 without doing anything manual. Users can enjoy their coins right away and start buying in the item shop. If you still don't have a PayGol account please start by creating one from this link www.paygol.com/register Introduction
    3. 3. Follow these steps: ●Upload the paygol.php file to your server. ●Create a new service of type Multi-price and fill all the fields. For this example we will create the following options: -An input field where player can enter his character or username -And the next prices with their web points: 100 web points = €1 200 web points = €2 300 web points = €3
    4. 4. Here you can see a picture about how your service creator will look like: Don't forget to save (click on the yellow save button) all changes for these options button
    5. 5. On field URL Background add the full path where the paygol. php file is located (e.g.:http://www.myserver.com/paygol.php). This file will be called after every payment has been processed, sending you several parameters to make all the process automatic. Save all changes and set your service as Testing and test your service until you are sure is working as you want.
    6. 6. Edit your paygol.php file and replace the "xxxx" by the real data to connect to your database, you will see something like this: //set host, username and password for DB $dbhost = "xxxx"; $dbuser = "xxxx"; $dbpass = "xxxx"; $dbname = "xxxx";
    7. 7. Pay attention on the lines: $custom = $_GET[custom]; $points = $_GET[points]; $custom is the variable where the username or character of the payer will be stored. $points is the total of web points that user paid for.
    8. 8. Adding the pay button Click on the tool button you see below and paste the piece of HTML code into your web page.
    9. 9. Adding the pay button Click on the tool button you see below and paste the piece of HTML code into your web page. Normally this button goes in the Credits section.
    10. 10. On this section you will see 2 different ways to use your service, with Pop-up and Post. For this example we will use Pop-up. Copy all the code into a HTML page.... test.html for example.
    11. 11. Trying your service By clicking your service button you will now see your service working
    12. 12. Testing your service Go to My services and change the status of your service from Testing
    13. 13. Now press the small red arrow, choose demo using post or popup mode. Payment screen will display now in test mode (Blue tube indicates test mode) Notice the name of the payment screen is the one you entered when you created the service. We used Test Service as our service name. Test Service £1.00, instruction states: Send GOL 813725 to phone number 88080 You are supposed to send this and receive a pin code , you don't need to do this in test mode. Your test pin code will be 123456, you must enter this pin on the field and press OK Wait for valid confirmation, after this you will be redirected to your designated Success URL. When you are sure everything is working as you want then go back to your service and set it as Enabled.
    14. 14. That's all! At this point your game would be fully working accepting automatic sms payments with PayGol.

    ×