Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/15/2015 in all areas

  1. A note as many people asked about it, the release of DNS Manager plugin is going to be next week.
    4 points
  2. You can take a look at other non merchant gateways included with Blesta for working examples of this functionality. However, here is a basic example: Instantiate the Http object so you may POST to the gateway POST to the gateway Handle the response e.g. something like the following: public function validate(array $get, array $post) { // Instantiate the Http object if (!isset($this->Http)) { Loader::loadComponents($this, array("Net"); $this->Http = $this->Net->create("Http"); } // Log the response we received initially $url = "https://domain.com/"; $this->log($url, serialize($post), "output", true); // Log that we are about to make a request $post_data = array(/* set any data to pass along */); $this->log($url, serialize($post_data), "input", true); // Post to the gateway $response = $this->Http->post($url, http_build_query($post_data)); // Log the response from the gateway $this->log($url, serialize($response), "output", true); // Handle the response if ($response == "success") // do something else // do something else return array( // ... set return key/value pairs ); }
    2 points
  3. gunnston

    Email Piping Help

    Hey Mike, Turns out your were right. It was /user/local/bin/php -c There was another line they had me add: /home/username/php.ini the other two lines were the same (the "pipe.php" and the "index/1/") Not sure if every hosting is like this but I hope it can help someone. My hosting support was great for me. Took a while, but got it done.
    1 point
  4. Most FTP programs can upload the files in ASCII or Binary depending on the file extension, automatically. In FileZilla's Settings under Transfers > File Types the Default transfer type: should be "Auto" (Other options are ASCII and Binary). Below is a list of filetypes that are treated as ASCII. Make sure "php" is listed. Then, just upload in Auto mode, and Filezilla should sort it out for you.
    1 point
  5. gunnston

    Email Piping Help

    Hey Mike, Thanks for the heads up. I ended up going to my hosting support for some of the help. The path is definitely the root of the problem. They've changed it to what you had. It's still not working but they're working on it. Thanks for the heads up. I'll post the results just in case anyone else is having the same problem.
    1 point
  6. Is your cron job using /usr/bin/local/php ?
    1 point
  7. Michael

    Email Piping Help

    In that advanced are you using /usr/local/bin/php instead of /usr/bin/php? cPanel uses the local bit. Also is pipe.php got the hashbang and chmod'd 777. I've noticed when helping a customer that cPanel is playing up in their latest version and doesn't hashbang it. #!/usr/local/bin/php before the <?php
    1 point
  8. Michael

    Opensrs / Tucows

    Blesta doesn't have a official one yet, but a member has made one it's in Alpha though: http://www.blesta.com/forums/index.php?/topic/3344-opensrs-alpha-101-relesed/#entry24527
    1 point
×
×
  • Create New...