File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,7 @@ protected function callbackAbuseCheckList(): void
196196 {
197197 if (!(
198198 $ this ->getGatewayOrderIdFromCallBackParameters () === (string )$ this ->getTransaction ()->gateway_order_id
199+ && (int )$ this ->getTransaction ()->getFromJsonb (key: 'amount ' , fieldName: 'gateway_callback_params ' ) === $ this ->getTransaction ()->getPayableAmount ()
199200 && (string )$ this ->getTransaction ()->getFromJsonb (key: 'refID ' , fieldName: 'gateway_callback_params ' ) === $ this ->getTransaction ()->getGatewayToken ()
200201 )) {
201202 throw new Exception ('shaparak::shaparak.could_not_pass_abuse_checklist ' );
Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ protected function callbackAbuseCheckList(): void
9797 {
9898 if (!(
9999 (string )$ this ->getTransaction ()->gateway_order_id === $ this ->getGatewayOrderIdFromCallBackParameters ()
100+ && (int )$ this ->getParameters ('FinalAmount ' ) === $ this ->getTransaction ()->getPayableAmount ()
100101 && (string )$ this ->getParameters ('refID ' ) === $ this ->getTransaction ()->getGatewayToken ()
101102 )) {
102103 throw new Exception ('shaparak::shaparak.could_not_pass_abuse_checklist ' );
You can’t perform that action at this time.
0 commit comments