Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model/BasicPaymentErrors : is_not_possible_data #6

Closed
shilpapatel-bcs opened this issue Mar 27, 2019 · 1 comment
Closed

Model/BasicPaymentErrors : is_not_possible_data #6

shilpapatel-bcs opened this issue Mar 27, 2019 · 1 comment

Comments

@shilpapatel-bcs
Copy link

shilpapatel-bcs commented Mar 27, 2019

Model/BasicPaymentErrors : is_not_possible_data

function is
private function is_not_possible_data($request){
if(!(
isset($request['click_trans_id']) &&
isset($request['service_id']) &&
isset($request['merchant_trans_id']) &&
isset($request['merchant_prepare_id']) &&
isset($request['amount']) &&
isset($request['action']) &&
isset($request['error']) &&
isset($request['error_note']) &&
isset($request['sign_time']) &&
isset($request['sign_string']) &&
isset($request['click_paydoc_id'])
) || ((int)$request['action'] > 0 && !isset($request['merchant_prepare_id']))){
return true;
}
return false;
}
I think we dont need ' isset($request['merchant_prepare_id']) && ' condition here, as I already had problem with it

@tensor2flow
Copy link
Contributor

I fixed this bug

@tensor2flow tensor2flow pinned this issue Jun 1, 2019
@tensor2flow tensor2flow unpinned this issue Jun 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants