Jump to content

Recommended Posts

Posted

Καλησπέρα!

Έχοντας ήδη ολοκληρώσει τo back-end για project που αφορά αυτοματικοποίημένες πληρωμές με χρήση κρυπτονομισμάτων, αναζητείτε συνεργάτης για να αναλάβει την ανάπτυξη και υποστήριξη ιστοσελίδας (web developer), ώστε να ολοκληρώθει η πρώτη φάση (project launch) του εγχειρήματος.

Η τρέχουσα ιστοσελίδα είναι https://fiskpay.net

Θα χαρώ να απαντήσω σε διευκρινήσεις!

Posted

επειδή έχω ασχοληθεί πολύ με τα IPN θα σου πρότεινα να ασχοληθείς περισσότερο με την πιστοποίηση και την ασφάλεια γιατί λείπουν πολλά απο τη PHP σύνδεση που κάνει ο συνδρομητής σου

μιλάω για αυτό: https://files.fiskpay.net/dependency/fiskpay-dependency.zip

<?php

/*
 * @package    fiskpay.ipn
 *
 * @copyright  (C) FiskPay https://fiskpay.net/
 * @license    GNU General Public License version 2 or later;
 */
 
//Add tor wallet address in the $wallet parameter. Example:
//
//$wallet = "0x1BedAb21aB78D16a4EDAf6eBbb746ccfEA5e7ad0";

$wallet = "0x1bedab21ab78d16a4edaf6ebbb746ccfea5e7ad0";

$data = json_decode(file_get_contents('php://input'), true);
if($data)
{
	$claimed = false;
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, 'https://api.fiskpay.net/claim/');
	curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(array('k' => $data['0'], 'w' => $wallet)));
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($ch, CURLOPT_POST, true);
	$json_data = curl_exec($ch);
	curl_close($ch);
	if($json_data)
	{
		$claim_data = json_decode(preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $json_data));
		if($claim_data != null && $claim_data -> claim)
		{
			$claimed = true;
		}
	}
	if($claimed)
	{
		//Variables feched from the post form during client payment
		$variable_1 = $data['1'];
		$variable_2 = $data['2'];
		$variable_3 = $data['3'];
		$variable_4 = $data['4'];
		$crypto_currency = $data['5'];
		$crypto_amount = $data['6'];
		$fiat_currency = $data['7'];
		$fiat_amount = $data['8'];
		$transaction_hash = $data['9'];
		$transaction_chain_id = $data['10'];
			
		/*--------------------------------------------------*/
		/*													*/
		/*													*/
		/*													*/
		/*             remove these commends and            */
		/*                add your code here!               */
		/*													*/
		/*													*/
		/*													*/
		/*--------------------------------------------------*/
	}
}

?>

επίσης καλό είναι να δώσεις και ένα sandbox με ελεύθερη χρήση και να στήσεις ένα github project για τον composer θα κερδίσεις πολύ γρηγορότερα κόσμο αν όλα γίνονται εύκολα και υπάρχει wiki για το Rest API με documentation για τους developers, επίσης θα ήταν καλό να μην σταθείς μόνο στην PHP αλλά να το δώσεις για περισσότερες γλώσσες.

Y.γ: https://app.fiskpay.net/ αυτό δεν φαίνεται πολύ καλά, γεμάτο nulls είναι

Posted (edited)

Καλησπέρα!

Ευχαριστώ για το χρόνο που αφιέρωσες, στο να απαντήσεις στο πόστ.

Η πιστοποίηση γίνετε ως εξής: έχω επιβεβαιώσει ότι έγινε μία πληρωμή μέσω blockchain και "κρατάω" την επιβεβαίωση σε μία βάση δεδομένων.

 

Απο τον σέρβερ (μου) στέλνω μία ειδοποίηση στον πελάτη και του ζητάω να μου στείλει κάποια στοιχεία τα οποία εξακριβώνονται στο blockchain και στη βάση. Αν όλα είναι οκ απαντάω στον πελάτη "προχώρα".

 

Όσο αφορά την τοποθέτησή σου, ότι λείπουν πολλά από την php σύνδεση, μπορείς να κάνεις κάποια επισήμανση;

Το sandbox υπάρχει ήδη αφού οι πληρωμές λειτουργούν και στο mainnet και στο testnet,

Τα null παρουσιάζονται επειδή δεν έχεις συνδεθεί στη σελίδα με κάποιο web3 πορτοφόλι ή/και είσαι σε λάθος Network (blockchain)

Οι περιγραφές στο πώς ακριβώς πιστοποιούνται οι συναλλαγές είναι σκοπήμως ανακριβής - κακές καθώς θα ήταν κάπως χαζό να περιγράψω ακριβώς πως λειτουργεί. Επίσης αν όντως περιέγραφα επακριβώς πως γίνετε η πιστοποίηση θα έπρεπε να γράψω "έκθεση".

Αν θέλεις μπορούμε να κουβεντίασουμε μέσω discord, στην περίπτωση που θα ήθελες να συμμετέχεις στην υλοποίηση του Project.

Και πάλι ευχαριστώ για το χρόνο σου

 

Edited by ScRaB4ever
Posted (edited)

https://dev.twitch.tv/docs/api/get-started

είναι το καλύτερο παράδειγμα που μπορώ να σου δώσω

Authorization Tokens
Client Id
Client secret

Η καλύτερη πιστοποίηση μέσω των κεφαλίδων (headers) χωρίς να φορτώνεις body (εξοικονόμηση πόρων) και δίνεις πρόσβαση σε συγκεκριμένους τομείς με json απαντήσεις αφού γίνει η πιστοποίηση, μετά από αυτό έρχεται η ζωή των tokens και η ανανέωσή τους.

 

και το documentation για τους developers ένα παράδειγμα: https://dev.twitch.tv/docs/api/reference#get-game-analytics

 

αυτά.

 

Edited by Nightw0lf
Posted

σε έκανα add. Η πιστοποιηση γίνετε με "τυχαια" sha256 hashes τα οποία δεν αντιστοιχούν σε κάποιον χρήστη αλλά σε συναλαγές που έχουν επαληθευτεί στο blockchain και έχουν αποθηκευτεί στον σερβερ. τα hashes ειναι διαφορετικά από αυτά του blockchain.

Πρακτικά διαβάζω ποιός πληρώνει ποιόν στο blockchain, πηγαίνω στο ipn αυτού που πληρώθηκε, του λέω (με api) "έχω πιστοποιήσει ότι αυτός σε πλήρωσε" οπότε το ipn ΄κάνει αυτό π είναι να κάνει.

 

Posted
2 hours ago, BabayG said:

Ρε αφήστε τα αυτά και πείτε μας, θα ανέβουν τα μπουρδελικια?🤪

βάλε και εσύ ένα χεράκι είδες κώδικα; ζόρικα τα πράγματα:pepe-cool:

Posted
3 hours ago, BabayG said:

Ρε αφήστε τα αυτά και πείτε μας, θα ανέβουν τα μπουρδελικια?🤪

κααααααααποια στιγμη θα ανεβουν:P

Posted (edited)
8 hours ago, Nightw0lf said:

βάλε και εσύ ένα χεράκι είδες κώδικα; ζόρικα τα πράγματα:pepe-cool:

Μόλις δω κώδικα λακίζω. Κλειν σε λίγο θα τα κάνουν όλα τα μποτάκια 

 

7 hours ago, ScRaB4ever said:

κααααααααποια στιγμη θα ανεβουν:P

Αμήν

Edited by BabayG
  • Haha 2
  • Vision locked this topic
Guest
This topic is now closed to further replies.


  • Posts

    • So few things for this guy:   He asked me to implement a code like EXP, SP, DROP runes in his server that did not work and he paid 27 Euro via Revolut.  He has no idea what compile, source is and he work with ubuntu.  I entered to his PC and using eclipse i add the code and compile as usually, i ask him to replace the jar with the new jar. He did not know how so i did it my self. Later on the ubuntu which im not familiar with could not continue and did not throw any error. I did not know what was happening until i asked Nightwolf who is experienced with Ubuntu and told me probably some error and can't continue. I was surprized since i only added few lines not edit or changed anything so i knew that the Login, Gameserver from source had mismatch with the compiled one. Later on i fix an error he had in raidboss_spawnlist where Long value tried to store inside Int value and explained him:   https://postimg.cc/F1zxMfDW   later on i explained him that source and compiled that he had had many issues and it was not my problem and he said that my code destroyed all his compiled.    In this point i ask @flatronnto post source or compile with my code inside to check the code i made and how he claim it destroyed his source. If he post then all can see what i added and it did not affect the source in an way other than edit the addExperience method - drop method and L2ItemInstance class. If he deny then all his trash talk is fake.   Then i tried contact him to resolve the issue even tho is not my problem, he paid for the code, i did the code, i was done but he ignored me:   https://postimg.cc/ts4RkjXt   I stopped after he claimed i destroyed intentionally his server, that i enter to other's PC to hack / destroy their compiles and when he said he will false advertise my server.    If @Nightw0lf can post he can also verify this guy is mentally ill not only he don't know compile, server, source, java differences but he also claim fake things that any other person with much money and good knowledge and patience could sue him online. He can't even open a proper report topic, he post in L2 OFF section.    In addition this guy offenses rudeness and treats is on another level, we had appointment at 18:00 GR time i was waiting for him 25 min and then i left PC for a bit, he showed up after 30 minutes and he said you're not here ill false advertisent you e.t.c.    https://postimg.cc/pmKNKcjV   He is mentally unstable and nobody should trade with this person. @Celestine Anyone can request LOG from my discord to see all conversation if he want. I have nothing to hide i worked for the money he paid and i did my job perfectly. I have 4-5 clients a week in last year and nobody had issues. Read the answer i just posted and you see who is right and who is wrong.
    • dsgl2 Pm me on discord i will try to help you to talk with winter , but again deal only with him or they will scam you 
    • I have what you're looking for already made, if you want, contact me. Greetings.
    • What webhosting are you using? You'll need to talk with administrators of the webhosting to open outgoing connections to port 1433, maybe they won't open it for you, instead, you should get a webhosting for mu online since they always have 1433 port open for outgoing connections. Also, make sure you have your 1433 TCP port open for incoming connections, for security, I suggest you exclusively add the cPanel IP Address to connect to your port 1433 in your firewall, so no one else can try to connect to your database. Let me know if you have any questions, happy to help.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock