Jump to content

Payment process incomplete


Tikweb

Recommended Posts

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"
        );

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...