Important Message: As there was an issue with posting it before as I timed out, I requested to remove both threads so I can re-post it correctly.
This is the correct thread.
Thank you.
Hello, this is an update thread of this this thread
First of all, thanks for stopping by to this thread.
I have had some people requestig to make a new thread with the updated version.
Just to make clear you will need to have the contents out of the LIB directory from here.
place the lib directory with all it's contents on a location on your server.
as this update is here, it's a lot eassier to handle the pingback.
This is a almost straight copy paste from the API!:
Spoiler (Click to View)
Let's go to the actual POINTS part now.
Assuming you have a table called users with a row called points which has it's datatype set to one of the int (int/bigint) prefered
it would be easy.
under:
you add:
Spoiler (Click to View)
under:
you add:
Spoiler (Click to View)
for taking it away it's the same but then instead of (points + :points) we do (points - :points)
so to take away the points
do the following:
under:
you add:
Spoiler (Click to View)
last but not least.
under:
You add:
Spoiler (Click to View)
Now test the pingback and see if it works 👍
if it works, submit your project for a review and let it be accepted.
once you have it accepted you can sell your virtual currency 🤗🤝
Please note:
I have written this without testing, I am sure the sql query will work but not if the Paymentwall api [I assume it does as it's their api]
If it works, I hope you can confirm this :-)
If you have questions, feel free to ask them.
If you have suggestions, feel free to post them.
I hope you will have a nice day AND have fun with all of this 👍
Yours,
Mike M. 🤝🎉🤝
This is the correct thread.
Thank you.
.:PART OF THIS SOURCE IS FINDABLE IN THE API OF PAYMENTWALL.COM!:.
Hello, this is an update thread of this this thread
First of all, thanks for stopping by to this thread.
I have had some people requestig to make a new thread with the updated version.
Just to make clear you will need to have the contents out of the LIB directory from here.
place the lib directory with all it's contents on a location on your server.
as this update is here, it's a lot eassier to handle the pingback.
This is a almost straight copy paste from the API!:
Spoiler (Click to View)
Let's go to the actual POINTS part now.
Assuming you have a table called users with a row called points which has it's datatype set to one of the int (int/bigint) prefered
it would be easy.
under:
PHP Code
<?php
// write your db connection part here
you add:
Spoiler (Click to View)
under:
PHP Code
<?php
// deliver the virtual currency
you add:
Spoiler (Click to View)
for taking it away it's the same but then instead of (points + :points) we do (points - :points)
so to take away the points
do the following:
under:
PHP Code
<?php
// withdraw the virtual currency
you add:
Spoiler (Click to View)
last but not least.
under:
PHP Code
<?php
// close db connection
You add:
Spoiler (Click to View)
Now test the pingback and see if it works 👍
if it works, submit your project for a review and let it be accepted.
once you have it accepted you can sell your virtual currency 🤗🤝
Please note:
I have written this without testing, I am sure the sql query will work but not if the Paymentwall api [I assume it does as it's their api]
If it works, I hope you can confirm this :-)
If you have questions, feel free to ask them.
If you have suggestions, feel free to post them.
I hope you will have a nice day AND have fun with all of this 👍
Yours,
Mike M. 🤝🎉🤝


![[Image: qjS1BLB.png]](https://i.imgur.com/qjS1BLB.png)