Tikweb Posted March 30, 2017 Report Posted March 30, 2017 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" );
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now