hellosign / hellosign-php-sdk

A PHP SDK for HelloSign's API
MIT License
85 stars 38 forks source link

Add callback handling guide to README #16

Open cmpaul opened 9 years ago

cmpaul commented 9 years ago

We don't have any guidance on this, let's add a section to the README.

desmondw commented 8 years ago

Closing this because we have documentation regarding the handling of callbacks in our API docs and link to them in the README. https://www.hellosign.com/api/reference#Callbacks

BHSPitMonkey commented 8 years ago

I'm willing to leave this open, since there's more we can do here. Currently the only PHP example on the walkthrough is computing the hash, which is just one piece of the puzzle.

garnold commented 8 years ago

@BHSPitMonkey Also note that the PHP example you referenced could be simplified when using the SDK:

$event = new HelloSign\Event(json_decode($_POST['json']))
if (!is_null($event) && $event->isValid($apiKey)) {
    // do something useful
}
josiahmann commented 6 years ago

I'm just finishing my integration and I'll agree that documentation for this is lacking compared to the other existing documentation. Thanks for the comments though @garnold , that helped me clarify my setup.