File tree 2 files changed +2
-0
lines changed
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
196
196
{
197
197
if (!(
198
198
$ this ->getGatewayOrderIdFromCallBackParameters () === (string )$ this ->getTransaction ()->gateway_order_id
199
+ && (int )$ this ->getTransaction ()->getFromJsonb (key: 'amount ' , fieldName: 'gateway_callback_params ' ) === $ this ->getTransaction ()->getPayableAmount ()
199
200
&& (string )$ this ->getTransaction ()->getFromJsonb (key: 'refID ' , fieldName: 'gateway_callback_params ' ) === $ this ->getTransaction ()->getGatewayToken ()
200
201
)) {
201
202
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
97
97
{
98
98
if (!(
99
99
(string )$ this ->getTransaction ()->gateway_order_id === $ this ->getGatewayOrderIdFromCallBackParameters ()
100
+ && (int )$ this ->getParameters ('FinalAmount ' ) === $ this ->getTransaction ()->getPayableAmount ()
100
101
&& (string )$ this ->getParameters ('refID ' ) === $ this ->getTransaction ()->getGatewayToken ()
101
102
)) {
102
103
throw new Exception ('shaparak::shaparak.could_not_pass_abuse_checklist ' );
You can’t perform that action at this time.
0 commit comments