Creating your first serviceYou will learn how to:   ● create a simple service   ● add your service to a web page   ● test ...
IntroductionYou will learn how to create a simple service, thisservice will allow you to start charging users bymobile pay...
Starting ● To start creating your new service click on New Service   and fill all the fields. Read carefully all comments ...
At this point yourservice would looklike this:
Adding your service to a web pageAt this point your service is ready to use and it is activated inall countries you have c...
On this section you will see 2 different ways to use your service, withPop-up and Post. For this example we will use Pop-u...
Trying your serviceBy clicking your servicebutton you will now seeyour service working
Testing your serviceGo to My services and change the status of your servicefrom Testing
Now press the small red arrow, choosedemo using post or popup mode.Payment screen will display now in testmode (Blue tube ...
Receive automatic paymentsPayGol makes payments easier with our automatic system. PayGolgenerates an IPN (Instant Payment ...
First thing you need to do is to upload a file (e.g.:paygol.php) to yourserver. Then edit your service and fill the full p...
<?phpPaste this piece of code     // check that the request comes from PayGol server                             if(!in_ar...
You can start enjoying our services right now!No starting and No monthly fees!● To start right now http://www.paygol.com/r...
Upcoming SlideShare
Loading in …5
×

Paygol creating your first service

11,621 views

Published on

You will learn how to create a simple service, this service will allow you to start charging users by mobile payments in just a few minutes.

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

  • Be the first to like this

No Downloads
Views
Total views
11,621
On SlideShare
0
From Embeds
0
Number of Embeds
9,950
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • hi all
  • Paygol creating your first service

    1. 1. Creating your first serviceYou will learn how to: ● create a simple service ● add your service to a web page ● test your service ● receive automatic payments
    2. 2. IntroductionYou will learn how to create a simple service, thisservice will allow you to start charging users bymobile payments in just a few minutes.If you still dont have a PayGol account please startby creating one from this link www.paygol.com/register
    3. 3. Starting ● To start creating your new service click on New Service and fill all the fields. Read carefully all comments you will see on every field. ● Select as much countries as you want for this service, all countries will be automatically activated in just a few seconds. ● You can select one of our buttons or you can add one of yours later on.
    4. 4. At this point yourservice would looklike this:
    5. 5. Adding your service to a web pageAt this point your service is ready to use and it is activated inall countries you have chosen.So now lets add your service to a simple HTML page:Go to My Account->My Services and click on the tool iconor on the See general implementation button
    6. 6. On this section you will see 2 different ways to use your service, withPop-up and Post. For this example we will use Pop-up. Copy all thecode into a HTML page.... test.html for example.
    7. 7. Trying your serviceBy clicking your servicebutton you will now seeyour service working
    8. 8. Testing your serviceGo to My services and change the status of your servicefrom Testing
    9. 9. Now press the small red arrow, choosedemo using post or popup mode.Payment screen will display now in testmode (Blue tube indicates test mode)Notice the name of the payment screen isthe one you entered when you created theservice.We used Test Service as our service name.Test Service £1.00, instruction states: SendGOL 813725 to phone number 88080You are supposed to send this and receive apin code , you dont need to do this in testmode.Your test pin code will be 123456, you mustenter this pin on the field and press OKWait for valid confirmation, after this you willbe redirected to your designated SuccessURL. When you are sure everything is working as you want then go back to your service and set it as Enabled.
    10. 10. Receive automatic paymentsPayGol makes payments easier with our automatic system. PayGolgenerates an IPN (Instant Payment Notification) message whenyour customer make a payment.You can use this notification to kick-off order fulfillment, enabledigital media downloads, store information in a customerrelationship management (CRM) or accounting system, and so on.Setting your service to accept automatic payments will save you alot of time, you dont need to worry about any manual work.
    11. 11. First thing you need to do is to upload a file (e.g.:paygol.php) to yourserver. Then edit your service and fill the full path to that file on thesecion URL Background (e.g.: http://www.mydomain.com/paygol.php)PayGol will call this URL every time a payment has been processed,sending you all the parameters you need to do whatever you want onyour side.Go to next page to see how to do it...
    12. 12. <?phpPaste this piece of code // check that the request comes from PayGol server if(!in_array($_SERVER[REMOTE_ADDR],into your paygol.php file, array(109.70.3.48, 109.70.3.146, 109.70.3.58))) { header("HTTP/1.0 403 Forbidden");this code will get all the die("Error: Unknown IP"); }parameters every time youreceive a payment. // get the variables from PayGol system $message_id = $_GET[message_id]; $shortcode = $_GET[shortcode]; $keyword = $_GET[keyword];To read more about this $message = $_GET[message]; $sender = $_GET[sender];click here $operator = $_GET[operator]; $country = $_GET[country]; $custom = $_GET[custom]; $price = $_GET[price]; $currency = $_GET[currency]; // Here you can do whatever you want with the variables, for instance inserting or updating data into your Database ?>
    13. 13. You can start enjoying our services right now!No starting and No monthly fees!● To start right now http://www.paygol.com/register● Coverage and payouts http://www.paygol.com/coverage● For developers http://www.paygol.com/developers

    ×