Jump to content

Tikweb

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Dhaka
  • Interests
    PHP

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Tikweb's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. We are using QuickPay in our blesta site, We can pay through QuickPay but blesta not getting any response or it could not update package status. When we hard coded status as approved, Then its work fine, The problem is $get and $post array is empty of validate method. public function validate(array $get, array $post) { // validate inputs for settings page / processing etc // Return the payment information file_put_contents('valget.txt',print_r($get,true)); file_put_contents('valpost.txt',print_r($post,true)); $status = 'approved'; return array( 'client_id' => 30, 'amount' => 1000, 'currency' => "USD", 'invoices' => 22, 'status' => 'approved', 'transaction_id' => "11223355" );
  2. Thank you AllToolKits.com, I have got a big solution from your code. Blesta doesn't give package id in Invoice. i go to service class then get package id.
  3. I wish to add a button on Packages edit page, and a model class who will be responsible for this.
  4. I want to send a request to our other system trough API when a package has been successfully created.
  5. Hi, Is it possible to add a custom button in package update page also a class who will be do a action when the button is clicked. Thank You
  6. Hi, Is it possible to add event when package crated successfully or how can i add a custom event on package create? Blesta doesn't provide any event for package create https://docs.blesta.com/display/dev/Event+Handlers Thank You
  7. Can you help me what will be the correct line(that is line number 6 in my complete source code below), if i would like to show the all invoice data throughout the api, $response = $api->get("invoices", "get", array('user_id' => 1)); This is my complete source code below, require_once "blesta_api.php"; $user = "api_user"; $key = "api_key"; $url = "http://dev.cloudnordicadmin.com.tikweb.dk/api/"; $api = new BlestaApi($url, $user, $key); $response = $api->get("invoices", "get", array('user_id' => 1)); print_r($response->response()); print_r($response->errors());
  8. I have already installed blesta in my web server And this the link for my demo site http://dev.cloudnordicadmin.com.tikweb.dk/ I have already created the package in admin panel ....... so now how can i show that package in the template that why end user can see the package plan that I will provided?
×
×
  • Create New...